diff options
Diffstat (limited to 'meta/recipes-gnome/gtk+/gtk+3.inc')
-rw-r--r-- | meta/recipes-gnome/gtk+/gtk+3.inc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/meta/recipes-gnome/gtk+/gtk+3.inc b/meta/recipes-gnome/gtk+/gtk+3.inc index 12fcaba929..959fb441b2 100644 --- a/meta/recipes-gnome/gtk+/gtk+3.inc +++ b/meta/recipes-gnome/gtk+/gtk+3.inc | |||
@@ -6,7 +6,7 @@ BUGTRACKER = "https://bugzilla.gnome.org/" | |||
6 | SECTION = "libs" | 6 | SECTION = "libs" |
7 | 7 | ||
8 | DEPENDS = "glib-2.0 cairo pango atk jpeg libpng gdk-pixbuf \ | 8 | DEPENDS = "glib-2.0 cairo pango atk jpeg libpng gdk-pixbuf \ |
9 | docbook-utils-native gdk-pixbuf-native libepoxy" | 9 | docbook-utils-native gdk-pixbuf-native" |
10 | 10 | ||
11 | LICENSE = "LGPLv2 & LGPLv2+ & LGPLv2.1+" | 11 | LICENSE = "LGPLv2 & LGPLv2+ & LGPLv2.1+" |
12 | 12 | ||
@@ -21,6 +21,8 @@ do_configure_prepend() { | |||
21 | # Do this because the configure script is running ./libtool directly | 21 | # Do this because the configure script is running ./libtool directly |
22 | rm -f libtool | 22 | rm -f libtool |
23 | ln -s ${TARGET_PREFIX}libtool libtool | 23 | ln -s ${TARGET_PREFIX}libtool libtool |
24 | #delete a file that will get confused with generated one in ${B} | ||
25 | rm -f ${S}/gtk/gtktypefuncs.c | ||
24 | } | 26 | } |
25 | 27 | ||
26 | EXTRA_OECONF += " \ | 28 | EXTRA_OECONF += " \ |
@@ -36,10 +38,13 @@ do_compile_prepend() { | |||
36 | } | 38 | } |
37 | 39 | ||
38 | PACKAGECONFIG ??= "${@bb.utils.contains("DISTRO_FEATURES", "x11", "x11", "", d)} \ | 40 | PACKAGECONFIG ??= "${@bb.utils.contains("DISTRO_FEATURES", "x11", "x11", "", d)} \ |
41 | ${@bb.utils.contains("DISTRO_FEATURES", "opengl", "opengl", "", d)} \ | ||
39 | ${@bb.utils.contains("DISTRO_FEATURES", "opengl x11", "glx", "", d)} \ | 42 | ${@bb.utils.contains("DISTRO_FEATURES", "opengl x11", "glx", "", d)} \ |
40 | ${@bb.utils.contains("DISTRO_FEATURES", "wayland", "wayland", "", d)}" | 43 | ${@bb.utils.contains("DISTRO_FEATURES", "wayland", "wayland", "", d)}" |
41 | 44 | ||
42 | PACKAGECONFIG[x11] = "--enable-x11-backend,--disable-x11-backend,at-spi2-atk fontconfig libx11 libxext libxcursor libxi libxdamage libxrandr libxrender libxcomposite libxfixes" | 45 | PACKAGECONFIG[x11] = "--enable-x11-backend,--disable-x11-backend,at-spi2-atk fontconfig libx11 libxext libxcursor libxi libxdamage libxrandr libxrender libxcomposite libxfixes" |
46 | # this is provided by oe-core patch that removes epoxy/gl dependency from a X11 build | ||
47 | PACKAGECONFIG[opengl] = "--enable-opengl,--disable-opengl,libepoxy" | ||
43 | PACKAGECONFIG[glx] = "--enable-glx,--disable-glx,,libgl" | 48 | PACKAGECONFIG[glx] = "--enable-glx,--disable-glx,,libgl" |
44 | PACKAGECONFIG[wayland] = "--enable-wayland-backend,--disable-wayland-backend,wayland libxkbcommon virtual/mesa wayland-native" | 49 | PACKAGECONFIG[wayland] = "--enable-wayland-backend,--disable-wayland-backend,wayland libxkbcommon virtual/mesa wayland-native" |
45 | 50 | ||