summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanno Boeck <hanno@gentoo.org>2008-10-13 10:35:44 +0000
committerHanno Boeck <hanno@gentoo.org>2008-10-13 10:35:44 +0000
commitc88294593eac0550191d61af106a588ea62e4627 (patch)
tree48489b1063d3d102bd5b2ed85a1580aaa91d34ff /media-libs/gegl
parentVersion bump. (diff)
downloadhistorical-c88294593eac0550191d61af106a588ea62e4627.tar.gz
historical-c88294593eac0550191d61af106a588ea62e4627.tar.bz2
historical-c88294593eac0550191d61af106a588ea62e4627.zip
gegl: some fixes to configure call
Package-Manager: portage-2.2_rc12/cvs/Linux 2.6.27-rc9-00169-gb34c873 x86_64
Diffstat (limited to 'media-libs/gegl')
-rw-r--r--media-libs/gegl/ChangeLog6
-rw-r--r--media-libs/gegl/Manifest11
-rw-r--r--media-libs/gegl/files/gegl-20-configure-ac.patch423
-rw-r--r--media-libs/gegl/gegl-0.0.20.ebuild48
4 files changed, 466 insertions, 22 deletions
diff --git a/media-libs/gegl/ChangeLog b/media-libs/gegl/ChangeLog
index 795ea3fc4b93..b42c4ceba543 100644
--- a/media-libs/gegl/ChangeLog
+++ b/media-libs/gegl/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-libs/gegl
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/gegl/ChangeLog,v 1.6 2008/10/09 21:10:36 hanno Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/gegl/ChangeLog,v 1.7 2008/10/13 10:35:44 hanno Exp $
+
+ 13 Oct 2008; Hanno Boeck <hanno@gentoo.org>
+ +files/gegl-20-configure-ac.patch, gegl-0.0.20.ebuild:
+ Some fixes for configure call.
09 Oct 2008; Hanno Boeck <hanno@gentoo.org> gegl-0.0.20.ebuild:
Fix ffmpeg, raise gtk+-dep, run eautoreconf, thanks to Francisco Javier.
diff --git a/media-libs/gegl/Manifest b/media-libs/gegl/Manifest
index e7044bc0c4f1..7b57dd554598 100644
--- a/media-libs/gegl/Manifest
+++ b/media-libs/gegl/Manifest
@@ -3,14 +3,15 @@ Hash: SHA1
AUX gegl-0.0.18-newffmpeg.diff 889 RMD160 506707235c92c0d8c0177b46af534352b246cb89 SHA1 74efdb5af757f94c271bd8fa39d27b8f6a7016c7 SHA256 4456bd53335a382860413b4332ffa8e5b0dc7d8ff2d6ee9aa3b80758998b52d3
AUX gegl-18-configure-ac.patch 12354 RMD160 ae12c9c7dab1c6251ac29d53ad141d9416a51579 SHA1 a5de6e8660bbeac0c52e6a002898f1bb5a64df02 SHA256 892f152ecc22a3d306137f498e9a5ef38fe24414573cdae7bb17f3d5d21d1581
+AUX gegl-20-configure-ac.patch 13263 RMD160 df2f13719b23f45f04dcbce5a2e611f0b21636fb SHA1 67416e82775ac6cf30346128ba83af2420aa9280 SHA256 f27a68381a41f50125e1ec20efb5913feac0ea23dbeb565364a7feeeeb77d917
DIST gegl-0.0.20.tar.bz2 1224221 RMD160 b4bc7169eafa4fea512f1190f1ad835d688c4080 SHA1 37be399b58d50a87134f2dfad389a476e1155874 SHA256 708bb6afef9dc896caeaa618238bd67dd8548be5b774ce3c67664b716b550db7
-EBUILD gegl-0.0.20.ebuild 2096 RMD160 afda374f73b6a00686bc885fbe4bcfa28719a212 SHA1 5c5abe37e80ec7df973d90147b339aaa8032f744 SHA256 73fbf779d1c6bc5e661a4395e0f2fbb9487ddc225e63a714c977f96858a1195f
-MISC ChangeLog 987 RMD160 e90769bac2d534960e0441cd798a7511312e1597 SHA1 6e42ffa5355478d71ae4db9568605f049d9a6467 SHA256 57c311a0c6762d5b213d03eb033414751251f601a6d9f326b1f90e95f55c908e
+EBUILD gegl-0.0.20.ebuild 2522 RMD160 68fd99bcee8194a4978ef0ec34fd410f4fc577ab SHA1 00523ab43385bbe1b0eaa8004c4ecb78a1c062d9 SHA256 90e927c638860c1b3379483337da8bcfbfb8a09cb7bb99ff21cd08360260f6cd
+MISC ChangeLog 1124 RMD160 644ae6ac562ca29a764342693ad5ca979b84269a SHA1 ed32afd21bc63197eb88f94d4004fd5cfe6c7b34 SHA256 2a2b96c934273f7764b5c8d3320c3ebe5ae514614b84b5ceeb2165521e7e78d9
MISC metadata.xml 220 RMD160 a49072631c03f8ac3685b12169abeef3b34ad3d6 SHA1 9614887db749b0a3c17016da5b3ec0e42b908ad3 SHA256 c893488c84e6da8039f2b473982f03e934ec12f8fe2c1ace770f9e34969db081
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
-iEYEARECAAYFAkjuc0QACgkQr2QksT29OyDdpwCglSZthGZzekhFfd1iLM6S1+Mt
-pQoAnA2EnycyTIDkr+NbywxHgX+uBVva
-=XiHF
+iEYEARECAAYFAkjzJHwACgkQr2QksT29OyAfRgCfVBzFcZ+T8Rx78AjGnHSOtnXM
+GNAAoJkq9QfDhtA7UHDQ4D3kb9eoyEIM
+=GS61
-----END PGP SIGNATURE-----
diff --git a/media-libs/gegl/files/gegl-20-configure-ac.patch b/media-libs/gegl/files/gegl-20-configure-ac.patch
new file mode 100644
index 000000000000..1a8358cf7458
--- /dev/null
+++ b/media-libs/gegl/files/gegl-20-configure-ac.patch
@@ -0,0 +1,423 @@
+--- configure.ac.orig 2008-10-05 23:10:15.000000000 +0200
++++ configure.ac 2008-10-10 00:46:24.000000000 +0200
+@@ -50,6 +50,7 @@
+ m4_define([openexr_required_version], [0.0.0])
+ m4_define([sdl_required_version], [0.0.0])
+ m4_define([graphviz_required_version], [0.0.0])
++m4_define([libopenraw_required_version], [0.0.5])
+
+ AC_INIT(gegl, gegl_major_version.gegl_minor_version.gegl_micro_version)
+ AC_CONFIG_SRCDIR([gegl/gegl.h.in])
+@@ -453,23 +454,33 @@
+ *** Errors follow:
+ $DEP_PKG_ERRORS]))
+
+-PKG_CHECK_MODULES(GIO, gio-2.0,
+- have_gio="yes"
+- AC_DEFINE(HAVE_GIO, 1, [Define to 1 to compile with gio support.])
+- GLIB_PACKAGES="$GLIB_PACKAGES gio-2.0",
+- have_gio="no (gio not found)")
++AC_ARG_WITH(gio, [ --without-gio build without GIO (from glib) support])
++ if test x$with_gio != xno; then
++ PKG_CHECK_MODULES(GIO, gio-2.0,
++ have_gio="yes"
++ AC_DEFINE(HAVE_GIO, 1, [Define to 1 to compile with gio support.])
++ GLIB_PACKAGES="$GLIB_PACKAGES gio-2.0",
++ have_gio="no (gio not found)")
++ else
++ have_gio="no (disabled by flag)"
++ fi
+ AM_CONDITIONAL(HAVE_GIO, test "x$have_gio" = "xyes")
+
+ # Rerun PKG_CONFIG to add gthread-2.0 cflags and libs
+ DEP_CFLAGS=`$PKG_CONFIG --cflags $GLIB_PACKAGES gthread-2.0`
+ DEP_LIBS=`$PKG_CONFIG --libs $GLIB_PACKAGES gthread-2.0`
+
+-PKG_CHECK_MODULES(GTK, gtk+-2.0 >= $GTK_REQUIRED_VERSION,
+- have_gtk="yes"
+- AC_DEFINE(HAVE_GTK, 1, [Define to 1 to compile with gtk support.])
+- GTK_CFLAGS="$GTK_CFLAGS"
+- GTK_LIBS="$GTK_LIBS",
+- have_gtk="no (gtk+ not found)")
++AC_ARG_WITH(gtk, [ --without-gtk build without GTK+ support])
++if test "x$with_gtk" != "xno"; then
++ PKG_CHECK_MODULES(GTK, gtk+-2.0 >= $GTK_REQUIRED_VERSION,
++ have_gtk="yes"
++ AC_DEFINE(HAVE_GTK, 1, [Define to 1 to compile with gtk support.])
++ GTK_CFLAGS="$GTK_CFLAGS"
++ GTK_LIBS="$GTK_LIBS",
++ have_gtk="no (gtk+ not found)")
++else
++ have_gtk="no (disabled by flag)"
++fi
+ AM_CONDITIONAL(HAVE_GTK, test "x$have_gtk" = "xyes")
+
+ AC_SUBST(GTK_CFLAGS)
+@@ -538,11 +549,16 @@
+ # Check for Lua
+ ###############
+
+-PKG_CHECK_MODULES(LUA, lua >= $LUA_REQUIRED_VERSION,
+- have_lua="yes",
+- [PKG_CHECK_MODULES(LUA, lua5.1 >= $LUA_REQUIRED_VERSION,
+- have_lua="yes",
+- have_lua="no (usable lua not found)")])
++AC_ARG_WITH(lua, [ --without-lua build without Lua support])
++ if test x$with_lua != xno; then
++ PKG_CHECK_MODULES(LUA, lua >= $LUA_REQUIRED_VERSION,
++ have_lua="yes",
++ [PKG_CHECK_MODULES(LUA, lua5.1 >= $LUA_REQUIRED_VERSION,
++ have_lua="yes",
++ have_lua="no (usable lua not found)")])
++ else
++ have_lua="no (disabled by flag)"
++ fi
+ AM_CONDITIONAL(HAVE_LUA, test "x$have_lua" = "xyes")
+
+ AC_SUBST(LUA_CFLAGS)
+@@ -553,17 +569,22 @@
+ # Checks for Ruby used to make API docs
+ #######################################
+
+-AC_CHECK_PROG(RUBY, ruby, yes, no)
+-if test "$RUBY" = "no"; then
+- AC_MSG_WARN([
++AC_ARG_WITH(ruby, [ --without-ruby build without Ruby support])
++ if test x$with_ruby != xno; then
++ AC_CHECK_PROG(RUBY, ruby, yes, no)
++ if test "$RUBY" = "no"; then
++ AC_MSG_WARN([
+ *** Could not find Ruby interpreter. The HTML API reference
+ will not be updated.
+ ])
+- have_ruby=no
+-else
+- RUBY_BIN="$RUBY"
+- have_ruby=yes
+-fi
++ have_ruby=no
++ else
++ RUBY_BIN="$RUBY"
++ have_ruby=yes
++ fi
++ else
++ have_ruby="no (disabled by flag)"
++ fi
+ AM_CONDITIONAL(HAVE_RUBY, test "x$have_ruby" = "xyes")
+
+ AC_SUBST(RUBY_BIN)
+@@ -573,9 +594,14 @@
+ # Check for Cairo
+ #################
+
+-PKG_CHECK_MODULES(CAIRO, cairo,
+- have_cairo="yes",
+- have_cairo="no (usable cairo not found)")
++AC_ARG_WITH(cairo, [ --without-cairo build without Cairo and without pangocairo])
++ if test x$with_cairo != xno; then
++ PKG_CHECK_MODULES(CAIRO, cairo,
++ have_cairo="yes",
++ have_cairo="no (usable cairo not found)")
++ else
++ have_cairo="no (disabled by flag)"
++ fi
+ AM_CONDITIONAL(HAVE_CAIRO, test "x$have_cairo" = "xyes")
+
+ AC_SUBST(CAIRO_CFLAGS)
+@@ -586,14 +612,23 @@
+ # Checks for Pango stuff
+ ########################
+
+-PKG_CHECK_MODULES(PANGO, pango,
+- have_pango="yes",
+- have_pango="no (usable pango not found)")
++AC_ARG_WITH(pango, [ --without-pango build without Pango and without pangocairo])
++ if test x$with_pango != xno; then
++ PKG_CHECK_MODULES(PANGO, pango,
++ have_pango="yes",
++ have_pango="no (usable pango not found)")
++ else
++ have_pango="no (disabled by flag)"
++ fi
+ AM_CONDITIONAL(HAVE_PANGO, test "x$have_pango" = "xyes")
+
+-PKG_CHECK_MODULES(PANGOCAIRO, pangocairo,
+- have_pangocairo="yes",
+- have_pangocairo="no (usable pangocairo not found)")
++if test x$with_pango != xno && test x$with_cairo != xno; then
++ PKG_CHECK_MODULES(PANGOCAIRO, pangocairo,
++ have_pangocairo="yes",
++ have_pangocairo="no (usable pangocairo not found)")
++else
++ have_pangocairo="no (disabled by flag)"
++fi
+ AM_CONDITIONAL(HAVE_PANGOCAIRO, test "x$have_pangocairo" = "xyes")
+
+ AC_SUBST(PANGO_CFLAGS)
+@@ -606,9 +641,14 @@
+ # Check for gdk-pixbuf
+ ######################
+
+-PKG_CHECK_MODULES(GDK_PIXBUF, gdk-pixbuf-2.0 >= gtk_required_version,
+- have_gdk_pixbuf="yes",
+- have_gdk_pixbuf="no (gdk-pixbuf not found)")
++AC_ARG_WITH(gdkpixbuf, [ --without-gdkpixbuf build without GDKPixbuf support])
++ if test x$with_gdkpixbuf != xno; then
++ PKG_CHECK_MODULES(GDK_PIXBUF, gdk-pixbuf-2.0 >= gtk_required_version,
++ have_gdk_pixbuf="yes",
++ have_gdk_pixbuf="no (gdk-pixbuf not found)")
++ else
++ have_gdk_pixbuf="no (disabled by flag)"
++ fi
+ AM_CONDITIONAL(HAVE_GDK_PIXBUF, test "x$have_gdk_pixbuf" = "xyes")
+
+
+@@ -641,6 +681,10 @@
+ jpeg_ok="no (JPEG header file not found)"
+ fi
+ fi
++ else
++ if test x$with_libjpeg == xno; then
++ jpeg_ok="no (disabled by flag)"
++ fi
+ fi
+
+ if test x$with_libjpeg != xno && test -z "$LIBJPEG"; then
+@@ -655,9 +699,14 @@
+ # Check for libpng
+ ##################
+
+-PKG_CHECK_MODULES(PNG, libpng,
+- have_libpng="yes",
+- have_libpng="no (usable libpng not found)")
++AC_ARG_WITH(libpng, [ --without-libpng build without PNG support])
++ if test x$with_libpng != xno; then
++ PKG_CHECK_MODULES(PNG, libpng,
++ have_libpng="yes",
++ have_libpng="no (usable libpng not found)")
++ else
++ have_libpng="no (disabled by flag)"
++ fi
+ AM_CONDITIONAL(HAVE_PNG, test "x$have_libpng" = "xyes")
+
+ AC_SUBST(PNG_CFLAGS)
+@@ -668,9 +717,14 @@
+ # Check for librsvg
+ ###################
+
+-PKG_CHECK_MODULES(RSVG, librsvg-2.0 >= librsvg_required_version,
+- have_librsvg="yes",
+- have_librsvg="no (usable librsvg not found)")
++AC_ARG_WITH(librsvg, [ --without-librsvg build without SVG support])
++ if test x$with_librsvg != xno; then
++ PKG_CHECK_MODULES(RSVG, librsvg-2.0 >= librsvg_required_version,
++ have_librsvg="yes",
++ have_librsvg="no (usable librsvg not found)")
++ else
++ have_librsvg="no (disabled by flag)"
++ fi
+ AM_CONDITIONAL(HAVE_RSVG, test "x$have_librsvg" = "xyes")
+
+ AC_SUBST(RSVG_CFLAGS)
+@@ -681,9 +735,14 @@
+ # Check for OpenEXR
+ ###################
+
+-PKG_CHECK_MODULES(OPENEXR, OpenEXR,
+- have_openexr="yes",
+- have_openexr="no (usable OpenEXR not found)")
++AC_ARG_WITH(openexr, [ --without-openexr build without OpenEXR])
++ if test x$with_openexr != xno; then
++ PKG_CHECK_MODULES(OPENEXR, OpenEXR,
++ have_openexr="yes",
++ have_openexr="no (usable OpenEXR not found)")
++ else
++ have_openexr="no (disabled by flag)"
++ fi
+ AM_CONDITIONAL(HAVE_OPENEXR, test "x$have_openexr" = "xyes")
+
+ AC_SUBST(OPENEXR_CFLAGS)
+@@ -694,16 +753,21 @@
+ # Check for SDL
+ ###############
+
+-dnl check for SDL
+-AC_PATH_PROG(SDL_CONFIG, sdl-config, no)
+-if test "$SDL_CONFIG" = "no"; then
+- have_sdl="no (usable libsdl not found)"
+- AC_MSG_RESULT([*** Check for SDL library failed.])
+-else
+- have_sdl="yes"
+- SDL_CFLAGS=`$SDL_CONFIG --cflags`
+- SDL_LIBS=`$SDL_CONFIG --libs`
+-fi
++AC_ARG_WITH(libsdl, [ --without-libsdl build without SDL support])
++ if test x$with_libsdl != xno; then
++ dnl check for SDL
++ AC_PATH_PROG(SDL_CONFIG, sdl-config, no)
++ if test "$SDL_CONFIG" = "no"; then
++ have_sdl="no (usable libsdl not found)"
++ AC_MSG_RESULT([*** Check for SDL library failed.])
++ else
++ have_sdl="yes"
++ SDL_CFLAGS=`$SDL_CONFIG --cflags`
++ SDL_LIBS=`$SDL_CONFIG --libs`
++ fi
++ else
++ have_sdl="no (disabled by flag)"
++ fi
+ AM_CONDITIONAL(HAVE_SDL, test "x$have_sdl" = "xyes")
+
+ AC_SUBST(SDL_CFLAGS)
+@@ -714,10 +778,15 @@
+ # Check for libopenraw
+ ####################
+
+-dnl check for libopenraw
+-PKG_CHECK_MODULES(OPENRAW, libopenraw-1.0,
+- have_openraw="yes",
+- have_openraw="no (usable libopenraw not found)")
++AC_ARG_WITH(libopenraw, [ --without-libopenraw build without libopenraw support])
++ if test x$with_libopenraw != xno; then
++ dnl check for libopenraw
++ PKG_CHECK_MODULES(OPENRAW, libopenraw-1.0 >= libopenraw,
++ have_openraw="yes",
++ have_openraw="no (usable libopenraw not found)")
++ else
++ have_openraw="no (disabled by flag)"
++ fi
+ AM_CONDITIONAL(HAVE_OPENRAW, test "x$have_openraw" = "xyes")
+
+ AC_SUBST(OPENRAW_CFLAGS)
+@@ -728,13 +797,18 @@
+ # Check for graphviz
+ ####################
+
+-AC_PATH_PROG(GRAPHVIZ, dot, no)
+-if test "$GRAPHVIZ" = "no"; then
+- have_graphviz="no (graphviz not found)"
+- AC_MSG_RESULT([*** Check for dot command from graphviz failed.])
+-else
+- have_graphviz="yes"
+-fi
++AC_ARG_WITH(graphviz, [ --without-graphviz build without graphviz support])
++ if test x$with_graphviz != xno; then
++ AC_PATH_PROG(GRAPHVIZ, dot, no)
++ if test "$GRAPHVIZ" = "no"; then
++ have_graphviz="no (graphviz not found)"
++ AC_MSG_RESULT([*** Check for dot command from graphviz failed.])
++ else
++ have_graphviz="yes"
++ fi
++ else
++ have_graphviz="no (disabled by flag)"
++ fi
+ AM_CONDITIONAL(HAVE_GRAPHVIZ, test "x$have_graphviz" = "xyes")
+
+
+@@ -742,13 +816,18 @@
+ # Check for enscript
+ ####################
+
+-AC_PATH_PROG(ENSCRIPT, enscript, no)
+-if test "$ENSCRIPT" = "no"; then
+- have_enscript="no (enscript not found)"
+- AC_MSG_RESULT([*** Check for enscript command failed.])
+-else
+- have_enscript="yes"
+-fi
++AC_ARG_WITH(enscript, [ --without-enscript build without enscript support])
++ if test x$with_enscript != xno; then
++ AC_PATH_PROG(ENSCRIPT, enscript, no)
++ if test "$ENSCRIPT" = "no"; then
++ have_enscript="no (enscript not found)"
++ AC_MSG_RESULT([*** Check for enscript command failed.])
++ else
++ have_enscript="yes"
++ fi
++ else
++ have_enscript="no (disabled by flag)"
++ fi
+ AM_CONDITIONAL(HAVE_ENSCRIPT, test "x$have_enscript" = "xyes")
+
+
+@@ -756,13 +835,18 @@
+ # Check for asciidoc
+ ####################
+
+-AC_PATH_PROG(ASCIIDOC, asciidoc, no)
+-if test "$ASCIIDOC" = "no"; then
+- have_asciidoc="no (asciidoc not found)"
+- AC_MSG_RESULT([*** Check for asciidoc failed.])
+-else
+- have_asciidoc="yes"
+-fi
++AC_ARG_WITH(asciidoc, [ --without-asciidoc build without asciidoc support])
++ if test x$with_asciidoc != xno; then
++ AC_PATH_PROG(ASCIIDOC, asciidoc, no)
++ if test "$ASCIIDOC" = "no"; then
++ have_asciidoc="no (asciidoc not found)"
++ AC_MSG_RESULT([*** Check for asciidoc failed.])
++ else
++ have_asciidoc="yes"
++ fi
++ else
++ have_asciidoc="no (disabled by flag)"
++ fi
+ AM_CONDITIONAL(HAVE_ASCIIDOC, test "x$have_asciidoc" = "xyes")
+
+
+@@ -770,14 +854,24 @@
+ # Check for avcodec and avformat libraries
+ ##########################################
+
+-PKG_CHECK_MODULES(AVCODEC, libavcodec,
+- have_libavcodec="yes",
+- have_libavcodec="no (usable libavcodec not found)")
++AC_ARG_WITH(libavcodec, [ --without-libavcodec build without avcodec support])
++ if test x$with_libavcodec != xno; then
++ PKG_CHECK_MODULES(AVCODEC, libavcodec,
++ have_libavcodec="yes",
++ have_libavcodec="no (usable libavcodec not found)")
++ else
++ have_libavcodec="no (disabled by flag)"
++ fi
+ AM_CONDITIONAL(HAVE_AVCODEC, test "x$have_libavcodec" = "xyes")
+
+-PKG_CHECK_MODULES(AVFORMAT, libavformat,
+- have_libavformat="yes",
+- have_libavformat="no (usable libavformat not found)")
++AC_ARG_WITH(libavformat, [ --without-libavformat build without avformat support])
++ if test x$with_libavformat != xno; then
++ PKG_CHECK_MODULES(AVFORMAT, libavformat,
++ have_libavformat="yes",
++ have_libavformat="no (usable libavformat not found)")
++ else
++ have_libavformat="no (disabled by flag)"
++ fi
+ AM_CONDITIONAL(HAVE_AVFORMAT, test "x$have_libavformat" = "xyes")
+
+ AC_SUBST(AVCODEC_CFLAGS)
+@@ -790,9 +884,13 @@
+ # Check for V4L
+ ###############
+
+-have_v4l=no
+-AC_CHECK_HEADER(linux/videodev.h, have_v4l=yes)
+-
++AC_ARG_WITH(v4l, [ --without-v4l build without video4linux support])
++ if test x$with_v4l != xno; then
++ have_v4l=no
++ AC_CHECK_HEADER(linux/videodev.h, have_v4l=yes)
++ else
++ have_v4l="no (disabled by flag)"
++ fi
+ AM_CONDITIONAL(HAVE_V4L, test "x$have_v4l" = "xyes")
+
+
+@@ -901,3 +999,5 @@
+ avformat: $have_libavformat
+ V4L: $have_v4l
+ ]);
++
++# vim:ts=2:et:sw=2
diff --git a/media-libs/gegl/gegl-0.0.20.ebuild b/media-libs/gegl/gegl-0.0.20.ebuild
index a6fee4770f22..90113bae31e0 100644
--- a/media-libs/gegl/gegl-0.0.20.ebuild
+++ b/media-libs/gegl/gegl-0.0.20.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/gegl/gegl-0.0.20.ebuild,v 1.6 2008/10/09 21:10:36 hanno Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/gegl/gegl-0.0.20.ebuild,v 1.7 2008/10/13 10:35:44 hanno Exp $
+
+WANT_AUTOCONF=latest
inherit eutils autotools
@@ -12,50 +14,64 @@ LICENSE="|| ( GPL-3 LGPL-3 )"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="cairo debug doc ffmpeg gtk jpeg mmx openexr sdl sse svg"
+IUSE="cairo debug doc ffmpeg jpeg mmx openexr png raw sdl sse svg v4l"
DEPEND=">=media-libs/babl-0.0.20
>=dev-libs/glib-2.18.0
media-libs/libpng
+ >=x11-libs/gtk+-2.14.0
+ x11-libs/pango
cairo? ( x11-libs/cairo )
doc? ( app-text/asciidoc
+ dev-lang/ruby
>=dev-lang/lua-5.1.0
app-text/enscript
media-gfx/graphviz )
ffmpeg? ( >=media-video/ffmpeg-0.4.9_p20080326 )
- gtk? ( >=x11-libs/gtk+-2.14.0
- x11-libs/pango )
jpeg? ( media-libs/jpeg )
openexr? ( media-libs/openexr )
+ raw? ( >=media-libs/libopenraw-0.0.5 )
sdl? ( media-libs/libsdl )
svg? ( >=gnome-base/librsvg-2.14.0 )"
+pkg_setup() {
+ if ! built_with_use 'media-gfx/imagemagick' 'png'; then
+ eerror "You must build imagemagick with png support"
+ die "media-gfx/imagemagick built without png"
+ fi
+}
+
src_unpack() {
unpack ${A}
cd "${S}"
- epatch "${FILESDIR}/gegl-18-configure-ac.patch" || die
+ epatch "${FILESDIR}/gegl-20-configure-ac.patch" || die
epatch "${FILESDIR}/gegl-0.0.18-newffmpeg.diff" || die
eautoreconf
}
src_compile() {
- econf $(use_enable debug) \
- $(use_enable cairo) \
- $(use_enable doc) \
- $(use_enable doc asciidoc) \
- $(use_enable doc enscript) \
- $(use_enable doc graphviz) \
+ econf --enable-gtk --enable-pango --enable-gdkpixbuf \
+ $(use_enable debug) \
+ $(use_with cairo) \
+ $(use_with v4l) \
+ $(use_enable doc docs) \
+ $(use_with doc asciidoc) \
+ $(use_with doc enscript) \
+ $(use_with doc graphviz) \
+ $(use_with doc lua) \
+ $(use_with doc ruby) \
$(use_enable doc workshop) \
$(use_with ffmpeg libavcodec) \
- $(use_enable gtk) \
- $(use_enable gtk pango) \
+ $(use_with ffmpeg libavformat) \
$(use_with jpeg libjpeg) \
$(use_enable mmx) \
- $(use_enable openexr) \
- $(use_enable sdl) \
+ $(use_with openexr) \
+ $(use_with png libpng) \
+ $(use_with raw libopenraw) \
+ $(use_with sdl libsdl) \
+ $(use_with svg librsvg) \
$(use_enable sse) \
- $(use_enable svg) \
|| die "econf failed"
env GEGL_SWAP="${WORKDIR}" emake || die "emake failed"
}