aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-02-25 21:35:46 +0000
committerSam James <sam@gentoo.org>2024-02-25 21:40:22 +0000
commitcf7a72bcac4f7e82fa7da01df0a9b6e20d419cd5 (patch)
tree081faa6ebc68eff7018a975335c21ec2bd4f3a89 /dev-libs
parentapp-office/merkuro: refresh deps (diff)
downloadkde-cf7a72bcac4f7e82fa7da01df0a9b6e20d419cd5.tar.gz
kde-cf7a72bcac4f7e82fa7da01df0a9b6e20d419cd5.tar.bz2
kde-cf7a72bcac4f7e82fa7da01df0a9b6e20d419cd5.zip
dev-libs/kosmindoormap: refresh deps
* kopeninghours is now required (upstream commit 640b59c04ef1b1419f6026140c91851dc4fe2edd) * Make GUI optional (upstream commit b65d4879be83085d1771c367dc756274e3e03f3c) * Wire up kservice (upstream commit 6091fb3afd20f1e086ebba7772d165fdd6ceb797 and upstream commit bb4ccc4d5b302bb97a7369fc27ab55a60aee7b13). Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/kosmindoormap/kosmindoormap-9999.ebuild19
1 files changed, 12 insertions, 7 deletions
diff --git a/dev-libs/kosmindoormap/kosmindoormap-9999.ebuild b/dev-libs/kosmindoormap/kosmindoormap-9999.ebuild
index 4a45936be6..f8533bb17b 100644
--- a/dev-libs/kosmindoormap/kosmindoormap-9999.ebuild
+++ b/dev-libs/kosmindoormap/kosmindoormap-9999.ebuild
@@ -15,16 +15,21 @@ HOMEPAGE="https://invent.kde.org/libraries/kosmindoormap"
LICENSE="LGPL-2+"
SLOT="6"
KEYWORDS=""
-IUSE="+openinghours"
+IUSE="+gui"
+# kservice is optional and only used to find and open josm
RDEPEND="
- >=dev-libs/kpublictransport-${PVCUT}:6
dev-libs/protobuf:=
- >=dev-qt/qtbase-${QTMIN}:6[gui,network]
- >=dev-qt/qtdeclarative-${QTMIN}:6
- >=kde-frameworks/ki18n-${KFMIN}:6
+ >=dev-qt/qtbase-${QTMIN}:6[gui?,network]
sys-libs/zlib
- openinghours? ( >=dev-libs/kopeninghours-${PVCUT}:6 )
+ gui? (
+ >=dev-libs/kopeninghours-${PVCUT}:6
+ >=dev-libs/kpublictransport-${PVCUT}:6
+ >=dev-qt/qtdeclarative-${QTMIN}:6
+ >=kde-frameworks/kcoreaddons-${KFMIN}:6
+ >=kde-frameworks/ki18n-${KFMIN}:6
+ >=kde-frameworks/kservice-${KFMIN}:6
+ )
"
DEPEND="${RDEPEND}
test? ( >=dev-qt/qtbase-${QTMIN}:6[widgets] )
@@ -36,8 +41,8 @@ BDEPEND="
src_configure() {
local mycmakeargs=(
+ -DBUILD_TOOLS_ONLY=$(usex !gui)
-DCMAKE_DISABLE_FIND_PACKAGE_OsmTools=ON # we have no use for it
- $(cmake_use_find_package openinghours KOpeningHours)
)
ecm_src_configure
}