diff options
| author | Robert Yang <liezhi.yang@windriver.com> | 2017-11-14 01:58:49 +0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-11-21 13:06:13 +0000 |
| commit | f955ef4758ec88a88084b9aafb7ce11ff9bf475e (patch) | |
| tree | 83f1b933903868bd07557f1e969c0f8cc361d77b /meta/recipes-graphics/libsdl2/libsdl2_2.0.5.bb | |
| parent | 3b439ef177187f99e465ea44e90fdb21dae10175 (diff) | |
| download | poky-f955ef4758ec88a88084b9aafb7ce11ff9bf475e.tar.gz | |
libsdl2: 2.0.5 -> 2.0.7
* Drop linkage.patch, this version already links .lo object.
* Remove backported patch fix-build-failure-on-ppc.patch
* Update LIC_FILES_CHKSUM since the year is changed.
(From OE-Core rev: 2702506f48a1b7e72e1786d24bd0113396dbc85d)
Signed-off-by: Robert Yang <liezhi.yang@windriver.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.5.bb')
| -rw-r--r-- | meta/recipes-graphics/libsdl2/libsdl2_2.0.5.bb | 67 |
1 files changed, 0 insertions, 67 deletions
diff --git a/meta/recipes-graphics/libsdl2/libsdl2_2.0.5.bb b/meta/recipes-graphics/libsdl2/libsdl2_2.0.5.bb deleted file mode 100644 index 032f45bb20..0000000000 --- a/meta/recipes-graphics/libsdl2/libsdl2_2.0.5.bb +++ /dev/null | |||
| @@ -1,67 +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 = " \ | ||
| 18 | http://www.libsdl.org/release/SDL2-${PV}.tar.gz \ | ||
| 19 | file://linkage.patch \ | ||
| 20 | file://fix-build-failure-on-ppc.patch \ | ||
| 21 | " | ||
| 22 | |||
| 23 | S = "${WORKDIR}/SDL2-${PV}" | ||
| 24 | |||
| 25 | SRC_URI[md5sum] = "d4055424d556b4a908aa76fad63abd3c" | ||
| 26 | SRC_URI[sha256sum] = "442038cf55965969f2ff06d976031813de643af9c9edc9e331bd761c242e8785" | ||
| 27 | |||
| 28 | inherit autotools lib_package binconfig pkgconfig | ||
| 29 | |||
| 30 | EXTRA_OECONF = "--disable-oss --disable-esd --disable-arts \ | ||
| 31 | --disable-diskaudio --disable-nas --disable-esd-shared --disable-esdtest \ | ||
| 32 | --disable-video-dummy \ | ||
| 33 | --enable-pthreads \ | ||
| 34 | --enable-sdl-dlopen \ | ||
| 35 | --disable-rpath \ | ||
| 36 | " | ||
| 37 | |||
| 38 | # opengl packageconfig factored out to make it easy for distros | ||
| 39 | # and BSP layers to pick either (desktop) opengl, gles2, or no GL | ||
| 40 | PACKAGECONFIG_GL ?= "${@bb.utils.filter('DISTRO_FEATURES', 'opengl', d)}" | ||
| 41 | |||
| 42 | PACKAGECONFIG ??= " \ | ||
| 43 | ${PACKAGECONFIG_GL} \ | ||
| 44 | ${@bb.utils.filter('DISTRO_FEATURES', 'alsa directfb pulseaudio x11', d)} \ | ||
| 45 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland gles2', '', d)} \ | ||
| 46 | " | ||
| 47 | PACKAGECONFIG[alsa] = "--enable-alsa --disable-alsatest,--disable-alsa,alsa-lib," | ||
| 48 | PACKAGECONFIG[directfb] = "--enable-video-directfb,--disable-video-directfb,directfb" | ||
| 49 | PACKAGECONFIG[gles2] = "--enable-video-opengles,--disable-video-opengles,virtual/libgles2" | ||
| 50 | PACKAGECONFIG[opengl] = "--enable-video-opengl,--disable-video-opengl,virtual/libgl" | ||
| 51 | PACKAGECONFIG[pulseaudio] = "--enable-pulseaudio,--disable-pulseaudio,pulseaudio" | ||
| 52 | PACKAGECONFIG[tslib] = "--enable-input-tslib,--disable-input-tslib,tslib" | ||
| 53 | PACKAGECONFIG[wayland] = "--enable-video-wayland,--disable-video-wayland,wayland-native wayland wayland-protocols libxkbcommon" | ||
| 54 | PACKAGECONFIG[x11] = "--enable-video-x11,--disable-video-x11,virtual/libx11 libxext libxrandr libxrender" | ||
| 55 | |||
| 56 | EXTRA_AUTORECONF += "--include=acinclude --exclude=autoheader" | ||
| 57 | |||
| 58 | do_configure_prepend() { | ||
| 59 | # Remove old libtool macros. | ||
| 60 | MACROS="libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4" | ||
| 61 | for i in ${MACROS}; do | ||
| 62 | rm -f ${S}/acinclude/$i | ||
| 63 | done | ||
| 64 | export SYSROOT=$PKG_CONFIG_SYSROOT_DIR | ||
| 65 | } | ||
| 66 | |||
| 67 | FILES_${PN}-dev += "${libdir}/cmake" | ||
