diff options
author | Ross Burton <ross.burton@intel.com> | 2013-05-23 15:47:39 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-06-17 16:44:34 +0100 |
commit | cdb7b25f0df633b5498988b3037a58edd361a869 (patch) | |
tree | b4df3352c7df66422ea193b787e711adc3607ac9 /meta/recipes-gnome/gtk+/gtk+3_3.8.2.bb | |
parent | 0f761f528b07b0063da4a5a2d015e4acc8a4aa89 (diff) | |
download | openembedded-core-cdb7b25f0df633b5498988b3037a58edd361a869.tar.gz |
gtk+3: respect x11 and wayland DISTRO_FEATURES
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-gnome/gtk+/gtk+3_3.8.2.bb')
-rw-r--r-- | meta/recipes-gnome/gtk+/gtk+3_3.8.2.bb | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/meta/recipes-gnome/gtk+/gtk+3_3.8.2.bb b/meta/recipes-gnome/gtk+/gtk+3_3.8.2.bb index 9bd5b9d5f1..1e0fed2def 100644 --- a/meta/recipes-gnome/gtk+/gtk+3_3.8.2.bb +++ b/meta/recipes-gnome/gtk+/gtk+3_3.8.2.bb @@ -5,9 +5,8 @@ HOMEPAGE = "http://www.gtk.org" BUGTRACKER = "https://bugzilla.gnome.org/" SECTION = "libs" -DEPENDS = "glib-2.0 pango atk jpeg libpng libxext libxcursor \ - docbook-utils-native libxrandr libgcrypt \ - libxdamage libxrender libxcomposite libxi cairo gdk-pixbuf gdk-pixbuf-native" +DEPENDS = "glib-2.0 cairo pango atk jpeg libpng gdk-pixbuf libgcrypt \ + docbook-utils-native gdk-pixbuf-native" LICENSE = "LGPLv2 & LGPLv2+ & LGPLv2.1+" @@ -18,7 +17,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2 \ MAJ_VER = "${@oe.utils.trim_version("${PV}", 2)}" -SRC_URI = "http://download.gnome.org/sources/gtk+/${MAJ_VER}/gtk+-${PV}.tar.xz" +SRC_URI = "http://download.gnome.org/sources/gtk+/${MAJ_VER}/gtk+-${PV}.tar.xz \ + file://no-x11-in-wayland.patch" + SRC_URI[md5sum] = "8e878e18fc385f2b813419dc7b40a968" SRC_URI[sha256sum] = "1ca80c9c15a1df95d74cefb8c2afe4682ba272a4b489106f04877be2a7aff297" @@ -46,6 +47,12 @@ EXTRA_OECONF += " \ --disable-introspection \ " +PACKAGECONFIG ??= "${@base_contains("DISTRO_FEATURES", "x11", "x11", "", d)} \ + ${@base_contains("DISTRO_FEATURES", "wayland", "wayland", "", d)}" + +PACKAGECONFIG[x11] = "--enable-x11-backend,--disable-x11-backend,at-spi2-atk fontconfig libx11 libxext libxcursor libxi libxdamage libxrandr libxrender libxcomposite libxfixes" +PACKAGECONFIG[wayland] = "--enable-wayland-backend,--disable-wayland-backend,wayland libxkbcommon" + do_install_append() { mv ${D}${bindir}/gtk-update-icon-cache ${D}${bindir}/gtk-update-icon-cache-3.0 } |