1 |
radhermit 15/02/01 16:40:45 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: darktable-1.6.2.ebuild |
5 |
Log: |
6 |
Version bump. Force SSE3 support to be enabled as it's required. |
7 |
|
8 |
(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3) |
9 |
|
10 |
Revision Changes Path |
11 |
1.62 media-gfx/darktable/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/darktable/ChangeLog?rev=1.62&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/darktable/ChangeLog?rev=1.62&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/darktable/ChangeLog?r1=1.61&r2=1.62 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/media-gfx/darktable/ChangeLog,v |
20 |
retrieving revision 1.61 |
21 |
retrieving revision 1.62 |
22 |
diff -u -r1.61 -r1.62 |
23 |
--- ChangeLog 24 Dec 2014 18:15:21 -0000 1.61 |
24 |
+++ ChangeLog 1 Feb 2015 16:40:45 -0000 1.62 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for media-gfx/darktable |
27 |
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/darktable/ChangeLog,v 1.61 2014/12/24 18:15:21 radhermit Exp $ |
29 |
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/darktable/ChangeLog,v 1.62 2015/02/01 16:40:45 radhermit Exp $ |
31 |
+ |
32 |
+*darktable-1.6.2 (01 Feb 2015) |
33 |
+ |
34 |
+ 01 Feb 2015; Tim Harder <radhermit@g.o> +darktable-1.6.2.ebuild: |
35 |
+ Version bump. Force SSE3 support to be enabled as it's required. |
36 |
|
37 |
*darktable-1.6.1 (24 Dec 2014) |
38 |
|
39 |
|
40 |
|
41 |
|
42 |
1.1 media-gfx/darktable/darktable-1.6.2.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/darktable/darktable-1.6.2.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/darktable/darktable-1.6.2.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: darktable-1.6.2.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2015 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/media-gfx/darktable/darktable-1.6.2.ebuild,v 1.1 2015/02/01 16:40:45 radhermit Exp $ |
52 |
|
53 |
EAPI=5 |
54 |
|
55 |
inherit cmake-utils flag-o-matic toolchain-funcs gnome2-utils fdo-mime pax-utils eutils |
56 |
|
57 |
DESCRIPTION="A virtual lighttable and darkroom for photographers" |
58 |
HOMEPAGE="http://www.darktable.org/" |
59 |
SRC_URI="https://github.com/darktable-org/${PN}/releases/download/release-${PV}/${P}.tar.xz |
60 |
doc? ( mirror://sourceforge/${PN}/${PV}/${PN}-usermanual.pdf -> ${PN}-usermanual-${PV}.pdf )" |
61 |
|
62 |
LICENSE="GPL-3 CC-BY-3.0" |
63 |
SLOT="0" |
64 |
KEYWORDS="~amd64 ~x86" |
65 |
LANGS=" cs da de el es fr it ja nl pl pt_BR pt_PT ru sq sv uk" |
66 |
# TODO add lua once dev-lang/lua-5.2 is unmasked |
67 |
IUSE="colord cpu_flags_x86_sse3 doc flickr geo gphoto2 graphicsmagick jpeg2k kde libsecret |
68 |
nls opencl openmp openexr pax_kernel +rawspeed +slideshow +squish web-services webp |
69 |
${LANGS// / linguas_}" |
70 |
|
71 |
CDEPEND=" |
72 |
dev-db/sqlite:3 |
73 |
>=dev-libs/glib-2.28:2 |
74 |
dev-libs/libxml2:2 |
75 |
gnome-base/librsvg:2 |
76 |
media-gfx/exiv2:0=[xmp] |
77 |
media-libs/lcms:2 |
78 |
>=media-libs/lensfun-0.2.3 |
79 |
media-libs/libpng:0= |
80 |
media-libs/tiff:0 |
81 |
net-misc/curl |
82 |
virtual/jpeg |
83 |
x11-libs/cairo |
84 |
x11-libs/gdk-pixbuf:2 |
85 |
x11-libs/gtk+:2 |
86 |
x11-libs/pango |
87 |
colord? ( x11-misc/colord:0= ) |
88 |
flickr? ( media-libs/flickcurl ) |
89 |
geo? ( net-libs/libsoup:2.4 ) |
90 |
gphoto2? ( media-libs/libgphoto2:= ) |
91 |
graphicsmagick? ( media-gfx/graphicsmagick ) |
92 |
jpeg2k? ( media-libs/openjpeg:0 ) |
93 |
libsecret? ( |
94 |
>=app-crypt/libsecret-0.18 |
95 |
dev-libs/json-glib |
96 |
) |
97 |
opencl? ( virtual/opencl ) |
98 |
openexr? ( media-libs/openexr:0= ) |
99 |
slideshow? ( |
100 |
media-libs/libsdl |
101 |
virtual/glu |
102 |
virtual/opengl |
103 |
) |
104 |
web-services? ( dev-libs/json-glib ) |
105 |
webp? ( media-libs/libwebp:0= )" |
106 |
RDEPEND="${CDEPEND} |
107 |
x11-themes/gtk-engines:2 |
108 |
kde? ( kde-base/kwalletd )" |
109 |
DEPEND="${CDEPEND} |
110 |
virtual/pkgconfig |
111 |
nls? ( sys-devel/gettext )" |
112 |
|
113 |
pkg_pretend() { |
114 |
if use openmp ; then |
115 |
tc-has-openmp || die "Please switch to an openmp compatible compiler" |
116 |
fi |
117 |
|
118 |
if ! use cpu_flags_x86_sse3 ; then |
119 |
eerror "This package requires a CPU supporting the SSE3 instruction set." && die |
120 |
fi |
121 |
} |
122 |
|
123 |
src_prepare() { |
124 |
use cpu_flags_x86_sse3 && append-flags -msse3 |
125 |
|
126 |
sed -e "s:\(/share/doc/\)darktable:\1${PF}:" \ |
127 |
-e "s:\(\${SHARE_INSTALL}/doc/\)darktable:\1${PF}:" \ |
128 |
-e "s:LICENSE::" \ |
129 |
-i doc/CMakeLists.txt || die |
130 |
|
131 |
cmake-utils_src_prepare |
132 |
} |
133 |
|
134 |
src_configure() { |
135 |
local mycmakeargs=( |
136 |
$(cmake-utils_use_use colord COLORD) |
137 |
$(cmake-utils_use_use flickr FLICKR) |
138 |
$(cmake-utils_use_use geo GEO) |
139 |
$(cmake-utils_use_use gphoto2 CAMERA_SUPPORT) |
140 |
$(cmake-utils_use_use graphicsmagick GRAPHICSMAGICK) |
141 |
$(cmake-utils_use_use jpeg2k OPENJPEG) |
142 |
$(cmake-utils_use_use kde KWALLET) |
143 |
$(cmake-utils_use_use libsecret LIBSECRET) |
144 |
$(cmake-utils_use_use libsecret GLIBJSON) |
145 |
$(cmake-utils_use_use nls NLS) |
146 |
$(cmake-utils_use_use opencl OPENCL) |
147 |
$(cmake-utils_use_use openexr OPENEXR) |
148 |
$(cmake-utils_use_use openmp OPENMP) |
149 |
$(cmake-utils_use !rawspeed DONT_USE_RAWSPEED) |
150 |
$(cmake-utils_use_use squish SQUISH) |
151 |
$(cmake-utils_use_build slideshow SLIDESHOW) |
152 |
$(cmake-utils_use_use web-services GLIBJSON) |
153 |
$(cmake-utils_use_use webp WEBP) |
154 |
-DUSE_LUA=OFF |
155 |
-DCUSTOM_CFLAGS=ON |
156 |
-DINSTALL_IOP_EXPERIMENTAL=ON |
157 |
-DINSTALL_IOP_LEGACY=ON |
158 |
) |
159 |
cmake-utils_src_configure |
160 |
} |
161 |
|
162 |
src_install() { |
163 |
cmake-utils_src_install |
164 |
use doc && dodoc "${DISTDIR}"/${PN}-usermanual-${PV}.pdf |
165 |
|
166 |
for lang in ${LANGS} ; do |
167 |
use linguas_${lang} || rm -r "${ED}"/usr/share/locale/${lang} |
168 |
done |
169 |
|
170 |
if use pax_kernel && use opencl ; then |
171 |
pax-mark Cm "${ED}"/usr/bin/${PN} || die |
172 |
eqawarn "USE=pax_kernel is set meaning that ${PN} will be run" |
173 |
eqawarn "under a PaX enabled kernel. To do so, the ${PN} binary" |
174 |
eqawarn "must be modified and this *may* lead to breakage! If" |
175 |
eqawarn "you suspect that ${PN} is broken by this modification," |
176 |
eqawarn "please open a bug." |
177 |
fi |
178 |
} |
179 |
|
180 |
pkg_preinst() { |
181 |
gnome2_icon_savelist |
182 |
} |
183 |
|
184 |
pkg_postinst() { |
185 |
gnome2_icon_cache_update |
186 |
fdo-mime_desktop_database_update |
187 |
} |
188 |
|
189 |
pkg_postrm() { |
190 |
gnome2_icon_cache_update |
191 |
fdo-mime_desktop_database_update |
192 |
} |