public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "John Helmert III" <ajak@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/luminance-hdr/
Date: Wed, 16 Nov 2022 03:56:56 +0000 (UTC)	[thread overview]
Message-ID: <1668570443.a4cac6ff251d28e411fee9869668f5cbf02b7ab1.ajak@gentoo> (raw)

commit:     a4cac6ff251d28e411fee9869668f5cbf02b7ab1
Author:     Bernd Waibel <waebbl-gentoo <AT> posteo <DOT> net>
AuthorDate: Tue Nov 15 17:02:08 2022 +0000
Commit:     John Helmert III <ajak <AT> gentoo <DOT> org>
CommitDate: Wed Nov 16 03:47:23 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4cac6ff

media-gfx/luminance-hdr: restrict dependency on media-libs/openexr

This version doesn't build with >=media-libs/openexr-3, so restrict
the dependency.
Also update obsolete virtual/jpeg:0 dependency.

Bug: https://bugs.gentoo.org/878173
Signed-off-by: Bernd Waibel <waebbl-gentoo <AT> posteo.net>
Closes: https://github.com/gentoo/gentoo/pull/28286
Signed-off-by: John Helmert III <ajak <AT> gentoo.org>

 .../luminance-hdr/luminance-hdr-2.6.0-r2.ebuild    | 99 ++++++++++++++++++++++
 1 file changed, 99 insertions(+)

diff --git a/media-gfx/luminance-hdr/luminance-hdr-2.6.0-r2.ebuild b/media-gfx/luminance-hdr/luminance-hdr-2.6.0-r2.ebuild
new file mode 100644
index 000000000000..f800546f7200
--- /dev/null
+++ b/media-gfx/luminance-hdr/luminance-hdr-2.6.0-r2.ebuild
@@ -0,0 +1,99 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake toolchain-funcs flag-o-matic xdg-utils
+
+DESCRIPTION="Graphical user interface that provides a workflow for HDR imaging"
+HOMEPAGE="http://qtpfsgui.sourceforge.net https://github.com/LuminanceHDR/LuminanceHDR"
+SRC_URI="mirror://sourceforge/qtpfsgui/${P/_/.}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="cpu_flags_x86_sse2 fits openmp test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="
+	dev-qt/linguist-tools:5
+"
+RDEPEND="
+	dev-libs/boost:=
+	dev-qt/qtconcurrent:5
+	dev-qt/qtcore:5
+	dev-qt/qtdeclarative:5
+	dev-qt/qtgui:5
+	dev-qt/qtnetwork:5
+	dev-qt/qtprintsupport:5
+	dev-qt/qtsql:5
+	dev-qt/qtsvg:5
+	dev-qt/qtwebengine:5[widgets]
+	dev-qt/qtwidgets:5
+	dev-qt/qtxml:5
+	media-gfx/exiv2:=
+	media-libs/ilmbase:=
+	media-libs/lcms:2
+	media-libs/libjpeg-turbo:=
+	media-libs/libpng:0=
+	media-libs/libraw:=
+	<media-libs/openexr-3:0=
+	media-libs/tiff:0
+	sci-libs/fftw:3.0=[threads]
+	sci-libs/gsl:=
+	fits? ( sci-libs/cfitsio:= )
+"
+DEPEND="${RDEPEND}
+	dev-cpp/eigen:3
+	test? ( dev-cpp/gtest )
+"
+
+PATCHES=(
+	"${FILESDIR}"/${P}-cmake.patch
+	"${FILESDIR}"/${P}-no-git.patch
+	"${FILESDIR}"/${P}-docs.patch
+	"${FILESDIR}"/${PN}-2.5.1-openmp-automagic.patch
+)
+
+pkg_pretend() {
+	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+pkg_setup() {
+	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+src_configure() {
+	if use cpu_flags_x86_sse2 ; then
+		append-flags -msse2
+	else
+		eerror "This package requires a CPU supporting the SSE2 instruction set."
+		die "SSE2 support missing"
+	fi
+
+	local mycmakeargs=(
+		$(cmake_use_find_package fits CFITSIO)
+		-DUSE_OPENMP="$(usex openmp)"
+	)
+	cmake_src_configure
+}
+
+src_install() {
+	cmake_src_install
+
+	mkdir -p "${D}/usr/share/metainfo" || die
+	mv "${D}/usr/share/appdata/"* "${D}/usr/share/metainfo/" || die
+	rmdir "${D}/usr/share/appdata" || die
+}
+
+pkg_postinst() {
+	xdg_icon_cache_update
+	xdg_desktop_database_update
+	xdg_mimeinfo_database_update
+}
+
+pkg_postrm() {
+	xdg_icon_cache_update
+	xdg_desktop_database_update
+	xdg_mimeinfo_database_update
+}


             reply	other threads:[~2022-11-16  3:57 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-16  3:56 John Helmert III [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-01-27 23:25 [gentoo-commits] repo/gentoo:master commit in: media-gfx/luminance-hdr/ Sam James
2025-01-21 22:16 Andreas Sturmlechner
2024-11-23 11:36 Andreas Sturmlechner
2023-02-07 10:37 Andreas Sturmlechner
2022-11-16  3:56 John Helmert III
2022-09-04 12:23 David Seifert
2022-05-14 21:30 David Seifert
2022-02-28 23:58 Sam James
2022-02-28  5:21 Sam James
2021-10-16 23:15 Andreas K. Hüttel
2020-10-17 21:09 Andreas K. Hüttel
2020-10-16 17:29 Andreas K. Hüttel
2020-06-06 23:18 Andreas K. Hüttel
2019-10-21 12:47 Thomas Deutschmann
2019-10-11 10:09 Agostino Sarubbo
2018-06-16  7:04 Andreas Sturmlechner
2018-06-07 10:13 Agostino Sarubbo
2018-06-03 14:32 Andreas Sturmlechner
2018-01-08 17:31 Ulrich Müller
2018-01-08 17:31 Ulrich Müller
2017-01-02 19:41 Markus Meier
2016-12-31 22:20 Agostino Sarubbo
2016-02-18 18:07 Markus Meier
2015-10-01 14:21 Michael Palimaka

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=1668570443.a4cac6ff251d28e411fee9869668f5cbf02b7ab1.ajak@gentoo \
    --to=ajak@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