public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ben Kohler" <bkohler@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/rawtherapee/
Date: Mon, 19 Feb 2024 13:15:15 +0000 (UTC)	[thread overview]
Message-ID: <1708348507.268de19d48358a01944a3d13882dac96e61c4c4e.bkohler@gentoo> (raw)

commit:     268de19d48358a01944a3d13882dac96e61c4c4e
Author:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 18 16:07:18 2024 +0000
Commit:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
CommitDate: Mon Feb 19 13:15:07 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=268de19d

media-gfx/rawtherapee: add 5.10

Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>

 media-gfx/rawtherapee/Manifest                |  1 +
 media-gfx/rawtherapee/rawtherapee-5.10.ebuild | 81 +++++++++++++++++++++++++++
 2 files changed, 82 insertions(+)

diff --git a/media-gfx/rawtherapee/Manifest b/media-gfx/rawtherapee/Manifest
index f0e2ae008708..173500760c5d 100644
--- a/media-gfx/rawtherapee/Manifest
+++ b/media-gfx/rawtherapee/Manifest
@@ -1 +1,2 @@
+DIST rawtherapee-5.10.tar.xz 16943724 BLAKE2B 2d1250a03f2902ffcff666514f9785036c808e9883957f674bfdb9545b2feac8f2313ab819e0cb64f39196bd3db36e8084b52bda6194de9197215824e695809c SHA512 79d6d54f90fec6006d3dff53aca00ccd385c398ebede2f06a223905d69e1045c6ab772bd5aca4bde01d9086c3c03183be22c0df521166b1af63b60bd7d0e1cfc
 DIST rawtherapee-5.9.tar.xz 16219076 BLAKE2B 32039d6927eb4a4efbb49f3ad2bd019bd9f73c92a5e7125b7c560aaf7b6a42a5f1a2f67b24a713e4b255867539eda2bf63ea4e988453ec9634c917a11432a7fb SHA512 0d848a36293eb5cac3212910eaf1d011315269c6bbe780c4c2e5f91719721e25a7d1678a7e4453fa4a9694618978b04828612dc03e1d50cb9c11ad4d238e7ca8

