summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb
Commit message (Collapse)AuthorAgeFilesLines
* libsdl: expand PACKAGECONFIG and enable native buildsRoss Burton2016-05-091-17/+18
| | | | | | | | | | | | | | | | | | | | | | | Use PACKAGECONFIG instead of using logic in DEPENDS and EXTRA_OECONF, adding new options for PulseAudio, tslib, DirectFB, OpenGL and X11. Pass --disable-x11-shared so that it links to the X libraries instead of using dlopen(). Disable tslib by default as the kernel event input subsystem is generally used. SDL's OpenGL support requires X11 so check for both x11 and opengl, and merge the dependencies. Finally enable native builds, with a minimal PACKAGECONFIG that will build from oe-core for native and nativesdk. (From OE-Core master rev: 3d6c31c3a4ff34376e17005a981bb55fc6f7a38f) (From OE-Core rev: c1b39f145b9e9f65875ec7b46030327741267031) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Joshua Lock <joshua.g.lock@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libsdl: depends on libglu when both x11 and openglRobert Yang2016-05-091-1/+2
| | | | | | | | | | | | | | | | The libglu requires both opengl (depends on virtual/libgl) and x11 (needs libGL.so which is provided by mesa when x11 in DISTRO_FEATURES), so let libsdl depends on libglu when both x11 and opengl in DISTRO_FEATURES. (From OE-Core master rev: b33e927096292f22f1bd9b2b0f633a6d645fc1eb) (From OE-Core rev: 45a6ae4cf6b2684ee7e58b8a85f44eb0031fa2b4) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Joshua Lock <joshua.g.lock@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: enable parallel build for several recipesRobert Yang2015-02-151-2/+0
| | | | | | | | | | I used a for loop to build these packages more than 520 times, these recipes never failed. (From OE-Core rev: 7957c5bc2771a763d26e50e716733c6335cef3c2) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libsdl: Convert to use pkg-config in internal m4 macrosRichard Purdie2014-06-251-0/+1
| | | | | | | | | Rather than code which doesn't even work properly when cross compiling, lets just use pkg-config instead. Its a little simpler. (From OE-Core rev: b550572bdad318aed02230496721430eec89c937) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* binconfig-disabled: Add class and useRichard Purdie2014-06-161-1/+3
| | | | | | | | | | | | | | | | | | | | | | This adds a binconfig-disabled class which can be used by recipes where a -config file is installed but we wish to disable it and just rely on the .pc files instead. Rather than simply deleting it, we make the script "exit 1" so that it can be found in PATH and raise a build error rather than something silently falling back to the build system for example. Rather than randomly finding -config files, this adds in the specification of a list of binconfig scripts which is more deterministic and maintainable moving forward. This patch converts various users in OE-Core to use this, a world build of OE-Core tests out ok with this change. There will likely be issues in other layers however, hence this being a RFT. (From OE-Core rev: 5870bd272b0b077d0826fb900b251884c1c05061) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Globally replace 'base_contains' calls with 'bb.utils.contains'Otavio Salvador2014-04-251-8/+8
| | | | | | | | | | | The base_contains is kept as a compatibility method and we ought to not use it in OE-Core so we can remove it from base metadata in future. (From OE-Core rev: d83b16dbf0862be387f84228710cb165c6d2b03b) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libsdl: add missing libglu dependency for openGLKoen Kooi2014-03-211-1/+1
| | | | | | | | | Configure checks for glu.h to determine if openGL is available. (From OE-Core rev: a7641a2bc3f3f7e661f71b17f91382fb9a1cde55) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libsdl: bump PRMartin Jansa2014-03-111-1/+1
| | | | | | | | | | * another PRINC removed (From OE-Core rev: 85db931054caa4dfb7bfca596558dcff4de286fc) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libsdl: Clean up configure option QA warningsRichard Purdie2013-11-301-3/+3
| | | | | | | | | | | | WARNING: QA Issue: nativesdk-libsdl: configure was passed unrecognised options: --disable-video-gem --disable-video-xbios --enable-dlopen --disable-debug --enable-endian The gem and xbios options exist but their helptext is wrong and there is no "video" in the name. This patch removes the now obsolete options and corrects the names of the others to match reality. (From OE-Core rev: 8cea5dd7d6804a8d739f5db6a5814ab6c802d538) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libsdl: Backport xData32 patch for x11 updateSaul Wold2013-08-221-1/+2
| | | | | | | (From OE-Core rev: afe343211c3f5d98717e7952e4d332d70a3b992a) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libsdl: Fix ${B} != ${S} issuesRichard Purdie2013-03-181-1/+1
| | | | | | | | Fix out of tree builds by remvoing cwd assumption. (From OE-Core rev: 4a805f74b8a2ac5db27ed8f3c3232d2391a18842) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libsdl: Use 'virtual/nativesdk-libx11' instead of hardcoding nativesdk-libx11Otavio Salvador2013-02-191-2/+2
| | | | | | | | (From OE-Core rev: bb7a913e4a0da450cc85edfe0d8f80bdf4065fad) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes-graphics: replace virtclass-native(sdk) with class-native(sdk)Robert Yang2012-11-021-1/+1
| | | | | | | | | | | | | The overrides virtclass-native and virtclass-nativesdk are deprecated, which should be replaced by class-native and class-nativesdk. [YOCTO #3297] (From OE-Core rev: db1a03da3a6a6e7adb68e28883204adfaa8b3f47) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libsdl: fix inconditional alsa disabling.Denis 'GNUtoo' Carikli2012-10-231-2/+2
| | | | | | | | | | | | | | | | Without that fix ALSA is inconditionally disabled, reguardless of the fact that alsa is in the distribution feature or not. This patch has been tested on the om-gta04 target with both alsa distribution feature enabled(libsdl can then play sound), and disabled(it fails to play some sound trough alsa). (From OE-Core rev: b635e47a2b8b711d5ddae3b3e5a5656402aee845) Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* nativesdk: Switch to using nativesdk as a prefix, not a suffixRichard Purdie2012-09-021-1/+1
| | | | | | | | | | | | | | | As discussed on the mailing lists, using a suffix to package names is hard and has lead to many recipes having to do PKGSUFFIX games. Its looking extremely hard to scale nativesdk much further without hacking many recipes. By comparison, using a prefix like multilib does works much better and doesn't involve "hacking" as many recipes. This change converts nativesdk to use a prefix using the existing multilib infrastructure. (From OE-Core rev: 81813c0e322dc04ce4b069117188d8a54dfddb8c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libsdl: update to 1.2.15Kang Kai2012-03-141-0/+65
Update libsdl to 1.2.15. Patch add.XGetRequest.symbol.patch is merged by upstream, so remove it. (From OE-Core rev: 94e18a1c574b97ba87724c0fea79d2af77ba4186) Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>