diff options
author | Hanno Boeck <hanno@gentoo.org> | 2008-10-07 22:12:50 +0000 |
---|---|---|
committer | Hanno Boeck <hanno@gentoo.org> | 2008-10-07 22:12:50 +0000 |
commit | 2258495f1db8a60e56d190c9b040ef9697e8ebf2 (patch) | |
tree | 731af6fc0a5463575a9aada25d714a6fe3cd2d64 /media-libs | |
parent | stable amd64, bug 240296 --- Thanks Chad for testing (diff) | |
download | historical-2258495f1db8a60e56d190c9b040ef9697e8ebf2.tar.gz historical-2258495f1db8a60e56d190c9b040ef9697e8ebf2.tar.bz2 historical-2258495f1db8a60e56d190c9b040ef9697e8ebf2.zip |
add gegl
Package-Manager: portage-2.2_rc11/cvs/Linux 2.6.27-rc9-00169-gb34c873 x86_64
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/gegl/ChangeLog | 11 | ||||
-rw-r--r-- | media-libs/gegl/Manifest | 16 | ||||
-rw-r--r-- | media-libs/gegl/files/gegl-0.0.18-newffmpeg.diff | 24 | ||||
-rw-r--r-- | media-libs/gegl/files/gegl-18-configure-ac.patch | 396 | ||||
-rw-r--r-- | media-libs/gegl/gegl-0.0.20.ebuild | 70 | ||||
-rw-r--r-- | media-libs/gegl/metadata.xml | 8 |
6 files changed, 525 insertions, 0 deletions
diff --git a/media-libs/gegl/ChangeLog b/media-libs/gegl/ChangeLog new file mode 100644 index 000000000000..02b64910c879 --- /dev/null +++ b/media-libs/gegl/ChangeLog @@ -0,0 +1,11 @@ +# 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.1 2008/10/07 22:12:50 hanno Exp $ + +*gegl-0.0.20 (07 Oct 2008) + + 07 Oct 2008; Hanno Boeck <hanno@gentoo.org> + +files/gegl-0.0.18-newffmpeg.diff, +files/gegl-18-configure-ac.patch, + +metadata.xml, +gegl-0.0.20.ebuild: + Add gegl library. + diff --git a/media-libs/gegl/Manifest b/media-libs/gegl/Manifest new file mode 100644 index 000000000000..8716601cccf1 --- /dev/null +++ b/media-libs/gegl/Manifest @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNED MESSAGE----- +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 +DIST gegl-0.0.20.tar.bz2 1224221 RMD160 b4bc7169eafa4fea512f1190f1ad835d688c4080 SHA1 37be399b58d50a87134f2dfad389a476e1155874 SHA256 708bb6afef9dc896caeaa618238bd67dd8548be5b774ce3c67664b716b550db7 +EBUILD gegl-0.0.20.ebuild 1984 RMD160 a020c2659d68c407e856946f161f4c67be03ef36 SHA1 7073ace7fcf5ba12c05fbcb535f06831d5433a61 SHA256 435bbd437ded94ca30592e624d0b389d6c739f1eaf5e19d3013e1c70316df5ef +MISC ChangeLog 407 RMD160 df93bc9677813c3644e06b78c9125544f9f4addc SHA1 df6ff27541ef3baa5b1f6ecabaa53820e92723ef SHA256 1a43892338cb9ef52f69a8d08ab1a2dd42cd085dff4728ddb72dbe11fa9f186f +MISC metadata.xml 220 RMD160 a49072631c03f8ac3685b12169abeef3b34ad3d6 SHA1 9614887db749b0a3c17016da5b3ec0e42b908ad3 SHA256 c893488c84e6da8039f2b473982f03e934ec12f8fe2c1ace770f9e34969db081 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.9 (GNU/Linux) + +iEYEARECAAYFAkjr3uQACgkQr2QksT29OyA+5QCfUOl4hkSSS9EakLjooDMlfZwr +JFsAniyo36mzC5BpUCDwTakiR2KxEuZH +=Q/aE +-----END PGP SIGNATURE----- diff --git a/media-libs/gegl/files/gegl-0.0.18-newffmpeg.diff b/media-libs/gegl/files/gegl-0.0.18-newffmpeg.diff new file mode 100644 index 000000000000..ca364ea63971 --- /dev/null +++ b/media-libs/gegl/files/gegl-0.0.18-newffmpeg.diff @@ -0,0 +1,24 @@ +diff -Naur gegl-0.0.18/operations/external/ff-load.c gegl-0.0.18-1/operations/external/ff-load.c +--- gegl-0.0.18/operations/external/ff-load.c 2008-06-14 18:40:04.000000000 +0200 ++++ gegl-0.0.18-1/operations/external/ff-load.c 2008-06-26 14:45:14.000000000 +0200 +@@ -27,7 +27,7 @@ + + #include "gegl-chant.h" + #include <errno.h> +-#include <ffmpeg/avformat.h> ++#include <libavformat/avformat.h> + + typedef struct + { +diff -Naur gegl-0.0.18/operations/workshop/external/ff-save.c gegl-0.0.18-1/operations/workshop/external/ff-save.c +--- gegl-0.0.18/operations/workshop/external/ff-save.c 2008-06-14 18:40:04.000000000 +0200 ++++ gegl-0.0.18-1/operations/workshop/external/ff-save.c 2008-06-26 14:45:03.000000000 +0200 +@@ -27,7 +27,7 @@ + #define GEGL_CHANT_C_FILE "ff-save.c" + + #include "gegl-chant.h" +-#include "ffmpeg/avformat.h" ++#include "libavformat/avformat.h" + + typedef struct + { diff --git a/media-libs/gegl/files/gegl-18-configure-ac.patch b/media-libs/gegl/files/gegl-18-configure-ac.patch new file mode 100644 index 000000000000..20750dd78c87 --- /dev/null +++ b/media-libs/gegl/files/gegl-18-configure-ac.patch @@ -0,0 +1,396 @@ +diff -Naur gegl-0.0.18.orig/configure.ac gegl-0.0.18/configure.ac +--- gegl-0.0.18.orig/configure.ac 2008-10-03 01:02:53.000000000 +0400 ++++ gegl-0.0.18/configure.ac 2008-10-03 01:03:42.000000000 +0400 +@@ -438,23 +438,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) +@@ -523,11 +533,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) +@@ -538,17 +553,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) +@@ -558,9 +578,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) +@@ -571,14 +596,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) +@@ -591,9 +625,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") + + +@@ -626,6 +665,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 +@@ -640,9 +683,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) +@@ -653,9 +701,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) +@@ -666,9 +719,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) +@@ -679,16 +737,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) +@@ -699,13 +762,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") + + +@@ -713,13 +781,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") + + +@@ -727,13 +800,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") + + +@@ -741,14 +819,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) +@@ -761,9 +849,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") + + +@@ -871,3 +963,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 new file mode 100644 index 000000000000..12a45ed2ce5b --- /dev/null +++ b/media-libs/gegl/gegl-0.0.20.ebuild @@ -0,0 +1,70 @@ +# 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.1 2008/10/07 22:12:50 hanno Exp $ + +inherit eutils + +DESCRIPTION="A graph based image processing framework" +HOMEPAGE="http://www.gegl.org/" +SRC_URI="ftp://ftp.gimp.org/pub/${PN}/0.0/${P}.tar.bz2" + +LICENSE="|| ( GPL-3 LGPL-3 )" +SLOT="0" +KEYWORDS="~x86" + +IUSE="cairo debug doc ffmpeg gtk jpeg openexr sdl svg" + +DEPEND=">=media-libs/babl-0.0.20 + >=dev-libs/glib-2.14.1 + >=dev-lang/lua-5.1.0 + media-libs/libpng + cairo? ( x11-libs/cairo ) + doc? ( app-text/asciidoc + app-text/enscript + media-gfx/graphviz ) + ffmpeg? ( media-video/ffmpeg ) + gtk? ( >=x11-libs/gtk+-2.8.6 + x11-libs/pango ) + jpeg? ( media-libs/jpeg ) + openexr? ( media-libs/openexr ) + sdl? ( media-libs/libsdl ) + svg? ( >=gnome-base/librsvg-2.14.0 )" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/gegl-18-configure-ac.patch" || die + epatch "${FILESDIR}/gegl-0.0.18-newffmpeg.diff" || die +} + +src_compile() { + econf $(use_enable debug) \ + $(use_enable cairo) \ + $(use_enable doc) \ + $(use_enable doc asciidoc) \ + $(use_enable doc enscript) \ + $(use_enable doc graphviz) \ + $(use_enable doc workshop) \ + $(use_enable ffmpeg) \ + $(use_enable gtk) \ + $(use_enable gtk pango) \ + $(use_with jpeg libjpeg) \ + $(use_enable openexr) \ + $(use_enable sdl) \ + $(use_enable svg) \ + || die "econf failed" + env GEGL_SWAP="${WORKDIR}" emake || die "emake failed" +} + +src_install() { + # emake install doesn't install anything + einstall || die "einstall failed" + find "${D}" -name '*.la' -delete + dodoc ChangeLog INSTALL README NEWS || die "dodoc failed" + + # don't know why einstall omits this?! + insinto "/usr/include/${PN}-0.0/${PN}/buffer/" + doins "${WORKDIR}/${P}/${PN}"/buffer/*.h || die "doins buffer failed" + insinto "/usr/include/${PN}-0.0/${PN}/module/" + doins "${WORKDIR}/${P}/${PN}"/module/*.h || die "doins module failed" +} diff --git a/media-libs/gegl/metadata.xml b/media-libs/gegl/metadata.xml new file mode 100644 index 000000000000..9810d4927a0d --- /dev/null +++ b/media-libs/gegl/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer> + <email>hanno@gentoo.org</email> +</maintainer> +</pkgmetadata> |