Gentoo Archives: gentoo-commits

From: "Hanno Boeck (hanno)" <hanno@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/gegl: gegl-0.0.20.ebuild ChangeLog
Date: Mon, 13 Oct 2008 10:35:46
Message-Id: E1KpKm8-0000IU-Dx@stork.gentoo.org
1 hanno 08/10/13 10:35:44
2
3 Modified: gegl-0.0.20.ebuild ChangeLog
4 Log:
5 gegl: some fixes to configure call
6 (Portage version: 2.2_rc12/cvs/Linux 2.6.27-rc9-00169-gb34c873 x86_64)
7
8 Revision Changes Path
9 1.7 media-libs/gegl/gegl-0.0.20.ebuild
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/gegl/gegl-0.0.20.ebuild?rev=1.7&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/gegl/gegl-0.0.20.ebuild?rev=1.7&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/gegl/gegl-0.0.20.ebuild?r1=1.6&r2=1.7
14
15 Index: gegl-0.0.20.ebuild
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/media-libs/gegl/gegl-0.0.20.ebuild,v
18 retrieving revision 1.6
19 retrieving revision 1.7
20 diff -u -r1.6 -r1.7
21 --- gegl-0.0.20.ebuild 9 Oct 2008 21:10:36 -0000 1.6
22 +++ gegl-0.0.20.ebuild 13 Oct 2008 10:35:44 -0000 1.7
23 @@ -1,6 +1,8 @@
24 # Copyright 1999-2008 Gentoo Foundation
25 # Distributed under the terms of the GNU General Public License v2
26 -# $Header: /var/cvsroot/gentoo-x86/media-libs/gegl/gegl-0.0.20.ebuild,v 1.6 2008/10/09 21:10:36 hanno Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/media-libs/gegl/gegl-0.0.20.ebuild,v 1.7 2008/10/13 10:35:44 hanno Exp $
28 +
29 +WANT_AUTOCONF=latest
30
31 inherit eutils autotools
32
33 @@ -12,50 +14,64 @@
34 SLOT="0"
35 KEYWORDS="~amd64 ~x86"
36
37 -IUSE="cairo debug doc ffmpeg gtk jpeg mmx openexr sdl sse svg"
38 +IUSE="cairo debug doc ffmpeg jpeg mmx openexr png raw sdl sse svg v4l"
39
40 DEPEND=">=media-libs/babl-0.0.20
41 >=dev-libs/glib-2.18.0
42 media-libs/libpng
43 + >=x11-libs/gtk+-2.14.0
44 + x11-libs/pango
45 cairo? ( x11-libs/cairo )
46 doc? ( app-text/asciidoc
47 + dev-lang/ruby
48 >=dev-lang/lua-5.1.0
49 app-text/enscript
50 media-gfx/graphviz )
51 ffmpeg? ( >=media-video/ffmpeg-0.4.9_p20080326 )
52 - gtk? ( >=x11-libs/gtk+-2.14.0
53 - x11-libs/pango )
54 jpeg? ( media-libs/jpeg )
55 openexr? ( media-libs/openexr )
56 + raw? ( >=media-libs/libopenraw-0.0.5 )
57 sdl? ( media-libs/libsdl )
58 svg? ( >=gnome-base/librsvg-2.14.0 )"
59
60 +pkg_setup() {
61 + if ! built_with_use 'media-gfx/imagemagick' 'png'; then
62 + eerror "You must build imagemagick with png support"
63 + die "media-gfx/imagemagick built without png"
64 + fi
65 +}
66 +
67 src_unpack() {
68 unpack ${A}
69 cd "${S}"
70 - epatch "${FILESDIR}/gegl-18-configure-ac.patch" || die
71 + epatch "${FILESDIR}/gegl-20-configure-ac.patch" || die
72 epatch "${FILESDIR}/gegl-0.0.18-newffmpeg.diff" || die
73
74 eautoreconf
75 }
76
77 src_compile() {
78 - econf $(use_enable debug) \
79 - $(use_enable cairo) \
80 - $(use_enable doc) \
81 - $(use_enable doc asciidoc) \
82 - $(use_enable doc enscript) \
83 - $(use_enable doc graphviz) \
84 + econf --enable-gtk --enable-pango --enable-gdkpixbuf \
85 + $(use_enable debug) \
86 + $(use_with cairo) \
87 + $(use_with v4l) \
88 + $(use_enable doc docs) \
89 + $(use_with doc asciidoc) \
90 + $(use_with doc enscript) \
91 + $(use_with doc graphviz) \
92 + $(use_with doc lua) \
93 + $(use_with doc ruby) \
94 $(use_enable doc workshop) \
95 $(use_with ffmpeg libavcodec) \
96 - $(use_enable gtk) \
97 - $(use_enable gtk pango) \
98 + $(use_with ffmpeg libavformat) \
99 $(use_with jpeg libjpeg) \
100 $(use_enable mmx) \
101 - $(use_enable openexr) \
102 - $(use_enable sdl) \
103 + $(use_with openexr) \
104 + $(use_with png libpng) \
105 + $(use_with raw libopenraw) \
106 + $(use_with sdl libsdl) \
107 + $(use_with svg librsvg) \
108 $(use_enable sse) \
109 - $(use_enable svg) \
110 || die "econf failed"
111 env GEGL_SWAP="${WORKDIR}" emake || die "emake failed"
112 }
113
114
115
116 1.7 media-libs/gegl/ChangeLog
117
118 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/gegl/ChangeLog?rev=1.7&view=markup
119 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/gegl/ChangeLog?rev=1.7&content-type=text/plain
120 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/gegl/ChangeLog?r1=1.6&r2=1.7
121
122 Index: ChangeLog
123 ===================================================================
124 RCS file: /var/cvsroot/gentoo-x86/media-libs/gegl/ChangeLog,v
125 retrieving revision 1.6
126 retrieving revision 1.7
127 diff -u -r1.6 -r1.7
128 --- ChangeLog 9 Oct 2008 21:10:36 -0000 1.6
129 +++ ChangeLog 13 Oct 2008 10:35:44 -0000 1.7
130 @@ -1,6 +1,10 @@
131 # ChangeLog for media-libs/gegl
132 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
133 -# $Header: /var/cvsroot/gentoo-x86/media-libs/gegl/ChangeLog,v 1.6 2008/10/09 21:10:36 hanno Exp $
134 +# $Header: /var/cvsroot/gentoo-x86/media-libs/gegl/ChangeLog,v 1.7 2008/10/13 10:35:44 hanno Exp $
135 +
136 + 13 Oct 2008; Hanno Boeck <hanno@g.o>
137 + +files/gegl-20-configure-ac.patch, gegl-0.0.20.ebuild:
138 + Some fixes for configure call.
139
140 09 Oct 2008; Hanno Boeck <hanno@g.o> gegl-0.0.20.ebuild:
141 Fix ffmpeg, raise gtk+-dep, run eautoreconf, thanks to Francisco Javier.