1 |
radhermit 11/10/28 20:26:31 |
2 |
|
3 |
Modified: ChangeLog rawtherapee-4.0.4.ebuild |
4 |
Log: |
5 |
Use lcms slot dep and fix check for openmp support (thanks to ssuominen). |
6 |
|
7 |
(Portage version: 2.2.0_alpha71/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.2 media-gfx/rawtherapee/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/rawtherapee/ChangeLog?rev=1.2&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/rawtherapee/ChangeLog?rev=1.2&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/rawtherapee/ChangeLog?r1=1.1&r2=1.2 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/media-gfx/rawtherapee/ChangeLog,v |
19 |
retrieving revision 1.1 |
20 |
retrieving revision 1.2 |
21 |
diff -u -r1.1 -r1.2 |
22 |
--- ChangeLog 28 Oct 2011 19:55:01 -0000 1.1 |
23 |
+++ ChangeLog 28 Oct 2011 20:26:31 -0000 1.2 |
24 |
@@ -1,6 +1,9 @@ |
25 |
# ChangeLog for media-gfx/rawtherapee |
26 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/rawtherapee/ChangeLog,v 1.1 2011/10/28 19:55:01 radhermit Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/rawtherapee/ChangeLog,v 1.2 2011/10/28 20:26:31 radhermit Exp $ |
29 |
+ |
30 |
+ 28 Oct 2011; Tim Harder <radhermit@g.o> rawtherapee-4.0.4.ebuild: |
31 |
+ Use lcms slot dep and fix check for openmp support (thanks to ssuominen). |
32 |
|
33 |
*rawtherapee-4.0.4 (28 Oct 2011) |
34 |
|
35 |
|
36 |
|
37 |
|
38 |
1.2 media-gfx/rawtherapee/rawtherapee-4.0.4.ebuild |
39 |
|
40 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/rawtherapee/rawtherapee-4.0.4.ebuild?rev=1.2&view=markup |
41 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/rawtherapee/rawtherapee-4.0.4.ebuild?rev=1.2&content-type=text/plain |
42 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/rawtherapee/rawtherapee-4.0.4.ebuild?r1=1.1&r2=1.2 |
43 |
|
44 |
Index: rawtherapee-4.0.4.ebuild |
45 |
=================================================================== |
46 |
RCS file: /var/cvsroot/gentoo-x86/media-gfx/rawtherapee/rawtherapee-4.0.4.ebuild,v |
47 |
retrieving revision 1.1 |
48 |
retrieving revision 1.2 |
49 |
diff -u -r1.1 -r1.2 |
50 |
--- rawtherapee-4.0.4.ebuild 28 Oct 2011 19:55:01 -0000 1.1 |
51 |
+++ rawtherapee-4.0.4.ebuild 28 Oct 2011 20:26:31 -0000 1.2 |
52 |
@@ -1,10 +1,10 @@ |
53 |
# Copyright 1999-2011 Gentoo Foundation |
54 |
# Distributed under the terms of the GNU General Public License v2 |
55 |
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/rawtherapee/rawtherapee-4.0.4.ebuild,v 1.1 2011/10/28 19:55:01 radhermit Exp $ |
56 |
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/rawtherapee/rawtherapee-4.0.4.ebuild,v 1.2 2011/10/28 20:26:31 radhermit Exp $ |
57 |
|
58 |
EAPI="4" |
59 |
|
60 |
-inherit cmake-utils |
61 |
+inherit cmake-utils toolchain-funcs |
62 |
|
63 |
DESCRIPTION="Digital photo editing tool focused on RAW image file manipulation and conversion" |
64 |
HOMEPAGE="http://www.rawtherapee.com/" |
65 |
@@ -22,17 +22,20 @@ |
66 |
media-libs/tiff |
67 |
media-libs/libpng |
68 |
media-libs/libiptcdata |
69 |
- media-libs/lcms |
70 |
+ media-libs/lcms:2 |
71 |
sys-libs/zlib |
72 |
virtual/jpeg" |
73 |
DEPEND="${RDEPEND} |
74 |
app-arch/xz-utils |
75 |
- dev-util/pkgconfig |
76 |
- openmp? ( sys-devel/gcc[openmp] )" |
77 |
+ dev-util/pkgconfig" |
78 |
|
79 |
PATCHES=( "${FILESDIR}"/${P}-nohg.patch ) |
80 |
|
81 |
pkg_setup() { |
82 |
+ if use openmp ; then |
83 |
+ tc-has-openmp || die "Please switch to an openmp compatible compiler" |
84 |
+ fi |
85 |
+ |
86 |
mycmakeargs=( |
87 |
$(cmake-utils_use openmp OPTION_OMP) |
88 |
$(cmake-utils_use_with bzip2 BZIP) |