diff options
| -rw-r--r-- | meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.30.3.bb | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.30.3.bb b/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.30.3.bb index 4c4d20732e..187af46a99 100644 --- a/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.30.3.bb +++ b/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.30.3.bb | |||
| @@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7 \ | |||
| 8 | 8 | ||
| 9 | SECTION = "libs" | 9 | SECTION = "libs" |
| 10 | 10 | ||
| 11 | DEPENDS = "libpng glib-2.0 jpeg" | 11 | DEPENDS = "glib-2.0" |
| 12 | DEPENDS_append_linuxstdbase = " virtual/libx11" | 12 | DEPENDS_append_linuxstdbase = " virtual/libx11" |
| 13 | 13 | ||
| 14 | MAJ_VER = "${@oe.utils.trim_version("${PV}", 2)}" | 14 | MAJ_VER = "${@oe.utils.trim_version("${PV}", 2)}" |
| @@ -25,19 +25,22 @@ inherit autotools pkgconfig gettext pixbufcache | |||
| 25 | 25 | ||
| 26 | LIBV = "2.10.0" | 26 | LIBV = "2.10.0" |
| 27 | 27 | ||
| 28 | PACKAGECONFIG ??= "" | 28 | GDK_PIXBUF_LOADERS ?= "png jpeg" |
| 29 | PACKAGECONFIG_linuxstdbase = "${@base_contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}" | 29 | |
| 30 | PACKAGECONFIG_class-native = "" | 30 | PACKAGECONFIG ??= "${GDK_PIXBUF_LOADERS}" |
| 31 | PACKAGECONFIG_linuxstdbase = "${@base_contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} ${GDK_PIXBUF_LOADERS}" | ||
| 32 | PACKAGECONFIG_class-native = "${GDK_PIXBUF_LOADERS}" | ||
| 33 | |||
| 34 | PACKAGECONFIG[png] = "--with-libpng,--without-libpng,libpng" | ||
| 35 | PACKAGECONFIG[jpeg] = "--with-libjpeg,--without-libjpeg,jpeg" | ||
| 36 | PACKAGECONFIG[tiff] = "--with-libtiff,--without-libtiff,tiff" | ||
| 37 | PACKAGECONFIG[jpeg2000] = "--with-libjasper,--without-libjasper,jasper" | ||
| 31 | 38 | ||
| 32 | # Use GIO to sniff image format instead of trying all loaders | 39 | # Use GIO to sniff image format instead of trying all loaders |
| 33 | PACKAGECONFIG[gio-sniff] = "--enable-gio-sniffing,--disable-gio-sniffing,,shared-mime-info" | 40 | PACKAGECONFIG[gio-sniff] = "--enable-gio-sniffing,--disable-gio-sniffing,,shared-mime-info" |
| 34 | PACKAGECONFIG[x11] = "--with-x11,--without-x11,virtual/libx11" | 41 | PACKAGECONFIG[x11] = "--with-x11,--without-x11,virtual/libx11" |
| 35 | 42 | ||
| 36 | EXTRA_OECONF = "\ | 43 | EXTRA_OECONF = "\ |
| 37 | --with-libpng \ | ||
| 38 | --with-libjpeg \ | ||
| 39 | --without-libtiff \ | ||
| 40 | --without-libjasper \ | ||
| 41 | --disable-introspection \ | 44 | --disable-introspection \ |
| 42 | " | 45 | " |
| 43 | 46 | ||
