diff options
| author | Andreas Müller <schnitzeltony@googlemail.com> | 2016-10-27 22:07:19 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-11-01 10:05:45 +0000 |
| commit | 470e6225e3109a63b2bffb072d0636c7ce9946d3 (patch) | |
| tree | e932402010d5d4b0e42d5567d79cbdb75e12b1a3 /meta/recipes-graphics/libsdl2/libsdl2_2.0.4.bb | |
| parent | 003b053498aea91fdb8c5418d0d8bbda7b23dbc0 (diff) | |
| download | poky-470e6225e3109a63b2bffb072d0636c7ce9946d3.tar.gz | |
libsdl2: update to 2.0.5
* 0001-src-video-make-it-compatible-with-wayland-1.10.patch is removed because
the problem has been resolved upstream
* Add 0001-prepend-our-sysroot-path-so-that-make-finds-our-wayl.patch
so that WAYLAND_PROTOCOLS_SYSROOT_DIR is substituted in a way similar to gtk3
(From OE-Core rev: 97fff54efe6b03798ad1c5e39155eaeab0a33300)
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/libsdl2/libsdl2_2.0.4.bb')
| -rw-r--r-- | meta/recipes-graphics/libsdl2/libsdl2_2.0.4.bb | 68 |
1 files changed, 0 insertions, 68 deletions
diff --git a/meta/recipes-graphics/libsdl2/libsdl2_2.0.4.bb b/meta/recipes-graphics/libsdl2/libsdl2_2.0.4.bb deleted file mode 100644 index 844ff333cb..0000000000 --- a/meta/recipes-graphics/libsdl2/libsdl2_2.0.4.bb +++ /dev/null | |||
| @@ -1,68 +0,0 @@ | |||
| 1 | SUMMARY = "Simple DirectMedia Layer" | ||
| 2 | DESCRIPTION = "Simple DirectMedia Layer is a cross-platform multimedia \ | ||
| 3 | library designed to provide low level access to audio, keyboard, mouse, \ | ||
| 4 | joystick, 3D hardware via OpenGL, and 2D video framebuffer." | ||
| 5 | HOMEPAGE = "http://www.libsdl.org" | ||
| 6 | BUGTRACKER = "http://bugzilla.libsdl.org/" | ||
| 7 | |||
| 8 | SECTION = "libs" | ||
| 9 | |||
| 10 | LICENSE = "Zlib" | ||
| 11 | LIC_FILES_CHKSUM = "file://COPYING.txt;md5=b2304ad7e91711027590d3f102a754b7" | ||
| 12 | |||
| 13 | PROVIDES = "virtual/libsdl2" | ||
| 14 | |||
| 15 | DEPENDS_class-nativesdk = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'virtual/nativesdk-libx11 nativesdk-libxrandr nativesdk-libxrender nativesdk-libxext', '', d)}" | ||
| 16 | |||
| 17 | SRC_URI = "http://www.libsdl.org/release/SDL2-${PV}.tar.gz \ | ||
| 18 | file://linkage.patch \ | ||
| 19 | file://0001-src-video-make-it-compatible-with-wayland-1.10.patch \ | ||
| 20 | " | ||
| 21 | |||
| 22 | S = "${WORKDIR}/SDL2-${PV}" | ||
| 23 | |||
| 24 | SRC_URI[md5sum] = "44fc4a023349933e7f5d7a582f7b886e" | ||
| 25 | SRC_URI[sha256sum] = "da55e540bf6331824153805d58b590a29c39d2d506c6d02fa409aedeab21174b" | ||
| 26 | |||
| 27 | inherit autotools lib_package binconfig pkgconfig | ||
| 28 | |||
| 29 | EXTRA_OECONF = "--disable-oss --disable-esd --disable-arts \ | ||
| 30 | --disable-diskaudio --disable-nas --disable-esd-shared --disable-esdtest \ | ||
| 31 | --disable-video-dummy \ | ||
| 32 | --enable-pthreads \ | ||
| 33 | --enable-sdl-dlopen \ | ||
| 34 | --disable-rpath" | ||
| 35 | |||
| 36 | # opengl packageconfig factored out to make it easy for distros | ||
| 37 | # and BSP layers to pick either (desktop) opengl, gles2, or no GL | ||
| 38 | PACKAGECONFIG_GL ?= "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'opengl', '', d)}" | ||
| 39 | |||
| 40 | PACKAGECONFIG ??= " \ | ||
| 41 | ${PACKAGECONFIG_GL} \ | ||
| 42 | ${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'alsa', '', d)} \ | ||
| 43 | ${@bb.utils.contains('DISTRO_FEATURES', 'directfb', 'directfb', '', d)} \ | ||
| 44 | ${@bb.utils.contains('DISTRO_FEATURES', 'pulseaudio', 'pulseaudio', '', d)} \ | ||
| 45 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland gles2', '', d)} \ | ||
| 46 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} \ | ||
| 47 | " | ||
| 48 | PACKAGECONFIG[alsa] = "--enable-alsa --disable-alsatest,--disable-alsa,alsa-lib," | ||
| 49 | PACKAGECONFIG[directfb] = "--enable-video-directfb,--disable-video-directfb,directfb" | ||
| 50 | PACKAGECONFIG[gles2] = "--enable-video-opengles,--disable-video-opengles,virtual/libgles2" | ||
| 51 | PACKAGECONFIG[opengl] = "--enable-video-opengl,--disable-video-opengl,virtual/libgl" | ||
| 52 | PACKAGECONFIG[pulseaudio] = "--enable-pulseaudio,--disable-pulseaudio,pulseaudio" | ||
| 53 | PACKAGECONFIG[tslib] = "--enable-input-tslib,--disable-input-tslib,tslib" | ||
| 54 | PACKAGECONFIG[wayland] = "--enable-video-wayland,--disable-video-wayland,wayland libxkbcommon" | ||
| 55 | PACKAGECONFIG[x11] = "--enable-video-x11,--disable-video-x11,virtual/libx11 libxext libxrandr libxrender" | ||
| 56 | |||
| 57 | EXTRA_AUTORECONF += "--include=acinclude --exclude=autoheader" | ||
| 58 | |||
| 59 | do_configure_prepend() { | ||
| 60 | # Remove old libtool macros. | ||
| 61 | MACROS="libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4" | ||
| 62 | for i in ${MACROS}; do | ||
| 63 | rm -f ${S}/acinclude/$i | ||
| 64 | done | ||
| 65 | export SYSROOT=$PKG_CONFIG_SYSROOT_DIR | ||
| 66 | } | ||
| 67 | |||
| 68 | FILES_${PN}-dev += "${libdir}/cmake" | ||
