# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 inherit meson DESCRIPTION="C++17 wrapper around GLib/GIO D-Bus APIs" HOMEPAGE="https://codeberg.org/OpenVPN/gdbuspp" SRC_URI="https://codeberg.org/OpenVPN/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="AGPL-3" SLOT="0/3" KEYWORDS="-* ~amd64" IUSE="test" RESTRICT="!test? ( test )" DEPEND=" dev-libs/glib:2 " RDEPEND="${DEPEND}" BDEPEND=" virtual/pkgconfig " S="${WORKDIR}/${PN}" src_configure() { local emesonargs=( -Ddoxygen=false -Dinstall_testprogs=false -Dlong_tests=false ) meson_src_configure } src_install() { meson_src_install rm "${ED}"/usr/$(get_libdir)/libgdbuspp.a || die mv "${ED}"/usr/share/doc/gdbuspp "${ED}"/usr/share/doc/${PF} || die }