diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2021-01-01 16:40:18 +0100 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2021-01-01 16:40:18 +0100 |
commit | 81df6d19bfbf159f59744f857436b3d500b23caf (patch) | |
tree | 44a872626e2d9d46e6514f2efd3960cad1d767a4 | |
parent | dev-util/netbeans: bump to 12.2 (diff) | |
download | fordfrog-81df6d19bfbf159f59744f857436b3d500b23caf.tar.gz fordfrog-81df6d19bfbf159f59744f857436b3d500b23caf.tar.bz2 fordfrog-81df6d19bfbf159f59744f857436b3d500b23caf.zip |
media-libs/lensfun: updated live
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
-rw-r--r-- | media-libs/lensfun/Manifest | 2 | ||||
-rw-r--r-- | media-libs/lensfun/lensfun-9999.ebuild | 42 |
2 files changed, 26 insertions, 18 deletions
diff --git a/media-libs/lensfun/Manifest b/media-libs/lensfun/Manifest index ce706d086..214674c10 100644 --- a/media-libs/lensfun/Manifest +++ b/media-libs/lensfun/Manifest @@ -1,2 +1,2 @@ -EBUILD lensfun-9999.ebuild 1262 BLAKE2B d92c0594fe9b41383e024b1c430b610742330d95b4f87ca19e13509e643686377e670fd3c0cb6571d708dc2abea0cc0efb429e74b6922b080bf8745f3d879089 SHA512 48fbf85f9705f4c0c0679bf719c1337fece1faa4818aab700f8840c166fa2b00dc25a210cea935cec72fcb989adf8db1d887eb89f869c5f87cab551511c65e8d +EBUILD lensfun-9999.ebuild 1335 BLAKE2B 5354232d8eefca68530ce6267745db7f42203ce5b7c2d2e3cd77d070baab2e8864d8b367b4a3a103e7e03256a123ae1cde6e6a91ab6d45512533dd090eb26bdd SHA512 88121049986ffedc57fe8460f3fed29b60e82e6deb567a7298fb2069f271621438fd94920fee67c1372709f68c8cb3a8c7e1252f0c44a287b2ad960c690c8dab MISC metadata.xml 609 BLAKE2B f9ebe22f93c9622961688f478f0f46c111fda47252c57c96aa4f566107705f27b6beb820c0d3c6df6414f7d31dd3d1c89e31a66b064ff96fc7e7e481faf47b7c SHA512 f3c9ae5432aaae9e83dec01dc9d6a4b8d01998183ef1c6ba7731ea9eb92b4960ddfdd0a2395bfb9f137224e83d4c938a7187f01579eb5c9e882e9f4d8008ee39 diff --git a/media-libs/lensfun/lensfun-9999.ebuild b/media-libs/lensfun/lensfun-9999.ebuild index a6d93e279..d15ac1e39 100644 --- a/media-libs/lensfun/lensfun-9999.ebuild +++ b/media-libs/lensfun/lensfun-9999.ebuild @@ -1,14 +1,13 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 -PYTHON_COMPAT=( python3_{4,5,6} ) - -inherit python-single-r1 cmake-utils git-r3 +PYTHON_COMPAT=( python3_{6,7,8} ) +inherit python-single-r1 cmake git-r3 DESCRIPTION="Library for rectifying and simulating photographic lens distortions" -HOMEPAGE="https://lensfun.github.io/" +HOMEPAGE="https://lensfun.github.io" EGIT_REPO_URI="https://github.com/lensfun/lensfun.git" LICENSE="LGPL-3 CC-BY-SA-3.0" # See README for reasoning. @@ -16,17 +15,22 @@ SLOT="0" KEYWORDS="" IUSE="doc cpu_flags_x86_sse cpu_flags_x86_sse2 test" -RDEPEND="${PYTHON_DEPS} - >=dev-libs/glib-2.40 - media-libs/libpng:0= - sys-libs/zlib:=" -DEPEND="${RDEPEND} +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RESTRICT="!test? ( test )" + +BDEPEND=" doc? ( app-doc/doxygen dev-python/docutils - )" - -REQUIRED_USE="${PYTHON_REQUIRED_USE}" + ) +" +RDEPEND="${PYTHON_DEPS} + >=dev-libs/glib-2.40 + media-libs/libpng:0= + sys-libs/zlib +" +DEPEND="${RDEPEND}" DOCS=( README.md docs/mounts.txt ChangeLog ) @@ -41,13 +45,17 @@ src_configure() { -DBUILD_FOR_SSE2=$(usex cpu_flags_x86_sse2) -DBUILD_TESTS=$(usex test) ) - - cmake-utils_src_configure + cmake_src_configure } src_test() { mkdir -p "${T}/db/lensfun" || die cp data/db/* "${T}/db/lensfun/" || die - XDG_DATA_HOME="${T}/db" cmake-utils_src_test + XDG_DATA_HOME="${T}/db" cmake_src_test +} + +src_install() { + cmake_src_install + python_optimize } |