summaryrefslogtreecommitdiff
path: root/dev-libs
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2021-11-16 19:10:57 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2021-11-16 19:15:42 +0100
commit6a026917aa06d810e457570baf5ee24b5f6384e8 (patch)
tree680c51b7dca0905a64a2a25a38a03bcac1e56ba0 /dev-libs
parentb4117551738f269a637e49426cf42d308f508e44 (diff)
downloadkde-6a026917aa06d810e457570baf5ee24b5f6384e8.tar.gz
kde-6a026917aa06d810e457570baf5ee24b5f6384e8.tar.bz2
kde-6a026917aa06d810e457570baf5ee24b5f6384e8.zip
dev-libs/kopeninghours: 21.11.80 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-21.11.80.ebuild65
2 files changed, 66 insertions, 0 deletions
diff --git a/dev-libs/kopeninghours/Manifest b/dev-libs/kopeninghours/Manifest
new file mode 100644
index 00000000000..9a91ad52d8e
--- /dev/null
+++ b/dev-libs/kopeninghours/Manifest
@@ -0,0 +1 @@
+DIST kopeninghours-21.11.80.tar.xz 67276 BLAKE2B 0de5d74e0da1422b78afdb1c1d99156f07c36e573f5a643f22eed50db58e42c1adca2630a6eb29b9ad07eeabdca6d96501458fd3bdbbbe193c74eac12cbdc3d8 SHA512 cc52ceb1bd59b093242ac6e315cc9ea535e6c17da589b080fcd968367b74fcbf81f430c1e84306623c8535007e8d36cef06c57a83b6a760a8ffb762bb66bfd46
diff --git a/dev-libs/kopeninghours/kopeninghours-21.11.80.ebuild b/dev-libs/kopeninghours/kopeninghours-21.11.80.ebuild
new file mode 100644
index 00000000000..63717fe0623
--- /dev/null
+++ b/dev-libs/kopeninghours/kopeninghours-21.11.80.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2021 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.88.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
+}