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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2F12F138334 for ; Thu, 26 Sep 2019 15:51:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 27477E09F4; Thu, 26 Sep 2019 15:51:17 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id ED070E09F4 for ; Thu, 26 Sep 2019 15:51:16 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 360DD34B5E4 for ; Thu, 26 Sep 2019 15:51:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A9AE47FE for ; Thu, 26 Sep 2019 15:51:12 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1569512930.8ff12a58497d55cbde453f2de6ec1d8088724dd1.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/rawtherapee/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-gfx/rawtherapee/Manifest media-gfx/rawtherapee/rawtherapee-5.7.ebuild X-VCS-Directories: media-gfx/rawtherapee/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 8ff12a58497d55cbde453f2de6ec1d8088724dd1 X-VCS-Branch: master Date: Thu, 26 Sep 2019 15:51:12 +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: 6052b764-4d90-499a-b6b4-5952c2497549 X-Archives-Hash: aa874ac81348a578598b40e24ee422df commit: 8ff12a58497d55cbde453f2de6ec1d8088724dd1 Author: Francesco Riosa gmail com> AuthorDate: Thu Sep 26 10:36:24 2019 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Thu Sep 26 15:48:50 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ff12a58 media-gfx/rawtherapee: version bump to 5.7 Signed-off-by: Francesco Riosa gmail.com> Closes: https://bugs.gentoo.org/695408 Package-Manager: Portage-2.3.76, Repoman-2.3.17 Closes: https://github.com/gentoo/gentoo/pull/13046 Signed-off-by: Joonas Niilola gentoo.org> media-gfx/rawtherapee/Manifest | 1 + media-gfx/rawtherapee/rawtherapee-5.7.ebuild | 72 ++++++++++++++++++++++++++++ 2 files changed, 73 insertions(+) diff --git a/media-gfx/rawtherapee/Manifest b/media-gfx/rawtherapee/Manifest index e45ab3b82ab..7026f26c132 100644 --- a/media-gfx/rawtherapee/Manifest +++ b/media-gfx/rawtherapee/Manifest @@ -1 +1,2 @@ DIST rawtherapee-5.6.tar.xz 12083264 BLAKE2B a0eb09e98e1041b393ad3aa671641a2a4855379cef6245ca3cca2588ff5f50fedf8becd88bad1ab70f63dfb575f5f22c141040defa10b47268947415999d8e79 SHA512 2c751c7631ea2ef65c334fa0baab16d4c3161fae66487870c476f07f1ea3604a5e28a251fd98d9688cafc088302af7aa6e28e9b27a37f916715708ed5e731f0f +DIST rawtherapee-5.7.tar.xz 12092496 BLAKE2B 40d97d09106d7d2b843376b4c58daac87f99315604bd8e704e1f231c17d01896cd732da2449f84a59ed221fbf6a929a5db8e728977431fdcc07f3d30120b633a SHA512 8101ec66d9be4cab0c0b91336a3f83a32a6220a2f342f1c74d604c15686ee08bc7dbc090232916f13d5436957d800b64b284a8a9d3352f2f721266b07e005162 diff --git a/media-gfx/rawtherapee/rawtherapee-5.7.ebuild b/media-gfx/rawtherapee/rawtherapee-5.7.ebuild new file mode 100644 index 00000000000..48b8dca754d --- /dev/null +++ b/media-gfx/rawtherapee/rawtherapee-5.7.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_P=${P/_rc/-rc} +inherit cmake-utils 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 ~x86" + +IUSE="openmp" + +RDEPEND=" + dev-libs/expat + dev-libs/libsigc++:2 + media-libs/lcms:2 + media-libs/lensfun + media-libs/libcanberra[gtk3] + media-libs/libiptcdata + media-libs/libpng:0 + media-libs/tiff:0 + sci-libs/fftw:3.0 + sys-libs/zlib + virtual/jpeg:0 + x11-libs/gtk+:3" +DEPEND="${RDEPEND} + dev-cpp/gtkmm:3.0 + gnome-base/librsvg" +BDEPEND="virtual/pkgconfig" + +S="${WORKDIR}/${MY_P}" + +pkg_pretend() { + if use openmp ; then + tc-has-openmp || die "Please switch to an openmp compatible compiler" + fi +} + +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" + ) + cmake-utils_src_configure +} + +pkg_postinst() { + xdg_icon_cache_update + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_icon_cache_update + xdg_desktop_database_update +}