summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2024-10-29 21:45:36 +0000
committerJames Le Cuirot <chewi@gentoo.org>2024-10-29 21:45:36 +0000
commitba94c02c1b1d1a1d87b086a5ec2924cc9b7ae7c3 (patch)
treeee8e96e0ba1873f9ad449646a79c959154704d01 /dev-cpp
parentgui-apps/waybar: sync live (diff)
downloadgentoo-ba94c02c1b1d1a1d87b086a5ec2924cc9b7ae7c3.tar.gz
gentoo-ba94c02c1b1d1a1d87b086a5ec2924cc9b7ae7c3.tar.bz2
gentoo-ba94c02c1b1d1a1d87b086a5ec2924cc9b7ae7c3.zip
dev-cpp/sdbus-c++: Fix building docs and running tests
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'dev-cpp')
-rw-r--r--dev-cpp/sdbus-c++/sdbus-c++-2.0.0.ebuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/dev-cpp/sdbus-c++/sdbus-c++-2.0.0.ebuild b/dev-cpp/sdbus-c++/sdbus-c++-2.0.0.ebuild
index 3ad7269f044c..24a9ea5018f8 100644
--- a/dev-cpp/sdbus-c++/sdbus-c++-2.0.0.ebuild
+++ b/dev-cpp/sdbus-c++/sdbus-c++-2.0.0.ebuild
@@ -8,6 +8,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"
+S="${WORKDIR}/sdbus-cpp-${PV}"
+
LICENSE="LGPL-2.1+ Nokia-Qt-LGPL-Exception-1.1" # Nothing to do with Qt but exception text is exactly the same.
SLOT="0/2"
KEYWORDS="~amd64"
@@ -32,10 +34,9 @@ BDEPEND="
doc? ( app-text/doxygen[dot] )
"
-S="${WORKDIR}/sdbus-cpp-${PV}"
-
src_configure() {
local mycmakeargs=(
+ -DBUILD_DOXYGEN_DOC=$(usex doc)
-DSDBUSCPP_BUILD_CODEGEN=$(usex tools)
-DSDBUSCPP_BUILD_DOCS=yes
-DSDBUSCPP_BUILD_DOXYGEN_DOCS=$(usex doc)
@@ -60,7 +61,9 @@ src_test() {
return
fi
- cmake_src_test
+ # Can't use cmake_src_test with dbus-run-session. Don't bother with all the
+ # extra arguments because there's only two tests.
+ dbus-run-session ctest --test-dir "${BUILD_DIR}" || die
}
src_install() {