summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2021-07-29 21:43:58 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2021-07-29 21:48:07 +0200
commit8b761ac2feaa38fb8a47e958349064808b1e76cc (patch)
tree2d7867b6ab51b89b925f306c6cb1cf6d77d5c932 /dev-libs/kosmindoormap
parentnet-mail/fetchmail: 6.4.20 bump (diff)
downloadgentoo-8b761ac2feaa38fb8a47e958349064808b1e76cc.tar.gz
gentoo-8b761ac2feaa38fb8a47e958349064808b1e76cc.tar.bz2
gentoo-8b761ac2feaa38fb8a47e958349064808b1e76cc.zip
dev-libs/kosmindoormap: Add IUSE="+openinghours"
Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-libs/kosmindoormap')
-rw-r--r--dev-libs/kosmindoormap/kosmindoormap-21.04.3-r1.ebuild48
-rw-r--r--dev-libs/kosmindoormap/metadata.xml3
2 files changed, 51 insertions, 0 deletions
diff --git a/dev-libs/kosmindoormap/kosmindoormap-21.04.3-r1.ebuild b/dev-libs/kosmindoormap/kosmindoormap-21.04.3-r1.ebuild
new file mode 100644
index 000000000000..13fc1092d88c
--- /dev/null
+++ b/dev-libs/kosmindoormap/kosmindoormap-21.04.3-r1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+ECM_TEST="true"
+KDE_GEAR="true"
+PVCUT=$(ver_cut 1-3)
+KFMIN=5.80.0
+QTMIN=5.15.2
+inherit ecm kde.org
+
+DESCRIPTION="Data Model and Extraction System for Travel Reservation information"
+HOMEPAGE="https://invent.kde.org/libraries/kosmindoormap"
+
+LICENSE="LGPL-2+"
+SLOT="5"
+KEYWORDS="~amd64"
+IUSE="+openinghours"
+
+COMMON_DEPEND="
+ >=dev-libs/kpublictransport-${PVCUT}:5
+ dev-libs/protobuf:=
+ >=dev-qt/qtdeclarative-${QTMIN}:5
+ >=dev-qt/qtgui-${QTMIN}:5
+ >=dev-qt/qtnetwork-${QTMIN}:5
+ >=kde-frameworks/ki18n-${KFMIN}:5
+ sys-libs/zlib
+ openinghours? ( >=dev-libs/kopeninghours-${PVCUT}:5 )
+"
+DEPEND="${COMMON_DEPEND}
+ test? ( >=dev-qt/qtwidgets-${QTMIN}:5 )
+"
+RDEPEND="${COMMON_DEPEND}
+ >=dev-qt/qtquickcontrols2-${QTMIN}:5
+"
+BDEPEND="
+ sys-devel/bison
+ sys-devel/flex
+"
+
+src_configure() {
+ local mycmakeargs=(
+ -DCMAKE_DISABLE_FIND_PACKAGE_OsmTools=ON # we have no use for it
+ $(cmake_use_find_package openinghours KOpeningHours)
+ )
+ ecm_src_configure
+}
diff --git a/dev-libs/kosmindoormap/metadata.xml b/dev-libs/kosmindoormap/metadata.xml
index 2fdbf33d963d..b76209edbed4 100644
--- a/dev-libs/kosmindoormap/metadata.xml
+++ b/dev-libs/kosmindoormap/metadata.xml
@@ -5,4 +5,7 @@
<email>kde@gentoo.org</email>
<name>Gentoo KDE Project</name>
</maintainer>
+ <use>
+ <flag name="openinghours">Enable support for highlighting currently open amenities/shops/etc.</flag>
+ </use>
</pkgmetadata>