1 |
commit: 4fff28a85e08d3a3966a944a6d249a3a0c89f525 |
2 |
Author: Sebastian Pipping <sping <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jan 31 17:38:48 2018 +0000 |
4 |
Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jan 31 17:38:48 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4fff28a8 |
7 |
|
8 |
media-libs/gegl: 0.3.28 |
9 |
|
10 |
Package-Manager: Portage-2.3.20, Repoman-2.3.6 |
11 |
|
12 |
media-libs/gegl/Manifest | 1 + |
13 |
media-libs/gegl/gegl-0.3.28.ebuild | 177 +++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 178 insertions(+) |
15 |
|
16 |
diff --git a/media-libs/gegl/Manifest b/media-libs/gegl/Manifest |
17 |
index 8548fe120a4..aa364a5ce72 100644 |
18 |
--- a/media-libs/gegl/Manifest |
19 |
+++ b/media-libs/gegl/Manifest |
20 |
@@ -3,4 +3,5 @@ DIST gegl-0.3.0.tar.bz2 5463571 BLAKE2B 7ac52fb22bab3b84068e10610d8681a5bcf56f6c |
21 |
DIST gegl-0.3.20.tar.bz2 5816967 BLAKE2B 4d1dea5b479dc56599d884c43dd8042f6c1c836fe3b5acdadc9b1a909ab4c4be549322767293cfbc065a5f9386b22a579c9c9d78fbad58a4eb6771eccf3a3b45 SHA512 9067467e3d4bbfe00594a8459c9ea15047c1331764dd3aa2331da7d842a77c98894e3a0e19a7c0b1cb59189ffe03561e9bd12f92bdb8fdf1799afc6a575962f7 |
22 |
DIST gegl-0.3.24.tar.bz2 6519831 BLAKE2B b6f9375de34b17270b92b7aeb0199f9c842813bc74175845ee8e8de8b48bc4d81d973282a1e398a39432c73c485cfb158b368989ecb40361f61f22620d53659a SHA512 c84950a4d2fddcb0fdcce77030841f862b1eeda72b31f115fb3604a52553414873923a321c48ed11a135113f40d026cf65425742663f23af79bfca2392eba9c5 |
23 |
DIST gegl-0.3.26.tar.bz2 6530788 BLAKE2B 1cd1a61737ec94cb30fdf16ca8dcb5667ebaa481d0e234f89b7e8bd9b05b3e515454bf768a66e64c88f61a57c83d51eecad9aab4450502dd3e02ce4f012df7a5 SHA512 1fafd6bb70b539bd31c052d2acfcb332fac92caf2a67e07a8c827db31b877aa373a184475952b6fc4dae455dcceccfd3943d782e9fe50f166323f698faf60957 |
24 |
+DIST gegl-0.3.28.tar.bz2 6530569 BLAKE2B ac802c312a0fa44bec8ec4c41454fc9aabebdb1d968a8f532be7dfcff58480f778e3d21cb6557c221e1206860818618fcfe06f2bb25bfb2e08a76f013ea4f256 SHA512 a515108ea4a65fa1ecc60ed18cd288a85877a5b69e573b8c3de04a2c11a3b2b50cdb5897df3f28c84842e6bd553adbd81053502a1ac8ed1d356332a56c58ce1b |
25 |
DIST gegl-0.3.8.tar.bz2 5876259 BLAKE2B 24199148ffbef6454ea460d126c29f1cc8581e5430bc3e341a8ab48fff701a0d63c4cf8864d04219455feaeb7e03808e8de06cc8ae0a500eb4154f2ec9ba25fe SHA512 13207e7ab4723be1e31bdba5e30e5725e93c1adc61bad1413502128730391dbe7eb35419d243c8d0a1d8794341a58188790adacbb10d2a8e68db861c18d21bfb |
26 |
|
27 |
diff --git a/media-libs/gegl/gegl-0.3.28.ebuild b/media-libs/gegl/gegl-0.3.28.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..e0b6585227b |
30 |
--- /dev/null |
31 |
+++ b/media-libs/gegl/gegl-0.3.28.ebuild |
32 |
@@ -0,0 +1,177 @@ |
33 |
+# Copyright 1999-2018 Gentoo Foundation |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=6 |
37 |
+PYTHON_COMPAT=( python2_7 ) |
38 |
+ |
39 |
+# vala and introspection support is broken, bug #468208 |
40 |
+VALA_USE_DEPEND=vapigen |
41 |
+ |
42 |
+inherit versionator gnome2-utils eutils autotools python-any-r1 vala |
43 |
+ |
44 |
+if [[ ${PV} == *9999* ]]; then |
45 |
+ inherit autotools git-r3 |
46 |
+ EGIT_REPO_URI="git://git.gnome.org/gegl" |
47 |
+ SRC_URI="" |
48 |
+else |
49 |
+ SRC_URI="http://download.gimp.org/pub/${PN}/${PV:0:3}/${P}.tar.bz2" |
50 |
+ KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" |
51 |
+fi |
52 |
+ |
53 |
+DESCRIPTION="A graph based image processing framework" |
54 |
+HOMEPAGE="http://www.gegl.org/" |
55 |
+ |
56 |
+LICENSE="|| ( GPL-3 LGPL-3 )" |
57 |
+SLOT="0.3" |
58 |
+ |
59 |
+IUSE="cairo cpu_flags_x86_mmx cpu_flags_x86_sse debug ffmpeg +introspection jpeg2k lcms lensfun openexr raw sdl svg test tiff umfpack vala v4l webp" |
60 |
+REQUIRED_USE=" |
61 |
+ svg? ( cairo ) |
62 |
+ vala? ( introspection ) |
63 |
+" |
64 |
+ |
65 |
+# NOTE: Even current libav 11.4 does not have AV_CODEC_CAP_VARIABLE_FRAME_SIZE |
66 |
+# so there is no chance to support libav right now (Gentoo bug #567638) |
67 |
+# If it returns, please check prior GEGL ebuilds for how libav was integrated. Thanks! |
68 |
+RDEPEND=" |
69 |
+ >=dev-libs/glib-2.44:2 |
70 |
+ dev-libs/json-glib |
71 |
+ >=media-libs/babl-0.1.42 |
72 |
+ sys-libs/zlib |
73 |
+ >=x11-libs/gdk-pixbuf-2.32:2 |
74 |
+ x11-libs/pango |
75 |
+ |
76 |
+ cairo? ( >=x11-libs/cairo-1.12.2 ) |
77 |
+ ffmpeg? ( |
78 |
+ >=media-video/ffmpeg-2.8:0= |
79 |
+ ) |
80 |
+ introspection? ( >=dev-libs/gobject-introspection-1.32:= ) |
81 |
+ virtual/jpeg:0= |
82 |
+ jpeg2k? ( >=media-libs/jasper-1.900.1:= ) |
83 |
+ lcms? ( >=media-libs/lcms-2.8:2 ) |
84 |
+ lensfun? ( >=media-libs/lensfun-0.2.5 ) |
85 |
+ openexr? ( >=media-libs/openexr-1.6.1:= ) |
86 |
+ >=media-libs/libpng-1.6.0:0= |
87 |
+ raw? ( >=media-libs/libraw-0.15.4:0= ) |
88 |
+ sdl? ( >=media-libs/libsdl-1.2.0 ) |
89 |
+ svg? ( >=gnome-base/librsvg-2.40.6:2 ) |
90 |
+ tiff? ( >=media-libs/tiff-4:0 ) |
91 |
+ umfpack? ( sci-libs/umfpack ) |
92 |
+ v4l? ( >=media-libs/libv4l-1.0.1 ) |
93 |
+ webp? ( >=media-libs/libwebp-0.5.0:= ) |
94 |
+" |
95 |
+DEPEND="${RDEPEND} |
96 |
+ >=dev-util/gtk-doc-am-1 |
97 |
+ >=sys-devel/gettext-0.19.8 |
98 |
+ dev-lang/perl |
99 |
+ virtual/pkgconfig |
100 |
+ >=sys-devel/libtool-2.2 |
101 |
+ test? ( introspection? ( |
102 |
+ $(python_gen_any_dep '>=dev-python/pygobject-3.2[${PYTHON_USEDEP}]') ) ) |
103 |
+ vala? ( $(vala_depend) ) |
104 |
+" |
105 |
+ |
106 |
+pkg_setup() { |
107 |
+ use test && use introspection && python-any-r1_pkg_setup |
108 |
+} |
109 |
+ |
110 |
+src_prepare() { |
111 |
+ default |
112 |
+ |
113 |
+ # FIXME: the following should be proper patch sent to upstream |
114 |
+ # fix OSX loadable module filename extension |
115 |
+ sed -i -e 's/\.dylib/.bundle/' configure.ac || die |
116 |
+ # don't require Apple's OpenCL on versions of OSX that don't have it |
117 |
+ if [[ ${CHOST} == *-darwin* && ${CHOST#*-darwin} -le 9 ]] ; then |
118 |
+ sed -i -e 's/#ifdef __APPLE__/#if 0/' gegl/opencl/* || die |
119 |
+ fi |
120 |
+ |
121 |
+ # commit 7c78497b : tests that use gegl.png are broken on non-amd64 |
122 |
+ sed -e '/clones.xml/d' \ |
123 |
+ -e '/composite-transform.xml/d' \ |
124 |
+ -i tests/compositions/Makefile.am || die |
125 |
+ |
126 |
+ epatch "${FILESDIR}"/${PN}-0.3.12-failing-tests.patch |
127 |
+ |
128 |
+ eautoreconf |
129 |
+ |
130 |
+ gnome2_environment_reset |
131 |
+ |
132 |
+ use vala && vala_src_prepare |
133 |
+} |
134 |
+ |
135 |
+src_configure() { |
136 |
+ # never enable altering of CFLAGS via profile option |
137 |
+ # libspiro: not in portage main tree |
138 |
+ # disable documentation as the generating is bit automagic |
139 |
+ # if anyone wants to work on it just create bug with patch |
140 |
+ |
141 |
+ # Also please note that: |
142 |
+ # |
143 |
+ # - Some auto-detections are not patched away since the docs are |
144 |
+ # not built (--disable-docs, lack of --enable-gtk-doc) and these |
145 |
+ # tools affect re-generation of docs, only |
146 |
+ # (e.g. ruby, asciidoc, dot (of graphviz), enscript) |
147 |
+ # |
148 |
+ # - Parameter --with-exiv2 compiles a noinst-app only, no use |
149 |
+ # |
150 |
+ # - Parameter --disable-workshop disables any use of Lua, effectivly |
151 |
+ # |
152 |
+ # - v4l support does not work with our media-libs/libv4l-0.8.9, |
153 |
+ # upstream bug at https://bugzilla.gnome.org/show_bug.cgi?id=654675 |
154 |
+ # |
155 |
+ # - There are two checks for dot, one controllable by --with(out)-graphviz |
156 |
+ # which toggles HAVE_GRAPHVIZ that is not used anywhere. Yes. |
157 |
+ # |
158 |
+ # - mrg is not in tree and gexiv2 support only has effect when mrg support |
159 |
+ # is enabled |
160 |
+ # |
161 |
+ # So that's why USE="exif graphviz lua v4l" got resolved. More at: |
162 |
+ # https://bugs.gentoo.org/show_bug.cgi?id=451136 |
163 |
+ # |
164 |
+ econf \ |
165 |
+ --disable-docs \ |
166 |
+ --disable-profile \ |
167 |
+ --disable-silent-rules \ |
168 |
+ --disable-workshop \ |
169 |
+ --program-suffix=-${SLOT} \ |
170 |
+ --with-gdk-pixbuf \ |
171 |
+ --with-pango \ |
172 |
+ --without-libspiro \ |
173 |
+ $(use_enable cpu_flags_x86_mmx mmx) \ |
174 |
+ $(use_enable cpu_flags_x86_sse sse) \ |
175 |
+ $(use_enable debug) \ |
176 |
+ $(use_with cairo) \ |
177 |
+ $(use_with cairo pangocairo) \ |
178 |
+ --without-exiv2 \ |
179 |
+ $(use_with ffmpeg libavformat) \ |
180 |
+ --without-gexiv2 \ |
181 |
+ --without-graphviz \ |
182 |
+ $(use_with jpeg2k jasper) \ |
183 |
+ $(use_with lcms) \ |
184 |
+ $(use_with lensfun) \ |
185 |
+ --without-lua \ |
186 |
+ --without-mrg \ |
187 |
+ $(use_with openexr) \ |
188 |
+ $(use_with raw libraw) \ |
189 |
+ $(use_with sdl) \ |
190 |
+ $(use_with svg librsvg) \ |
191 |
+ $(use_with tiff libtiff) \ |
192 |
+ $(use_with umfpack) \ |
193 |
+ $(use_with v4l libv4l) \ |
194 |
+ $(use_with v4l libv4l2) \ |
195 |
+ $(use_enable introspection) \ |
196 |
+ $(use_with vala) \ |
197 |
+ $(use_with webp) |
198 |
+} |
199 |
+ |
200 |
+src_compile() { |
201 |
+ default |
202 |
+ |
203 |
+ [[ ${PV} == *9999* ]] && emake ./ChangeLog # "./" prevents "Circular ChangeLog <- ChangeLog dependency dropped." |
204 |
+} |
205 |
+ |
206 |
+src_install() { |
207 |
+ default |
208 |
+ prune_libtool_files --all |
209 |
+} |