[packages] disable gdk_pixbuf when building libdmapsharing
authorJohn Crispin <john@openwrt.org>
Tue, 14 Aug 2012 19:09:19 +0000 (19:09 +0000)
committerJohn Crispin <john@openwrt.org>
Tue, 14 Aug 2012 19:09:19 +0000 (19:09 +0000)
SVN-Revision: 33191

libs/libdmapsharing/patches/001-diable_pixbuf.patch [new file with mode: 0644]

diff --git a/libs/libdmapsharing/patches/001-diable_pixbuf.patch b/libs/libdmapsharing/patches/001-diable_pixbuf.patch
new file mode 100644 (file)
index 0000000..663dd49
--- /dev/null
@@ -0,0 +1,24 @@
+Index: libdmapsharing-2.9.15/configure.ac
+===================================================================
+--- libdmapsharing-2.9.15.orig/configure.ac    2012-08-14 21:02:31.861158482 +0200
++++ libdmapsharing-2.9.15/configure.ac 2012-08-14 21:03:42.448658906 +0200
+@@ -112,18 +112,7 @@
+ AC_SUBST(GOBJECT_CFLAGS)
+ AC_SUBST(GOBJECT_LIBS)
+-dnl Check for gdk-pixbuf, needed for DACP Now Playing Artwork
+-PKG_CHECK_MODULES(GDKPIXBUF, gdk-pixbuf-2.0,
+-  HAVE_GDKPIXBUF=yes,
+-  HAVE_GDKPIXBUF=no)
+-
+-if test x"$HAVE_GDKPIXBUF" = "xyes"; then
+-  AC_DEFINE(HAVE_GDKPIXBUF, 1, [Define if gdk-pixbuf support is enabled])
+-else
+-  AC_WARN(Gdk-pixbuf library not present, Now Playing artwork might be affected.)
+-fi
+-
+-AM_CONDITIONAL(USE_GDKPIXBUF, test x"$HAVE_GDKPIXBUF" = "xyes")
++HAVE_GDKPIXBUF=no
+ AC_SUBST(GDKPIXBUF_CFLAGS)
+ AC_SUBST(GDKPIXBUF_LIBS)