gentoo-overlay/dev-cpp/gdbuspp/gdbuspp-3.ebuild
Alexander Miroshnichenko 3205c125b1
dev-cpp/gdbuspp: new package
Signed-off-by: Alexander Miroshnichenko <alex@millerson.name>
2025-10-04 16:12:35 +03:00

53 lines
1.1 KiB
Bash

# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit git-r3 meson
DESCRIPTION="GDBus++ - a glib2 D-Bus wrapper for C++"
HOMEPAGE="https://codeberg.org/OpenVPN/gdbuspp"
EGIT_REPO_URI="https://codeberg.org/OpenVPN/gdbuspp.git"
if [[ ${PV} != 9999 ]]; then
KEYWORDS="~amd64"
EGIT_COMMIT="v${PV}"
fi
# Source directory; the dir where the sources can be found (automatically
# unpacked) inside ${WORKDIR}. The default value for S is ${WORKDIR}/${P}
# If you don't need to change it, leave the S= line out of the ebuild
# to keep it tidy.
#S="${WORKDIR}/${P}"
LICENSE="AGPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
RDEPEND="dev-libs/glib:2"
# Build-time dependencies that need to be binary compatible with the system
# being built (CHOST). These include libraries that we link against.
# The below is valid if the same run-time depends are required to compile.
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
src_prepare() {
default
sed -i -e "s|doc/gdbuspp|doc/${PF}|" meson.build
}
src_configure() {
meson_src_configure
}
src_compile() {
meson_src_compile
}
src_install() {
meson_src_install
}