summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2022-10-13 13:45:42 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2022-10-13 15:13:05 +0200
commit4b3b3f2a77f932be43092b6c7645230975cde3f8 (patch)
tree5c17f326c08e60649edd1186156c3c54ca87d906
parentapp-office/kalendar: 22.08.2 version bump (diff)
downloadgentoo-4b3b3f2a77f932be43092b6c7645230975cde3f8.tar.gz
gentoo-4b3b3f2a77f932be43092b6c7645230975cde3f8.tar.bz2
gentoo-4b3b3f2a77f932be43092b6c7645230975cde3f8.zip
dev-libs/kopeninghours: 22.08.2 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
-rw-r--r--dev-libs/kopeninghours/Manifest1
-rw-r--r--dev-libs/kopeninghours/kopeninghours-22.08.2.ebuild64
2 files changed, 65 insertions, 0 deletions
diff --git a/dev-libs/kopeninghours/Manifest b/dev-libs/kopeninghours/Manifest
index 89fc74ed6f75..e9fd4c30f8ad 100644
--- a/dev-libs/kopeninghours/Manifest
+++ b/dev-libs/kopeninghours/Manifest
@@ -1,2 +1,3 @@
DIST kopeninghours-22.04.3.tar.xz 69160 BLAKE2B 8875d1ee869c6cae8730e83ff8144e45a6ab24aff02ec85084022ab30f9274a2f7c5bd4e0bf88f27c3626ee580a6fac9e2446fa711823011b305ba9bdf1d88c9 SHA512 68e49cd35db2f381cfd88787ed2085e69c6485de87c2cd5783675784cb169d274115d9bc36cde6ed447d6cff6922278330ac1aa819a0d996f2a5b861f6f1bf7e
DIST kopeninghours-22.08.1.tar.xz 70136 BLAKE2B 331228455ef21a2995e6258b397e34272bee81f78f80b3140e9f5a917971dbba0156fa5562777dd99c9adc8337d781de005958e282eb06af0040a97e9f5fd9c1 SHA512 839333b2cb1a730be9a2a75a73fe93a6098d7d48151a72f683e6e2dc2bb01ce5001d0ae611a7a4c45751c01a0755043ff7f7b4639cb53c146947c706fc58ca2e
+DIST kopeninghours-22.08.2.tar.xz 70580 BLAKE2B c0e4c8c6b7d48655871be61ddc25a0f98661e82da73ac94639fdcba3a9231e4c2fda1b01bacde718b4f2fc0c5e4e4c8ac517f74724d850623e1c33412f32509c SHA512 d472d1ee6836c3779ace252745e116a448c2c2075e671e47e881f5bcd9d4df98e763ab88b26d7b1935873c6d32f9a053d35dd32dd77225444de47600bf11fd3f
diff --git a/dev-libs/kopeninghours/kopeninghours-22.08.2.ebuild b/dev-libs/kopeninghours/kopeninghours-22.08.2.ebuild
new file mode 100644
index 000000000000..2539c79b2a5e
--- /dev/null
+++ b/dev-libs/kopeninghours/kopeninghours-22.08.2.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_QTHELP="true"
+ECM_TEST="true"
+PVCUT=$(ver_cut 1-3)
+KFMIN=5.96.0
+QTMIN=5.15.5
+PYTHON_COMPAT=( python3_{8..11} )
+inherit ecm gear.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:=[python,${PYTHON_USEDEP}]
+ ')
+ )
+"
+RDEPEND="${DEPEND}
+ ${PYTHON_DEPS}
+ >=dev-qt/qtquickcontrols2-${QTMIN}:5
+"
+BDEPEND="
+ sys-devel/bison
+ sys-devel/flex
+"
+
+PATCHES=( "${FILESDIR}"/${PN}-22.04.0-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
+}