From: Richard Purdie Date: Tue, 15 May 2012 17:49:09 +0000 (+0100) Subject: gdk-pixbuf: Allow empty -xlib package X-Git-Tag: rev_ivi_2015_02_04~17278 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d0075b59444651bff8adf6c5e767eb425097de42;p=scm%2Fbb%2Ftizen-distro.git gdk-pixbuf: Allow empty -xlib package There are things that depend on the -xlib package. There are two possible ways to fix this, either recommend them instead of depending on them, or allow the package to be empty. I'm doing the latter since its a bit cleaner and less invasive. This library is a bit pointless which is why there is little point in adding the x dependency in the non-lsb case. If it becomes widly used we can rethink this. (From OE-Core rev: 7d49da7389b5bb0e74d9000b002ebf0bc554e85b) Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.24.1.bb b/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.24.1.bb index d57817e..e8c559e 100644 --- a/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.24.1.bb +++ b/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.24.1.bb @@ -19,7 +19,7 @@ SRC_URI = "http://ftp.acc.umu.se/pub/GNOME/sources/gdk-pixbuf/2.24/gdk-pixbuf-${ SRC_URI[md5sum] = "72f39b34b20f68148c1609bd27415412" SRC_URI[sha256sum] = "da7a3f00db360913716368e19e336402755cafa93769f3cfa28a969303e4bee1" -PR = "r2" +PR = "r3" inherit autotools pkgconfig gettext @@ -37,6 +37,7 @@ X11DEPENDS_linuxstdbase = "${@base_contains('DISTRO_FEATURES', 'x11', '--with-x1 PACKAGES =+ "${PN}-xlib" FILES_${PN}-xlib = "${libdir}/*pixbuf_xlib*${SOLIBS}" +ALLOW_EMPTY_${PN}-xlib = "1" FILES_${PN} = "${bindir}/gdk-pixbuf-query-loaders \ ${libdir}/lib*.so.*"