summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2023-02-02 10:38:06 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2023-02-02 12:00:10 +0100
commit18d7cef2c4187be71b923a5ce7e210fe0bcdf94f (patch)
treeb0f9705fe95ca01f79c5dca89987317abacac6a2 /dev-libs
parentapp-office/kalendar: 22.12.2 version bump (diff)
downloadgentoo-18d7cef2c4187be71b923a5ce7e210fe0bcdf94f.tar.gz
gentoo-18d7cef2c4187be71b923a5ce7e210fe0bcdf94f.tar.bz2
gentoo-18d7cef2c4187be71b923a5ce7e210fe0bcdf94f.zip
dev-libs/kopeninghours: 22.12.2 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.12.2.ebuild64
2 files changed, 65 insertions, 0 deletions
diff --git a/dev-libs/kopeninghours/Manifest b/dev-libs/kopeninghours/Manifest
index 55e5e4b2c023..b74d755d1943 100644
--- a/dev-libs/kopeninghours/Manifest
+++ b/dev-libs/kopeninghours/Manifest
@@ -1,2 +1,3 @@
DIST kopeninghours-22.08.3.tar.xz 70540 BLAKE2B 76ac44a67b29133e0b499f0f11808f61e6c05b820eaaa7d0ef2656d1340e17b7663df1d4474f0735880f448c1fc0b6ee41cb86f3366afe458697edec8e269bbb SHA512 1874e61716f2e02e0df6e34e8ff451541e2e34649426ca610a5d7947df8f42dea1dc3067fb07221150fcb6dd3d942727e3e3c135a8ec76ed16ff1acd2ceebf6b
DIST kopeninghours-22.12.1.tar.xz 71108 BLAKE2B a7cadeacb56e58ec5412df900ddc701f49105b0f88e1d6c1ee2a13922899375561e8a7f15ff809cca9fbc3a422843372b2b7653b73ae97406c6a78b3e7cd5940 SHA512 6c7769611bf5a745902f45d3af1d236205e21338c5be8936eb9d2e2ee1de67a7231c45b3c5568b63437d22eab32e91e7f36a2b63898baae984ae3f2712cca28d
+DIST kopeninghours-22.12.2.tar.xz 71028 BLAKE2B 6d87255f1a6ee405b79badad41a265bb72c5887ca325ac3a0a372a845fce3ff45cbd3fda94c49fef704e90458fbfe84e41c9cc6d37891274ce4dbd561100e71a SHA512 ca4d074d1448789f7c811463f6b567e175e2415472a22928dd3e16796a487b8704cadaa2f8ebd50956a289cc8519afd76057a874fb7c76504840070e7cb18aa7
diff --git a/dev-libs/kopeninghours/kopeninghours-22.12.2.ebuild b/dev-libs/kopeninghours/kopeninghours-22.12.2.ebuild
new file mode 100644
index 000000000000..8e74e82a43d5
--- /dev/null
+++ b/dev-libs/kopeninghours/kopeninghours-22.12.2.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2023 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.101.0
+QTMIN=5.15.5
+PYTHON_COMPAT=( python3_{9..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-1.70:=[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
+}