summaryrefslogtreecommitdiff
path: root/dev-libs
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2022-04-08 11:11:43 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2022-04-08 11:11:43 +0200
commitbc986ff329c7dbd2fd9a7828002f0c26f0635a6c (patch)
treea7a522bc89329a0acb7ebc3da3126a6daa11b6f8 /dev-libs
parente7cb4a1a4eb74833ea605108160f8745e0471d6a (diff)
downloadkde-bc986ff329c7dbd2fd9a7828002f0c26f0635a6c.tar.gz
kde-bc986ff329c7dbd2fd9a7828002f0c26f0635a6c.tar.bz2
kde-bc986ff329c7dbd2fd9a7828002f0c26f0635a6c.zip
dev-libs/kopeninghours: 22.03.90 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/kopeninghours/Manifest1
-rw-r--r--dev-libs/kopeninghours/kopeninghours-22.03.90.ebuild65
2 files changed, 66 insertions, 0 deletions
diff --git a/dev-libs/kopeninghours/Manifest b/dev-libs/kopeninghours/Manifest
index f1f30d06068..c394ed7aaa6 100644
--- a/dev-libs/kopeninghours/Manifest
+++ b/dev-libs/kopeninghours/Manifest
@@ -1 +1,2 @@
DIST kopeninghours-22.03.80.tar.xz 69004 BLAKE2B 0ab47416f2e50ed3ed7e8ddb716a4b485095af1a1a869b565aaba0664955b6e4aa767f0163489602b8a7abc67a7488d529b37a9031aafdca00f1b3c228830acf SHA512 7d06989ddae812abd9972efed436b041ae6955ab359143ebb76944f951d538267d74ce25670bdf90f70539b8370ee0c19639ce457851827e43f8c6d99677c4ae
+DIST kopeninghours-22.03.90.tar.xz 69028 BLAKE2B f1463c19c67ff378d3535b26da7ac08bff8db80060b8e5e396fe32d289ec0ea1d6aef1e65230fdcfcf402aca8a25643c25f99799b453ead09b0fe3f4e20f71fa SHA512 a8f92476e04715bd46ad69095e848f740b4b353e4bdc90221dab3bfb65a129e58b89899094328a5a490b82b55d0abe88d9f1dccc0e73ad250c7f26c5a7c5c7bf
diff --git a/dev-libs/kopeninghours/kopeninghours-22.03.90.ebuild b/dev-libs/kopeninghours/kopeninghours-22.03.90.ebuild
new file mode 100644
index 00000000000..d773a36bdba
--- /dev/null
+++ b/dev-libs/kopeninghours/kopeninghours-22.03.90.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_QTHELP="true"
+ECM_TEST="true"
+KDE_GEAR="true"
+PVCUT=$(ver_cut 1-3)
+KFMIN=5.92.0
+QTMIN=5.15.2
+PYTHON_COMPAT=( python3_{8..10} )
+inherit ecm kde.org python-single-r1
+
+DESCRIPTION="Library for parsing and evaluating OSM opening hours expressions"
+HOMEPAGE="https://api.kde.org/kopeninghours/html/index.html
+https://invent.kde.org/libraries/kopeninghours"
+
+LICENSE="LGPL-2+"
+SLOT="5"
+KEYWORDS="~amd64"
+IUSE="python"
+
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+DEPEND="
+ >=dev-libs/kpublictransport-${PVCUT}:5
+ >=dev-qt/qtdeclarative-${QTMIN}:5
+ >=kde-frameworks/kholidays-${KFMIN}:5
+ >=kde-frameworks/ki18n-${KFMIN}:5
+ sys-libs/zlib
+ python? (
+ $(python_gen_cond_dep '
+ >=dev-libs/boost-1.70:=[python,${PYTHON_USEDEP}]
+ ')
+ )
+"
+RDEPEND="${DEPEND}
+ ${PYTHON_DEPS}
+ >=dev-qt/qtquickcontrols2-${QTMIN}:5
+"
+BDEPEND="
+ sys-devel/bison
+ sys-devel/flex
+"
+
+PATCHES=( "${FILESDIR}"/${PN}-21.03.90-boostpython.patch )
+
+pkg_setup() {
+ ecm_pkg_setup
+ python_setup
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DBOOSTPYTHON_VERSION_MAJOR_MINOR=${EPYTHON}
+ $(cmake_use_find_package python Boost)
+ )
+ ecm_src_configure
+}
+
+src_install() {
+ ecm_src_install
+ python_optimize
+}