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)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4DED915802F for ; Wed, 8 Mar 2023 21:25:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8E6B7E08F0; Wed, 8 Mar 2023 21:25:20 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 729CCE08F0 for ; Wed, 8 Mar 2023 21:25:20 +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 6777933BE2E for ; Wed, 8 Mar 2023 21:25:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A493D888 for ; Wed, 8 Mar 2023 21:25:17 +0000 (UTC) From: "Ben Kohler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ben Kohler" Message-ID: <1678310710.5f9f6aeab7b106860441cd567405f19989dc092d.bkohler@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/rawtherapee/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-gfx/rawtherapee/rawtherapee-5.9-r3.ebuild X-VCS-Directories: media-gfx/rawtherapee/ X-VCS-Committer: bkohler X-VCS-Committer-Name: Ben Kohler X-VCS-Revision: 5f9f6aeab7b106860441cd567405f19989dc092d X-VCS-Branch: master Date: Wed, 8 Mar 2023 21:25:17 +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: b0dbe8b1-5c9f-4a85-9b38-9db52cf15006 X-Archives-Hash: 3d0ed087ecccad0cbbb201a7b1357aa1 commit: 5f9f6aeab7b106860441cd567405f19989dc092d Author: Ben Kohler gentoo org> AuthorDate: Wed Mar 8 20:37:40 2023 +0000 Commit: Ben Kohler gentoo org> CommitDate: Wed Mar 8 21:25:10 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f9f6aea media-gfx/rawtherapee: use correct slots for more deps Bug: https://bugs.gentoo.org/876715 Signed-off-by: Ben Kohler gentoo.org> media-gfx/rawtherapee/rawtherapee-5.9-r3.ebuild | 80 +++++++++++++++++++++++++ 1 file changed, 80 insertions(+) diff --git a/media-gfx/rawtherapee/rawtherapee-5.9-r3.ebuild b/media-gfx/rawtherapee/rawtherapee-5.9-r3.ebuild new file mode 100644 index 000000000000..199a2170f1e1 --- /dev/null +++ b/media-gfx/rawtherapee/rawtherapee-5.9-r3.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2023 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-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 +}