diff options
| author | Alfred Wingate <parona@protonmail.com> | 2024-01-19 14:43:40 +0200 |
|---|---|---|
| committer | James Le Cuirot <chewi@gentoo.org> | 2024-01-30 23:20:52 +0000 |
| commit | af4fdba984fe0b5fe9384fed31fcf87a40f7e539 (patch) | |
| tree | 44e773e5fb5397c76b6c454641c9a009ba87b55e /dev-cpp/sdbus-c++/sdbus-c++-1.4.0.ebuild | |
| parent | d1409e7f8b46917eb60b8641a8c4854de732b94a (diff) | |
| download | gentoo-af4fdba984fe0b5fe9384fed31fcf87a40f7e539.tar.gz gentoo-af4fdba984fe0b5fe9384fed31fcf87a40f7e539.tar.bz2 gentoo-af4fdba984fe0b5fe9384fed31fcf87a40f7e539.zip | |
dev-cpp/sdbus-c++: fix pkgconfig file
Closes: https://bugs.gentoo.org/922490
Bug: https://bugs.gentoo.org/917678
Signed-off-by: Alfred Wingate <parona@protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/34898
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'dev-cpp/sdbus-c++/sdbus-c++-1.4.0.ebuild')
| -rw-r--r-- | dev-cpp/sdbus-c++/sdbus-c++-1.4.0.ebuild | 78 |
1 files changed, 0 insertions, 78 deletions
diff --git a/dev-cpp/sdbus-c++/sdbus-c++-1.4.0.ebuild b/dev-cpp/sdbus-c++/sdbus-c++-1.4.0.ebuild deleted file mode 100644 index 1a1fadc23426..000000000000 --- a/dev-cpp/sdbus-c++/sdbus-c++-1.4.0.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit meson cmake - -DESCRIPTION="High-level C++ D-Bus library" -HOMEPAGE="https://github.com/Kistler-Group/sdbus-cpp" -SRC_URI="https://github.com/Kistler-Group/sdbus-cpp/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" -LICENSE="LGPL-2.1+ Nokia-Qt-LGPL-Exception-1.1" # Nothing to do with Qt but exception text is exactly the same. -SLOT="0/1" -KEYWORDS="~amd64" -IUSE="doc +elogind systemd test tools" -REQUIRED_USE="?? ( elogind systemd )" -RESTRICT="!test? ( test )" - -RDEPEND=" - elogind? ( >=sys-auth/elogind-236 ) - systemd? ( >=sys-apps/systemd-236:= ) - !elogind? ( !systemd? ( >=sys-libs/basu-0.2.1 ) ) - tools? ( dev-libs/expat ) -" - -DEPEND=" - ${RDEPEND} - test? ( >=dev-cpp/gtest-1.10.0 ) -" - -BDEPEND=" - virtual/pkgconfig - doc? ( app-text/doxygen[dot] ) -" - -S="${WORKDIR}/sdbus-cpp-${PV}" - -PATCHES=( - "${FILESDIR}"/${P}-gcc-14.patch -) - -src_configure() { - local mycmakeargs=( - -DBUILD_CODE_GEN=$(usex tools) - -DBUILD_DOC=yes - -DBUILD_DOXYGEN_DOC=$(usex doc) - -DBUILD_LIBSYSTEMD=no - -DBUILD_TESTS=$(usex test) - ) - cmake_src_configure -} - -src_compile() { - cmake_src_compile all $(usev doc) -} - -src_test() { - if ! cmp -s {"${S}"/tests/integrationtests/files,/etc/dbus-1/system.d}/org.sdbuscpp.integrationtests.conf; then - ewarn "Not running the tests as a D-Bus configuration file has not been" - ewarn "installed yet or has changed since. The tests can be run after" - ewarn "the package has been merged." - return - elif [[ ! -S /run/dbus/system_bus_socket ]]; then - ewarn "Not running the tests as the system-wide D-Bus daemon is unavailable." - return - fi - - cmake_src_test -} - -src_install() { - cmake_src_install - rm -v "${ED}"/usr/share/doc/${PF}/COPYING || die - - if use test; then - # Delete installed test binaries. - rm -rv "${ED}"/opt || die - fi -} |
