[packages] disable gdk_pixbuf when building libdmapsharing

git-svn-id: svn://svn.openwrt.org/openwrt/packages@33191 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
blogic 2012-08-14 19:09:19 +00:00
parent 5e6aa4c9c4
commit 292d97d9bc

View File

@ -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)