summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancesco Riosa <vivo75@gmail.com>2017-05-16 21:28:22 +0200
committerPatrice Clement <monsieurp@gentoo.org>2017-05-23 23:31:05 +0200
commit0a484189d652c46a45824f1d10e046280bc1dd93 (patch)
tree4c1f8d72a4461555088f58b6a6ce8d20e81c1f11 /media-gfx/rawtherapee
parentapp-forensics/honggfuzz: bump up to 1.0 (diff)
downloadgentoo-0a484189d652c46a45824f1d10e046280bc1dd93.tar.gz
gentoo-0a484189d652c46a45824f1d10e046280bc1dd93.tar.bz2
gentoo-0a484189d652c46a45824f1d10e046280bc1dd93.zip
media-gfx/rawtherapee: version bump 5.1.
Gentoo-Bug: https://bugs.gentoo.org/618152 Closes: https://github.com/gentoo/gentoo/pull/4647
Diffstat (limited to 'media-gfx/rawtherapee')
-rw-r--r--media-gfx/rawtherapee/Manifest1
-rw-r--r--media-gfx/rawtherapee/rawtherapee-4.2-r1.ebuild8
-rw-r--r--media-gfx/rawtherapee/rawtherapee-5.1.ebuild64
3 files changed, 69 insertions, 4 deletions
diff --git a/media-gfx/rawtherapee/Manifest b/media-gfx/rawtherapee/Manifest
index efc46b3bc7b0..63d0437721a8 100644
--- a/media-gfx/rawtherapee/Manifest
+++ b/media-gfx/rawtherapee/Manifest
@@ -1,2 +1,3 @@
DIST rawtherapee-4.2.tar.xz 7787664 SHA256 fa4c13e8842df096b19d2dabaed5a61f5f9d4547f7b4f0dc6b77f80bdec16479 SHA512 feec61aeb84804cf01ff03fa9d7309f0eb3c04c43818c8397cc6f3ee762aca19484bce7594414d2141248b9740bdd4269fd86f76dcf391c61d4647fa169d48f6 WHIRLPOOL 56cc3e95ae7484cb91cd6c5fd32504b3fbfb17b9d50a38fa490300ff1b096e80a1d5060db3619c34f8b214dd413bfaab57a9748f5a365a87d257e75c753f307a
DIST rawtherapee-5.0-gtk3.tar.xz 10442940 SHA256 25c6bb738535d1efa905bd21fb732bdea352d589d9740a730ec409a49e7eacd8 SHA512 febcde98ada1059d6553a1dc2a86235adaf5fb8ca81b9f744748d3e8ef52109048ce43996f261796b2f345f2ce4a27c4ccc219b33ccfb79c2c2fa6476f19b41a WHIRLPOOL 479a7f37f523c533cf268edc8f2c710ded867febc13df3c4156040ca4d36ad86ff4af2613e9155506eb6a4620d4323fdc3d3f1374c4332393ba57b4b01bcc948
+DIST rawtherapee-5.1.tar.xz 10785516 SHA256 fb742065a6b2e1b89df67c70395e52ee1ebd537c86dfc473b41e7af171655b67 SHA512 6a881fe24a4109c7db39cb8bee500eb2f9357c479ddb32b3c9b7987aa5d12e4f10083533b5657a0e0f0713fe4ebc58e0dcf204eb8d5c5b656f3e7867a775ab19 WHIRLPOOL 0fc24843015750ab4747311d5ac6f40e5ebd9cedaa9c78e73c7fa7250dcbda9ea1260b7f6fc9a0c91559be4530a84e3826f991d9b9199d7caf25691ad78fd78b
diff --git a/media-gfx/rawtherapee/rawtherapee-4.2-r1.ebuild b/media-gfx/rawtherapee/rawtherapee-4.2-r1.ebuild
index 3c58e53eea24..71ee7204dde0 100644
--- a/media-gfx/rawtherapee/rawtherapee-4.2-r1.ebuild
+++ b/media-gfx/rawtherapee/rawtherapee-4.2-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -21,13 +21,13 @@ RDEPEND="bzip2? ( app-arch/bzip2 )
dev-libs/expat
dev-libs/libsigc++:2
media-libs/libcanberra[gtk]
- media-libs/tiff
- media-libs/libpng
+ media-libs/tiff:0
+ media-libs/libpng:0
media-libs/libiptcdata
media-libs/lcms:2
sci-libs/fftw:3.0
sys-libs/zlib
- virtual/jpeg"
+ virtual/jpeg:0"
DEPEND="${RDEPEND}
app-arch/xz-utils
virtual/pkgconfig"
diff --git a/media-gfx/rawtherapee/rawtherapee-5.1.ebuild b/media-gfx/rawtherapee/rawtherapee-5.1.ebuild
new file mode 100644
index 000000000000..543edfb71014
--- /dev/null
+++ b/media-gfx/rawtherapee/rawtherapee-5.1.ebuild
@@ -0,0 +1,64 @@
+# 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="bzip2 openmp"
+
+RDEPEND="bzip2? ( app-arch/bzip2 )
+ 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
+ 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
+ local mycmakeargs=(
+ -DOPTION_OMP=$(usex openmp)
+ -DBZIP=$(usex bzip2)
+ -DDOCDIR=/usr/share/doc/${PF}
+ -DCREDITSDIR=/usr/share/${PN}
+ -DLICENCEDIR=/usr/share/${PN}
+ -DCACHE_NAME_SUFFIX=""
+ -DCMAKE_CXX_FLAGS="-std=c++11"
+ )
+ cmake-utils_src_configure
+}