diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2022-09-08 13:51:03 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2022-09-08 14:42:23 +0200 |
commit | c941aa30c43372ae634ae60ddaf7c078d9121155 (patch) | |
tree | 24984f24ba11b400c5df56ad648df6525af3c394 /dev-libs/kopeninghours | |
parent | app-office/kalendar: 22.08.1 version bump (diff) | |
download | gentoo-c941aa30c43372ae634ae60ddaf7c078d9121155.tar.gz gentoo-c941aa30c43372ae634ae60ddaf7c078d9121155.tar.bz2 gentoo-c941aa30c43372ae634ae60ddaf7c078d9121155.zip |
dev-libs/kopeninghours: 22.08.1 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-22.08.1.ebuild | 64 |
2 files changed, 65 insertions, 0 deletions
diff --git a/dev-libs/kopeninghours/Manifest b/dev-libs/kopeninghours/Manifest index 05e6bc7a411d..a3f447143a59 100644 --- a/dev-libs/kopeninghours/Manifest +++ b/dev-libs/kopeninghours/Manifest @@ -1,2 +1,3 @@ DIST kopeninghours-22.04.3.tar.xz 69160 BLAKE2B 8875d1ee869c6cae8730e83ff8144e45a6ab24aff02ec85084022ab30f9274a2f7c5bd4e0bf88f27c3626ee580a6fac9e2446fa711823011b305ba9bdf1d88c9 SHA512 68e49cd35db2f381cfd88787ed2085e69c6485de87c2cd5783675784cb169d274115d9bc36cde6ed447d6cff6922278330ac1aa819a0d996f2a5b861f6f1bf7e DIST kopeninghours-22.08.0.tar.xz 70136 BLAKE2B cc5b2f97a65487f97f702a86ec1ff3f7969cb7955b92280598a5ad04e6c225b0976c8b7e2a6122171917600100985b4292005467806fe6af1cbc8ffb17a0ef44 SHA512 436251958f0139a79dba0ea66db13265697aa0aa11c1da05ea8243ef61bdb34a134422214ec50fbed98f0f38c1f32f5196f1641cc358e2cccd9359978e3fce05 +DIST kopeninghours-22.08.1.tar.xz 70136 BLAKE2B 331228455ef21a2995e6258b397e34272bee81f78f80b3140e9f5a917971dbba0156fa5562777dd99c9adc8337d781de005958e282eb06af0040a97e9f5fd9c1 SHA512 839333b2cb1a730be9a2a75a73fe93a6098d7d48151a72f683e6e2dc2bb01ce5001d0ae611a7a4c45751c01a0755043ff7f7b4639cb53c146947c706fc58ca2e diff --git a/dev-libs/kopeninghours/kopeninghours-22.08.1.ebuild b/dev-libs/kopeninghours/kopeninghours-22.08.1.ebuild new file mode 100644 index 000000000000..2539c79b2a5e --- /dev/null +++ b/dev-libs/kopeninghours/kopeninghours-22.08.1.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 +} |