summaryrefslogtreecommitdiff
path: root/dev-libs
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2024-01-10 12:27:19 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2024-01-10 17:45:48 +0100
commitb64308f479d1a8eee0dc27ab9565d3c9659d4bc6 (patch)
tree270adcd63b8b8818c7e50d250d4f36d1114c2671 /dev-libs
parente2f759f3bbe3bd9dedbb03869942f3f386e13861 (diff)
downloadkde-b64308f479d1a8eee0dc27ab9565d3c9659d4bc6.tar.gz
kde-b64308f479d1a8eee0dc27ab9565d3c9659d4bc6.tar.bz2
kde-b64308f479d1a8eee0dc27ab9565d3c9659d4bc6.zip
dev-libs/kopeninghours: 24.01.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-24.01.90.ebuild64
2 files changed, 65 insertions, 0 deletions
diff --git a/dev-libs/kopeninghours/Manifest b/dev-libs/kopeninghours/Manifest
new file mode 100644
index 00000000000..e2eb97d8d61
--- /dev/null
+++ b/dev-libs/kopeninghours/Manifest
@@ -0,0 +1 @@
+DIST kopeninghours-24.01.90.tar.xz 72724 BLAKE2B abc461d3885f2b33a4eb93a3f7899764afd9c136b3ae072ea557dfbf6572553ee8aa660b181ea78c3b2d94bbc17fe4f70ca0be73a269732e21c0de01baefdd7b SHA512 48a6c381d1e842dd3d792113cc7b841c571fa5d23f4400b4f53abdcc7a88a8c09a001941155c87fd5f9b199cd4194520380860bfb286ca9d1401de889fe2a667
diff --git a/dev-libs/kopeninghours/kopeninghours-24.01.90.ebuild b/dev-libs/kopeninghours/kopeninghours-24.01.90.ebuild
new file mode 100644
index 00000000000..976e6719236
--- /dev/null
+++ b/dev-libs/kopeninghours/kopeninghours-24.01.90.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2024 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.113.0
+QTMIN=5.15.9
+PYTHON_COMPAT=( python3_{10..12} )
+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
+}