gdk-pixbuf: build x11 support, if appropriate
authorSimon Dawson <spdawson@gmail.com>
Thu, 9 Aug 2012 11:00:09 +0000 (12:00 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 11 Aug 2012 18:23:31 +0000 (20:23 +0200)
If libX11 is available, then gdk-pixbuf can be built with X11 support.

Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/gdk-pixbuf/gdk-pixbuf.mk

index 751f499fee89aeeb337856121bf6192051122460..0d9e20600a63a355fe4d270abcda34781ea662bc 100644 (file)
@@ -34,6 +34,11 @@ else
 GDK_PIXBUF_DEPENDENCIES += tiff
 endif
 
+ifeq ($(BR2_PACKAGE_XLIB_LIBX11),y)
+GDK_PIXBUF_CONF_OPT += --with-x11
+GDK_PIXBUF_DEPENDENCIES += xlib_libX11
+endif
+
 GDK_PIXBUF_DEPENDENCIES += \
        $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext libintl) \
        $(if $(BR2_ENABLE_LOCALE),,libiconv) \