public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/lensfun/
Date: Tue,  7 Feb 2023 18:01:07 +0000 (UTC)	[thread overview]
Message-ID: <1675792841.d6f749554ffc0e3fb2294cc4d4178a9116d6eb4a.asturm@gentoo> (raw)

commit:     d6f749554ffc0e3fb2294cc4d4178a9116d6eb4a
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Feb  5 16:55:04 2023 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> 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 <asturm <AT> 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
+}


             reply	other threads:[~2023-02-07 18:01 UTC|newest]

Thread overview: 52+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-07 18:01 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-06-10 23:46 [gentoo-commits] repo/gentoo:master commit in: media-libs/lensfun/ Sam James
2024-05-28 13:19 Sam James
2024-05-28 13:19 Sam James
2024-04-21  6:04 Markus Meier
2023-04-29 20:31 Sam James
2023-04-29 20:25 Sam James
2023-04-29 20:25 Sam James
2023-04-29 20:25 Sam James
2023-04-29 20:20 Sam James
2023-04-29 18:16 Arthur Zamarin
2023-04-29 18:04 Arthur Zamarin
2022-12-22 20:05 Andreas Sturmlechner
2022-12-21  0:19 Sam James
2022-12-20 23:57 Sam James
2022-12-20 23:57 Sam James
2022-12-20 23:29 Sam James
2022-12-20 23:29 Sam James
2022-12-20 23:28 Sam James
2022-12-20 23:28 Sam James
2022-12-01  3:21 WANG Xuerui
2022-03-05 22:39 Andreas K. Hüttel
2022-02-28 23:17 Andreas K. Hüttel
2021-02-27 21:12 Andreas K. Hüttel
2020-06-18 17:54 Markus Meier
2020-06-06 23:18 Andreas K. Hüttel
2020-04-25 12:37 Andreas Sturmlechner
2019-10-06 13:27 Alexey Shvetsov
2019-05-21  6:31 Aaron Bauman
2018-05-20 19:10 Andreas Sturmlechner
2018-04-15 17:15 Andreas Sturmlechner
2018-04-07 12:05 Sergei Trofimovich
2018-04-02  8:33 Markus Meier
2018-04-01 11:08 Sergei Trofimovich
2018-03-31 10:58 Sergei Trofimovich
2018-03-05 10:36 Tobias Klausmann
2018-03-02 14:15 Jason Zaman
2018-02-27 16:48 Markus Meier
2018-02-24  9:41 Sergei Trofimovich
2017-12-25 23:14 Andreas Sturmlechner
2017-06-18  9:51 Alexis Ballier
2017-05-28  9:26 Markus Meier
2016-01-11  9:07 Agostino Sarubbo
2016-01-09  6:43 Agostino Sarubbo
2015-12-07 11:40 Agostino Sarubbo
2015-12-05 10:12 Jeroen Roovers
2015-12-05 10:12 Jeroen Roovers
2015-12-03 13:28 Agostino Sarubbo
2015-11-29 19:08 Markus Meier
2015-11-23  9:25 Agostino Sarubbo
2015-11-23  8:50 Agostino Sarubbo
2015-11-21 14:34 Markus Meier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1675792841.d6f749554ffc0e3fb2294cc4d4178a9116d6eb4a.asturm@gentoo \
    --to=asturm@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox