diff options
| author | Andreas Sturmlechner <asturm@gentoo.org> | 2021-04-16 20:55:16 +0200 |
|---|---|---|
| committer | Andreas Sturmlechner <asturm@gentoo.org> | 2021-04-16 21:19:34 +0200 |
| commit | 4a94298c4cfbc295cf6e83c49e4283e55ce5231c (patch) | |
| tree | c11b5624a8af475aca0ac883e47b0887cbd8dbaa /dev-libs | |
| parent | a6284d3c7c7beb031a2fa17d6ae36e390acd3a27 (diff) | |
| download | kde-4a94298c4cfbc295cf6e83c49e4283e55ce5231c.tar.gz kde-4a94298c4cfbc295cf6e83c49e4283e55ce5231c.tar.bz2 kde-4a94298c4cfbc295cf6e83c49e4283e55ce5231c.zip | |
dev-libs/kopeninghours: 21.04.49.9999 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-libs')
| -rw-r--r-- | dev-libs/kopeninghours/kopeninghours-21.04.49.9999.ebuild | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/dev-libs/kopeninghours/kopeninghours-21.04.49.9999.ebuild b/dev-libs/kopeninghours/kopeninghours-21.04.49.9999.ebuild new file mode 100644 index 00000000000..aa243c234aa --- /dev/null +++ b/dev-libs/kopeninghours/kopeninghours-21.04.49.9999.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +ECM_TEST="true" +PVCUT=$(ver_cut 1-3) +KFMIN=5.80.0 +QTMIN=5.15.2 +PYTHON_COMPAT=( python3_{7,8,9} ) +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="" +IUSE="python" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +BDEPEND=" + sys-devel/bison + sys-devel/flex +" +DEPEND=" + >=dev-qt/qtdeclarative-${QTMIN}:5 + >=kde-frameworks/kholidays-${KFMIN}:5 + >=kde-frameworks/ki18n-${KFMIN}:5 + >=kde-misc/kpublictransport-${PVCUT}:5 + sys-libs/zlib + python? ( + $(python_gen_cond_dep ' + >=dev-libs/boost-1.70:=[python,${PYTHON_MULTI_USEDEP}] + ') + ) +" +RDEPEND="${DEPEND} + ${PYTHON_DEPS} + >=dev-qt/qtquickcontrols2-${QTMIN}:5 +" + +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 +} |
