diff options
Diffstat (limited to 'meta/recipes-graphics/libsdl2')
3 files changed, 1 insertions, 68 deletions
diff --git a/meta/recipes-graphics/libsdl2/libsdl2/0001-prepend-our-sysroot-path-so-that-make-finds-our-wayl.patch b/meta/recipes-graphics/libsdl2/libsdl2/0001-prepend-our-sysroot-path-so-that-make-finds-our-wayl.patch deleted file mode 100644 index efc84188f3..0000000000 --- a/meta/recipes-graphics/libsdl2/libsdl2/0001-prepend-our-sysroot-path-so-that-make-finds-our-wayl.patch +++ /dev/null | |||
@@ -1,34 +0,0 @@ | |||
1 | From b44808e43130dcd13b43e5b978b9b24aeb4c134c Mon Sep 17 00:00:00 2001 | ||
2 | From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com> | ||
3 | Date: Thu, 20 Oct 2016 14:57:51 +0200 | ||
4 | Subject: [PATCH] prepend our sysroot path so that make finds our | ||
5 | wayland-protocol files | ||
6 | MIME-Version: 1.0 | ||
7 | Content-Type: text/plain; charset=UTF-8 | ||
8 | Content-Transfer-Encoding: 8bit | ||
9 | |||
10 | Upstream-Status: Inappropriate [embedded specific] | ||
11 | |||
12 | Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> | ||
13 | --- | ||
14 | configure.in | 4 +- | ||
15 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
16 | |||
17 | diff --git a/configure.in b/configure.in | ||
18 | index 726ded3..3376600 100644 | ||
19 | --- a/configure.in | ||
20 | +++ b/configure.in | ||
21 | @@ -1206,7 +1206,7 @@ AC_HELP_STRING([--enable-video-wayland-qt-touch], [QtWayland server support for | ||
22 | WAYLAND_CFLAGS=`$PKG_CONFIG --cflags wayland-client wayland-egl wayland-cursor xkbcommon` | ||
23 | WAYLAND_LIBS=`$PKG_CONFIG --libs wayland-client wayland-egl wayland-cursor xkbcommon` | ||
24 | WAYLAND_SCANNER=`$PKG_CONFIG --variable=wayland_scanner wayland-scanner` | ||
25 | - WAYLAND_CORE_PROTOCOL_DIR=`$PKG_CONFIG --variable=pkgdatadir wayland-client` | ||
26 | - WAYLAND_PROTOCOLS_DIR=`$PKG_CONFIG --variable=pkgdatadir wayland-protocols` | ||
27 | + WAYLAND_CORE_PROTOCOL_DIR=${WAYLAND_PROTOCOLS_SYSROOT_DIR}`$PKG_CONFIG --variable=pkgdatadir wayland-client` | ||
28 | + WAYLAND_PROTOCOLS_DIR=${WAYLAND_PROTOCOLS_SYSROOT_DIR}`$PKG_CONFIG --variable=pkgdatadir wayland-protocols` | ||
29 | video_wayland=yes | ||
30 | fi | ||
31 | fi | ||
32 | -- | ||
33 | 2.5.5 | ||
34 | |||
diff --git a/meta/recipes-graphics/libsdl2/libsdl2/0002-Avoid-finding-build-host-s-wayland-scanner.patch b/meta/recipes-graphics/libsdl2/libsdl2/0002-Avoid-finding-build-host-s-wayland-scanner.patch deleted file mode 100644 index 7837315f1c..0000000000 --- a/meta/recipes-graphics/libsdl2/libsdl2/0002-Avoid-finding-build-host-s-wayland-scanner.patch +++ /dev/null | |||
@@ -1,31 +0,0 @@ | |||
1 | From ae879091cf65cb70293b375ec7e61ed12a96d8a7 Mon Sep 17 00:00:00 2001 | ||
2 | From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com> | ||
3 | Date: Fri, 2 Dec 2016 09:39:25 +0100 | ||
4 | Subject: [PATCH] Avoid finding build host's wayland-scanner | ||
5 | MIME-Version: 1.0 | ||
6 | Content-Type: text/plain; charset=UTF-8 | ||
7 | Content-Transfer-Encoding: 8bit | ||
8 | |||
9 | Upstream-Status: Inappropriate [embedded specific] | ||
10 | |||
11 | Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> | ||
12 | --- | ||
13 | configure.in | 2 +- | ||
14 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
15 | |||
16 | diff --git a/configure.in b/configure.in | ||
17 | index 3376600..2aa6ed4 100644 | ||
18 | --- a/configure.in | ||
19 | +++ b/configure.in | ||
20 | @@ -1204,7 +1204,7 @@ AC_HELP_STRING([--enable-video-wayland-qt-touch], [QtWayland server support for | ||
21 | if $PKG_CONFIG --exists wayland-client wayland-scanner wayland-protocols wayland-egl wayland-cursor egl xkbcommon ; then | ||
22 | WAYLAND_CFLAGS=`$PKG_CONFIG --cflags wayland-client wayland-egl wayland-cursor xkbcommon` | ||
23 | WAYLAND_LIBS=`$PKG_CONFIG --libs wayland-client wayland-egl wayland-cursor xkbcommon` | ||
24 | - WAYLAND_SCANNER=`$PKG_CONFIG --variable=wayland_scanner wayland-scanner` | ||
25 | + AC_PATH_PROG([WAYLAND_SCANNER], [wayland-scanner]) | ||
26 | WAYLAND_CORE_PROTOCOL_DIR=${WAYLAND_PROTOCOLS_SYSROOT_DIR}`$PKG_CONFIG --variable=pkgdatadir wayland-client` | ||
27 | WAYLAND_PROTOCOLS_DIR=${WAYLAND_PROTOCOLS_SYSROOT_DIR}`$PKG_CONFIG --variable=pkgdatadir wayland-protocols` | ||
28 | video_wayland=yes | ||
29 | -- | ||
30 | 2.7.4 | ||
31 | |||
diff --git a/meta/recipes-graphics/libsdl2/libsdl2_2.0.5.bb b/meta/recipes-graphics/libsdl2/libsdl2_2.0.5.bb index 12d3aaf6f0..032f45bb20 100644 --- a/meta/recipes-graphics/libsdl2/libsdl2_2.0.5.bb +++ b/meta/recipes-graphics/libsdl2/libsdl2_2.0.5.bb | |||
@@ -17,8 +17,6 @@ DEPENDS_class-nativesdk = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'virtu | |||
17 | SRC_URI = " \ | 17 | SRC_URI = " \ |
18 | http://www.libsdl.org/release/SDL2-${PV}.tar.gz \ | 18 | http://www.libsdl.org/release/SDL2-${PV}.tar.gz \ |
19 | file://linkage.patch \ | 19 | file://linkage.patch \ |
20 | file://0001-prepend-our-sysroot-path-so-that-make-finds-our-wayl.patch \ | ||
21 | file://0002-Avoid-finding-build-host-s-wayland-scanner.patch \ | ||
22 | file://fix-build-failure-on-ppc.patch \ | 20 | file://fix-build-failure-on-ppc.patch \ |
23 | " | 21 | " |
24 | 22 | ||
@@ -35,7 +33,7 @@ EXTRA_OECONF = "--disable-oss --disable-esd --disable-arts \ | |||
35 | --enable-pthreads \ | 33 | --enable-pthreads \ |
36 | --enable-sdl-dlopen \ | 34 | --enable-sdl-dlopen \ |
37 | --disable-rpath \ | 35 | --disable-rpath \ |
38 | WAYLAND_PROTOCOLS_SYSROOT_DIR=${RECIPE_SYSROOT}" | 36 | " |
39 | 37 | ||
40 | # opengl packageconfig factored out to make it easy for distros | 38 | # opengl packageconfig factored out to make it easy for distros |
41 | # and BSP layers to pick either (desktop) opengl, gles2, or no GL | 39 | # and BSP layers to pick either (desktop) opengl, gles2, or no GL |