diff --git a/media-gfx/rawtherapee/rawtherapee-5.10.ebuild b/media-gfx/rawtherapee/rawtherapee-5.10.ebuild
new file mode 100644
index 000000000000..e4a69dd837de
--- /dev/null
+++ b/media-gfx/rawtherapee/rawtherapee-5.10.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_P=${P/_rc/-rc}
+inherit cmake flag-o-matic toolchain-funcs xdg-utils
+
+DESCRIPTION="A powerful cross-platform raw image processing program"
+HOMEPAGE="https://www.rawtherapee.com/"
+SRC_URI="https://rawtherapee.com/shared/source/${MY_P}.tar.xz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv ~x86"
+IUSE="openmp tcmalloc"
+
+RDEPEND="
+	dev-cpp/atkmm:0
+	dev-cpp/cairomm:0
+	dev-cpp/glibmm:2
+	dev-cpp/gtkmm:3.0
+	dev-cpp/pangomm:1.4
+	dev-libs/expat
+	dev-libs/glib:2
+	dev-libs/libsigc++:2
+	gnome-base/librsvg:2
+	media-gfx/exiv2:=
+	media-libs/lcms:2
+	media-libs/lensfun
+	media-libs/libcanberra[gtk3]
+	media-libs/libiptcdata
+	media-libs/libjpeg-turbo:=
+	media-libs/libpng:0=
+	media-libs/tiff:=
+	sci-libs/fftw:3.0=
+	sys-libs/zlib
+	x11-libs/gtk+:3
+	tcmalloc? ( dev-util/google-perftools )"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+S="${WORKDIR}/${MY_P}"
+
+pkg_pretend() {
+	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+pkg_setup() {
+	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+src_configure() {
+	# upstream tested that "fast-math" give wrong results, so filter it
+	# https://bugs.gentoo.org/show_bug.cgi?id=606896#c2
+	filter-flags -ffast-math
+	# -Ofast enable "fast-math" both in gcc and clang
+	replace-flags -Ofast -O3
+	# In case we add an ebuild for klt we can (i)use that one,
+	# see http://cecas.clemson.edu/~stb/klt/
+	local mycmakeargs=(
+		-DOPTION_OMP=$(usex openmp)
+		-DDOCDIR=/usr/share/doc/${PF}
+		-DCREDITSDIR=/usr/share/${PN}
+		-DLICENCEDIR=/usr/share/${PN}
+		-DCACHE_NAME_SUFFIX=""
+		-DWITH_SYSTEM_KLT="off"
+		-DENABLE_TCMALLOC=$(usex tcmalloc)
+	)
+	cmake_src_configure
+}
+
+pkg_postinst() {
+	xdg_icon_cache_update
+	xdg_desktop_database_update
+}
+
+pkg_postrm() {
+	xdg_icon_cache_update
+	xdg_desktop_database_update
+}


             reply	other threads:[~2024-02-19 13:15 UTC|newest]

Thread overview: 55+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-19 13:15 Ben Kohler [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-04 18:39 [gentoo-commits] repo/gentoo:master commit in: media-gfx/rawtherapee/ Andreas Sturmlechner
2024-10-23 23:24 Jakov Smolić
2024-10-23 15:56 Sam James
2024-10-16 12:00 Ben Kohler
2024-10-16 11:44 Ben Kohler
2024-10-03 10:33 Jakov Smolić
2024-10-02 20:50 Sam James
2024-08-30 15:37 Ben Kohler
2024-04-27 12:16 Ben Kohler
2024-04-26 14:31 Ben Kohler
2024-03-10 13:11 Ben Kohler
2023-03-30 18:05 Ben Kohler
2023-03-08 21:25 Ben Kohler
2023-02-25 14:10 Ben Kohler
2023-02-09 13:34 Joonas Niilola
2023-02-09  8:50 Joonas Niilola
2022-12-22 17:49 Ben Kohler
2022-12-18  7:46 Sam James
2022-12-18  5:28 Yixun Lan
2022-12-18  1:40 Sam James
2022-12-17 22:37 Ben Kohler
2022-09-16 13:51 Ben Kohler
2022-08-12 13:21 Yixun Lan
2022-05-14 21:30 David Seifert
2022-04-29  3:07 Sam James
2022-02-13  8:41 Jakov Smolić
2021-12-09 16:22 Agostino Sarubbo
2021-08-11 15:18 Joonas Niilola
2021-08-11 15:18 Joonas Niilola
2020-09-04 14:05 Sam James
2020-09-03 14:29 Thomas Deutschmann
2020-02-26 18:36 Andreas Sturmlechner
2019-09-26 15:51 Joonas Niilola
2019-09-22 20:48 Andreas Sturmlechner
2019-07-18 15:30 Andreas Sturmlechner
2019-07-18 11:44 Agostino Sarubbo
2019-07-18  9:54 Agostino Sarubbo
2019-05-15 12:31 Andreas Sturmlechner
2019-05-15 12:31 Andreas Sturmlechner
2019-04-13 19:10 Agostino Sarubbo
2019-01-04 13:02 Andreas Sturmlechner
2019-01-04 13:00 Andreas Sturmlechner
2019-01-04 13:00 Andreas Sturmlechner
2019-01-04 13:00 Andreas Sturmlechner
2018-10-27 19:00 Mikle Kolyada
2018-10-26  0:52 Thomas Deutschmann
2018-03-29 12:42 Michał Górny
2018-03-29 12:42 Michał Górny
2017-10-26 18:54 Thomas Deutschmann
2017-10-03 21:52 Patrice Clement
2017-05-23 21:31 Patrice Clement
2017-03-22 10:45 Marek Szuba
2017-03-20 13:31 Luca Barbato
2015-12-15 20:16 Pacho Ramos

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=1708348507.268de19d48358a01944a3d13882dac96e61c4c4e.bkohler@gentoo \
    --to=bkohler@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