packages/libs/libdmapsharing/patches/001-diable_pixbuf.patch
blogic 292d97d9bc [packages] disable gdk_pixbuf when building libdmapsharing
git-svn-id: svn://svn.openwrt.org/openwrt/packages@33191 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-14 19:09:19 +00:00

25 lines
847 B
Diff

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)