1 |
commit: f648cee6a5d8081bf41b86df2054f0280114af82 |
2 |
Author: Francesco Riosa <vivo75 <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon Dec 17 17:40:06 2018 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jan 4 12:59:31 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f648cee6 |
7 |
|
8 |
media-gfx/rawtherapee: version bump to 5.5 |
9 |
|
10 |
see announcement, section "News Relevant to Package Maintainers" to the |
11 |
end of the page: |
12 |
https://rawtherapee.com/blog/rawtherapee-5.5-released |
13 |
|
14 |
Signed-off-by: Francesco Riosa <vivo75 <AT> gmail.com> |
15 |
Closes: https://github.com/gentoo/gentoo/pull/10652 |
16 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
17 |
|
18 |
media-gfx/rawtherapee/Manifest | 1 + |
19 |
media-gfx/rawtherapee/rawtherapee-5.5.ebuild | 71 ++++++++++++++++++++++++++++ |
20 |
2 files changed, 72 insertions(+) |
21 |
|
22 |
diff --git a/media-gfx/rawtherapee/Manifest b/media-gfx/rawtherapee/Manifest |
23 |
index 7e3e38763d1..0baf64c88ae 100644 |
24 |
--- a/media-gfx/rawtherapee/Manifest |
25 |
+++ b/media-gfx/rawtherapee/Manifest |
26 |
@@ -1,3 +1,4 @@ |
27 |
DIST rawtherapee-5.2.tar.xz 10819936 BLAKE2B 6f4474fdf86efe177861a1a4da2178f75c3589b9d5649d43f7b70a13e51c9658af74fbaea4528e5dc34287b8109cc30608028ca348eb2186d7a2452322139169 SHA512 ed2ff2e96ad4f0c50ebbc8a232d85b8c5b118bc956bc26aa72beb4741f464c46900aa668127fe7bdc963fabb5c2e2931c50cf784d1fc4fbc4dce3090412a1b5d |
28 |
DIST rawtherapee-5.3.tar.xz 11042548 BLAKE2B 7e0697fc0c0e8b3078ccf1f9079a4adebf7c12e8e91e1d5499f304e93bda1d025540d3744b719535133f249941e2b4dcee98189d20e3009eceeb8531252bfd1a SHA512 8a9a7fe98ba0c8e03e964c809afc90afcc03a31b8b88e0f9e2ab4ecdc1fbe4712231f692d0585d95d638cae7171393e01860296149fc9dfbd86ecb35c3709284 |
29 |
DIST rawtherapee-5.4.tar.xz 11991988 BLAKE2B 625b4e04b82f34d994e0f23f6aea6af4b0a2af2b6a325e916e7b51f8a83b568b65bef47a489be547d1e2437f9637b2ecea0d69d95bfabd53b61b11b46d9e36bc SHA512 6dc9a82202b80675f90eeb8f08c4484700561861f296546ae9425c6e9603f6e84bdc0859896c333d2367cc0b371c6bb6ab2fe36ff3d6f56419cbf18a58d8ef89 |
30 |
+DIST rawtherapee-5.5.tar.xz 12163556 BLAKE2B 6251655b5bcc8b805eda584e386771b14dec15a2d8a96518bdb79d7e31354c78eb263f6964d7f6ffaeb35a127d3f775c9c39dfebf072a0bfc14d284358acd03c SHA512 fcb546ad6e420200a821c89555ec259140995a3bc69429d2ecb648632c02e10ffceebbd7296e879c93b53ad8efa45ea71336d936cd90cead723e70e8932a413a |
31 |
|
32 |
diff --git a/media-gfx/rawtherapee/rawtherapee-5.5.ebuild b/media-gfx/rawtherapee/rawtherapee-5.5.ebuild |
33 |
new file mode 100644 |
34 |
index 00000000000..7ac0084fb60 |
35 |
--- /dev/null |
36 |
+++ b/media-gfx/rawtherapee/rawtherapee-5.5.ebuild |
37 |
@@ -0,0 +1,71 @@ |
38 |
+# Copyright 1999-2018 Gentoo Authors |
39 |
+# Distributed under the terms of the GNU General Public License v2 |
40 |
+ |
41 |
+EAPI=6 |
42 |
+ |
43 |
+inherit cmake-utils toolchain-funcs flag-o-matic gnome2-utils xdg-utils |
44 |
+ |
45 |
+MY_P=${P/_rc/-rc} |
46 |
+DESCRIPTION="A powerful cross-platform raw image processing program" |
47 |
+HOMEPAGE="http://www.rawtherapee.com/" |
48 |
+SRC_URI="http://rawtherapee.com/shared/source/${MY_P}.tar.xz" |
49 |
+ |
50 |
+LICENSE="GPL-3" |
51 |
+SLOT="0" |
52 |
+KEYWORDS="~amd64 ~x86" |
53 |
+ |
54 |
+IUSE="openmp" |
55 |
+ |
56 |
+RDEPEND="x11-libs/gtk+:3 |
57 |
+ dev-libs/expat |
58 |
+ dev-libs/libsigc++:2 |
59 |
+ media-libs/libcanberra[gtk3] |
60 |
+ media-libs/tiff:0 |
61 |
+ media-libs/libpng:0 |
62 |
+ media-libs/libiptcdata |
63 |
+ media-libs/lcms:2 |
64 |
+ media-libs/lensfun |
65 |
+ sci-libs/fftw:3.0 |
66 |
+ sys-libs/zlib |
67 |
+ virtual/jpeg:0" |
68 |
+DEPEND="${RDEPEND} |
69 |
+ app-arch/xz-utils |
70 |
+ virtual/pkgconfig |
71 |
+ dev-cpp/gtkmm:3.0" |
72 |
+ |
73 |
+S="${WORKDIR}/${MY_P}" |
74 |
+ |
75 |
+pkg_pretend() { |
76 |
+ if use openmp ; then |
77 |
+ tc-has-openmp || die "Please switch to an openmp compatible compiler" |
78 |
+ fi |
79 |
+} |
80 |
+ |
81 |
+src_configure() { |
82 |
+ # upstream tested that "fast-math" give wrong results, so filter it |
83 |
+ # https://bugs.gentoo.org/show_bug.cgi?id=606896#c2 |
84 |
+ filter-flags -ffast-math |
85 |
+ # -Ofast enable "fast-math" both in gcc and clang |
86 |
+ replace-flags -Ofast -O3 |
87 |
+ # In case we add an ebuild for klt we can (i)use that one, |
88 |
+ # see http://cecas.clemson.edu/~stb/klt/ |
89 |
+ local mycmakeargs=( |
90 |
+ -DOPTION_OMP=$(usex openmp) |
91 |
+ -DDOCDIR=/usr/share/doc/${PF} |
92 |
+ -DCREDITSDIR=/usr/share/${PN} |
93 |
+ -DLICENCEDIR=/usr/share/${PN} |
94 |
+ -DCACHE_NAME_SUFFIX="" |
95 |
+ -DWITH_SYSTEM_KLT="off" |
96 |
+ ) |
97 |
+ cmake-utils_src_configure |
98 |
+} |
99 |
+ |
100 |
+pkg_postinst() { |
101 |
+ gnome2_icon_cache_update |
102 |
+ xdg_desktop_database_update |
103 |
+} |
104 |
+ |
105 |
+pkg_postrm() { |
106 |
+ gnome2_icon_cache_update |
107 |
+ xdg_desktop_database_update |
108 |
+} |