diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2022-10-11 15:32:08 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2022-10-11 16:27:40 +0200 |
commit | 261548e94ebabf7a6964023025f551ce93125f1a (patch) | |
tree | 932ba8dd9f658a8777daa057ed14d50ee8e7d056 /dev-libs | |
parent | app-office/kalendar: 22.08.2 version bump (diff) | |
download | kde-261548e94ebabf7a6964023025f551ce93125f1a.tar.gz kde-261548e94ebabf7a6964023025f551ce93125f1a.tar.bz2 kde-261548e94ebabf7a6964023025f551ce93125f1a.zip |
dev-libs/kopeninghours: 22.08.2 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/kopeninghours/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/kopeninghours/kopeninghours-22.08.2.ebuild | 64 |
2 files changed, 65 insertions, 0 deletions
diff --git a/dev-libs/kopeninghours/Manifest b/dev-libs/kopeninghours/Manifest new file mode 100644 index 0000000000..67614fbfdc --- /dev/null +++ b/dev-libs/kopeninghours/Manifest @@ -0,0 +1 @@ +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 0000000000..2539c79b2a --- /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 +} |