From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E610515800F for ; Tue, 7 Feb 2023 18:01:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C2C1DE0826; Tue, 7 Feb 2023 18:01:09 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A329DE0826 for ; Tue, 7 Feb 2023 18:01:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C3AAF3408F0 for ; Tue, 7 Feb 2023 18:01:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 31A2B89F for ; Tue, 7 Feb 2023 18:01:07 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1675792841.d6f749554ffc0e3fb2294cc4d4178a9116d6eb4a.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/lensfun/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/lensfun/Manifest media-libs/lensfun/lensfun-0.3.4_rc1.ebuild X-VCS-Directories: media-libs/lensfun/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: d6f749554ffc0e3fb2294cc4d4178a9116d6eb4a X-VCS-Branch: master Date: Tue, 7 Feb 2023 18:01:07 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 1981ab48-d9f3-4c91-b28f-7b1e1a1cf98e X-Archives-Hash: 63bea62b29407147b2351f91f4a148ca commit: d6f749554ffc0e3fb2294cc4d4178a9116d6eb4a Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun Feb 5 16:55:04 2023 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Tue Feb 7 18:00:41 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6f74955 media-libs/lensfun: add 0.3.4_rc1 Closes: https://bugs.gentoo.org/893504 Signed-off-by: Andreas Sturmlechner gentoo.org> media-libs/lensfun/Manifest | 1 + media-libs/lensfun/lensfun-0.3.4_rc1.ebuild | 62 +++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+) diff --git a/media-libs/lensfun/Manifest b/media-libs/lensfun/Manifest index d52c0e3e62ac..840f1fad16b7 100644 --- a/media-libs/lensfun/Manifest +++ b/media-libs/lensfun/Manifest @@ -1 +1,2 @@ DIST lensfun-0.3.3.tar.gz 992432 BLAKE2B 174f9a34195ca8d7f09de43a2f0d1015bc766579607c44541f631142386a3b5c27c823f9f54f08d462946a0809610b6a87e61cd093b69339fa7d57d28cc833ae SHA512 2d913e3d121ac069f4cb7acb3f09c9cf11c5d0069e743500631bd4b6007a1b19ebccf871a4ac8cfc2797a03066f8a678ea9d70feba0f7d6a05c28cef61f7d9cf +DIST lensfun-0.3.4_rc1.tar.gz 1045616 BLAKE2B fee14b97dcda98be4e8a32443ff71347ba75e46192f8437be580cb6697f6ef2eca92ef57cfcb2de5bd87fe7ba96542a6b5551b12f50fec09a035c69d6f4b427f SHA512 0d034c6996e5650b022d33a7e00ef7e0e00dfa99155aa62c6c3ab48b9ac936e46f812ceea46e2070514e2c77150a1d7c827831686b1cf73e2acf88b6b3dfb6c5 diff --git a/media-libs/lensfun/lensfun-0.3.4_rc1.ebuild b/media-libs/lensfun/lensfun-0.3.4_rc1.ebuild new file mode 100644 index 000000000000..cbdf5c801f2a --- /dev/null +++ b/media-libs/lensfun/lensfun-0.3.4_rc1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) +inherit python-single-r1 cmake + +DESCRIPTION="Library for rectifying and simulating photographic lens distortions" +HOMEPAGE="https://lensfun.github.io" +SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/v${PV/_rc/-RC}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${P/_rc/-RC}" + +LICENSE="LGPL-3 CC-BY-SA-3.0" # See README for reasoning. +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="doc cpu_flags_x86_sse cpu_flags_x86_sse2 test" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RESTRICT="!test? ( test )" + +RDEPEND="${PYTHON_DEPS} + >=dev-libs/glib-2.40 + media-libs/libpng:0= + sys-libs/zlib +" +DEPEND="${RDEPEND}" +BDEPEND=" + doc? ( + app-doc/doxygen + dev-python/docutils + ) +" + +DOCS=( README.md docs/mounts.txt ChangeLog ) + +src_configure() { + local mycmakeargs=( + -DCMAKE_INSTALL_DOCDIR="${EPREFIX}"/usr/share/doc/${PF}/html + -DSETUP_PY_INSTALL_PREFIX=/usr + -DBUILD_LENSTOOL=ON + -DBUILD_STATIC=OFF + -DBUILD_DOC=$(usex doc) + -DBUILD_FOR_SSE=$(usex cpu_flags_x86_sse) + -DBUILD_FOR_SSE2=$(usex cpu_flags_x86_sse2) + -DBUILD_TESTS=$(usex test) + ) + cmake_src_configure +} + +src_test() { + mkdir -p "${T}/db/lensfun" || die + cp data/db/* "${T}/db/lensfun/" || die + + XDG_DATA_HOME="${T}/db" cmake_src_test +} + +src_install() { + cmake_src_install + python_optimize +}