From 3205c125b1bfb2d2a9aa437d0d4aac7b9cd36ee0 Mon Sep 17 00:00:00 2001 From: Alexander Miroshnichenko Date: Sat, 4 Oct 2025 16:12:35 +0300 Subject: [PATCH] dev-cpp/gdbuspp: new package Signed-off-by: Alexander Miroshnichenko --- dev-cpp/gdbuspp/gdbuspp-3.ebuild | 52 ++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 dev-cpp/gdbuspp/gdbuspp-3.ebuild diff --git a/dev-cpp/gdbuspp/gdbuspp-3.ebuild b/dev-cpp/gdbuspp/gdbuspp-3.ebuild new file mode 100644 index 0000000..d1707cf --- /dev/null +++ b/dev-cpp/gdbuspp/gdbuspp-3.ebuild @@ -0,0 +1,52 @@ +# 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 +}