diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2024-02-01 21:14:56 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2024-02-01 22:19:15 +0100 |
commit | 118542b20999f0158f8442e842ebfdc00b4b1438 (patch) | |
tree | 51e26dee2295585f4bfee768b56cfcd7ae0f7040 /dev-libs/kopeninghours | |
parent | app-office/merkuro: 24.01.95 version bump (diff) | |
download | kde-118542b20999f0158f8442e842ebfdc00b4b1438.tar.gz kde-118542b20999f0158f8442e842ebfdc00b4b1438.tar.bz2 kde-118542b20999f0158f8442e842ebfdc00b4b1438.zip |
dev-libs/kopeninghours: 24.01.95 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-libs/kopeninghours')
-rw-r--r-- | dev-libs/kopeninghours/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/kopeninghours/kopeninghours-24.01.95.ebuild | 64 |
2 files changed, 65 insertions, 0 deletions
diff --git a/dev-libs/kopeninghours/Manifest b/dev-libs/kopeninghours/Manifest index e2eb97d8d6..6ce0ee2c64 100644 --- a/dev-libs/kopeninghours/Manifest +++ b/dev-libs/kopeninghours/Manifest @@ -1 +1,2 @@ DIST kopeninghours-24.01.90.tar.xz 72724 BLAKE2B abc461d3885f2b33a4eb93a3f7899764afd9c136b3ae072ea557dfbf6572553ee8aa660b181ea78c3b2d94bbc17fe4f70ca0be73a269732e21c0de01baefdd7b SHA512 48a6c381d1e842dd3d792113cc7b841c571fa5d23f4400b4f53abdcc7a88a8c09a001941155c87fd5f9b199cd4194520380860bfb286ca9d1401de889fe2a667 +DIST kopeninghours-24.01.95.tar.xz 72700 BLAKE2B 90de4258b2be2790bcf4bbbd38b4afa81cc4090d1806f733f6af68a3ae231469bd6cb3c9e8d61460c446e973f325675c5e27646aa62dccb4bf1200b15a90d6a2 SHA512 f33bc44ca60f84ffde3ddfc9506ce4a37f6c211168d2a640e791e74f3336813c59d663781a78ebc04fb47c7d8cb7058416b8b1c267415cb3473eb7bb72f18423 diff --git a/dev-libs/kopeninghours/kopeninghours-24.01.95.ebuild b/dev-libs/kopeninghours/kopeninghours-24.01.95.ebuild new file mode 100644 index 0000000000..b4546e7591 --- /dev/null +++ b/dev-libs/kopeninghours/kopeninghours-24.01.95.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=" + app-alternatives/lex + app-alternatives/yacc +" + +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 +} |