diff options
author | Francesco Riosa <vivo75@gmail.com> | 2017-10-02 15:10:49 +0200 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2017-10-03 23:52:54 +0200 |
commit | 91b75294cb4e2e73a852b1000848a699ecf53ce2 (patch) | |
tree | c538a4dba8a074bed793058670af4caa73c31487 /media-gfx/rawtherapee | |
parent | profiles/updates: Remove stale update for dev-qt/qtphonon (diff) | |
download | gentoo-91b75294cb4e2e73a852b1000848a699ecf53ce2.tar.gz gentoo-91b75294cb4e2e73a852b1000848a699ecf53ce2.tar.bz2 gentoo-91b75294cb4e2e73a852b1000848a699ecf53ce2.zip |
media-gfx/rawtherapee: version bump to 5.3.
Closes: https://github.com/gentoo/gentoo/pull/5837
Diffstat (limited to 'media-gfx/rawtherapee')
-rw-r--r-- | media-gfx/rawtherapee/Manifest | 1 | ||||
-rw-r--r-- | media-gfx/rawtherapee/rawtherapee-5.3.ebuild | 66 |
2 files changed, 67 insertions, 0 deletions
diff --git a/media-gfx/rawtherapee/Manifest b/media-gfx/rawtherapee/Manifest index 67032d336aba..761e93636909 100644 --- a/media-gfx/rawtherapee/Manifest +++ b/media-gfx/rawtherapee/Manifest @@ -1,2 +1,3 @@ DIST rawtherapee-5.1.tar.xz 10785516 SHA256 fb742065a6b2e1b89df67c70395e52ee1ebd537c86dfc473b41e7af171655b67 SHA512 6a881fe24a4109c7db39cb8bee500eb2f9357c479ddb32b3c9b7987aa5d12e4f10083533b5657a0e0f0713fe4ebc58e0dcf204eb8d5c5b656f3e7867a775ab19 WHIRLPOOL 0fc24843015750ab4747311d5ac6f40e5ebd9cedaa9c78e73c7fa7250dcbda9ea1260b7f6fc9a0c91559be4530a84e3826f991d9b9199d7caf25691ad78fd78b DIST rawtherapee-5.2.tar.xz 10819936 SHA256 5c32679bfb77eca36c26288483be75696086459b7a59bd4437e371ea1bf827b6 SHA512 ed2ff2e96ad4f0c50ebbc8a232d85b8c5b118bc956bc26aa72beb4741f464c46900aa668127fe7bdc963fabb5c2e2931c50cf784d1fc4fbc4dce3090412a1b5d WHIRLPOOL 02c71705b76df25e86b6ba5bf6439a3a2966e84dfa968b0a82c1dbe0c6297af826d2ffff6e973a56db21f5821d0a4eead6c05422bc6cb36269ed18b829bad1df +DIST rawtherapee-5.3.tar.xz 11042548 SHA256 97959c946b7cc346affce53efc4bf6eca4125873343f96d1fbe43a5c717f3ef8 SHA512 8a9a7fe98ba0c8e03e964c809afc90afcc03a31b8b88e0f9e2ab4ecdc1fbe4712231f692d0585d95d638cae7171393e01860296149fc9dfbd86ecb35c3709284 WHIRLPOOL 4ad4824ec499a3c10ca20fae5d95e36bc5503a5c878219d4fae12116b96d99c8f02a4017932e753284a93d6d01302cb64363fb953af600fb223b11758ae286ff diff --git a/media-gfx/rawtherapee/rawtherapee-5.3.ebuild b/media-gfx/rawtherapee/rawtherapee-5.3.ebuild new file mode 100644 index 000000000000..a345df7ead1c --- /dev/null +++ b/media-gfx/rawtherapee/rawtherapee-5.3.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils toolchain-funcs flag-o-matic + +DESCRIPTION="A powerful cross-platform raw image processing program" +HOMEPAGE="http://www.rawtherapee.com/" + +MY_P=${P/_rc/-rc} +SRC_URI="http://rawtherapee.com/shared/source/${MY_P}.tar.xz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="openmp" + +RDEPEND="x11-libs/gtk+:3 + dev-libs/expat + dev-libs/libsigc++:2 + media-libs/libcanberra[gtk3] + media-libs/tiff:0 + media-libs/libpng:0 + media-libs/libiptcdata + media-libs/lcms:2 + media-libs/lensfun + sci-libs/fftw:3.0 + sys-libs/zlib + virtual/jpeg:0" +DEPEND="${RDEPEND} + app-arch/xz-utils + virtual/pkgconfig + dev-cpp/gtkmm:3.0" + +S="${WORKDIR}/${MY_P}" + +pkg_pretend() { + if use openmp ; then + tc-has-openmp || die "Please switch to an openmp compatible compiler" + fi + # https://bugs.gentoo.org/show_bug.cgi?id=606896#c2 + # https://github.com/vivo75/vivovl/issues/2 + if [[ $(get-flag -O3) != "-O3" ]] ; then + ewarn "upstream suggest using {C,CXX}FLAGS+=\"-O3\" for better performances" + ewarn "see bug#606896#c2" + ewarn "take a look at https://wiki.gentoo.org/wiki//etc/portage/package.env" + ewarn "for suggestion on how to change environment for a single package" + fi +} + +src_configure() { + filter-flags -ffast-math + # 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 +} |