aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/libsdl
AgeCommit message (Collapse)Author
2017-08-29libsdl: Move PACKAGECONFIG options from meta-mingwMark Hatle
There is no way to make PACKAGECONFIG options sdkmachine specific using overrides. This causes potential failures when running the Yocto Project compatible script. Moving these to the OpenEmbedded Core recipe will ensure that the options are always applied evenly and avoid any potential problems with the compatible script. Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-09libsdl: Pass --tag option to libtool invocationKhem Raj
Helps in fixing errors when using external toolchain and hardening flags Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-03-01recipes: Make use of the new bb.utils.filter() functionPeter Kjellerstedt
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-12-12libsdl: expand PACKAGECONFIG and enable native buildsRoss Burton
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. Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-12-08package_regex.inc: split the rest of the entries to their recipesAlexander Kanavin
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-12-01libsdl: remove redundant configure_tweak patchRoss Burton
configure_tweak.patch was simply adding arguments to AC_DEFINE which are only needed by autoheader. We we now disable autoheader and use upstream's config.h.in this patch isn't needed anymore. Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-09-21libsdl: depends on libglu when both x11 and openglRobert Yang
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. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-05-15Revert "libsdl: depends on libglu when x11"Ross Burton
This patch was incorrect, GLU depends on GLX (and so X) but you can build SDL with X11 and without GL. This reverts commit f744f0b18c22daf8bdab837ba8096760b1ce00b8. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-05-14libsdl: depends on libglu when x11Robert Yang
Let it depend on libglu when x11 rather than opengl, since libglu can't be built without x11. Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2015-02-14meta: enable parallel build for several recipesRobert Yang
I used a for loop to build these packages more than 520 times, these recipes never failed. Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2014-06-25libsdl: Convert to use pkg-config in internal m4 macrosRichard Purdie
Rather than code which doesn't even work properly when cross compiling, lets just use pkg-config instead. Its a little simpler. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-16binconfig-disabled: Add class and useRichard Purdie
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. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-25Globally replace 'base_contains' calls with 'bb.utils.contains'Otavio Salvador
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. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-03-21libsdl: add missing libglu dependency for openGLKoen Kooi
Configure checks for glu.h to determine if openGL is available. Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-03-11libsdl: bump PRMartin Jansa
* another PRINC removed 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>
2013-11-29libsdl: Clean up configure option QA warningsRichard Purdie
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. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-08-22libsdl: Backport xData32 patch for x11 updateSaul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-03-18libsdl: Fix ${B} != ${S} issuesRichard Purdie
Fix out of tree builds by remvoing cwd assumption. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-02-19libsdl: Use 'virtual/nativesdk-libx11' instead of hardcoding nativesdk-libx11Otavio Salvador
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>
2012-11-02recipes-graphics: replace virtclass-native(sdk) with class-native(sdk)Robert Yang
The overrides virtclass-native and virtclass-nativesdk are deprecated, which should be replaced by class-native and class-nativesdk. [YOCTO #3297] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-10-23libsdl: fix inconditional alsa disabling.Denis 'GNUtoo' Carikli
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). 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>
2012-08-31nativesdk: Switch to using nativesdk as a prefix, not a suffixRichard Purdie
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. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-14libsdl: update to 1.2.15Kang Kai
Update libsdl to 1.2.15. Patch add.XGetRequest.symbol.patch is merged by upstream, so remove it. Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-08libsdl: add DirectFB supportAndreas Oberritter
* Use conditional dependencies for DirectFB, like it's already done for OpenGL and X11. Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-02-24libsdl: allow building without x11Paul Eggleton
Disable X11 output support for target and nativesdk if x11 is not in DISTRO_FEATURES. Fixes [YOCTO #2020] Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-02-23libsdl 1.2.14: regenerate patch so it applies with 'patch' as well as 'git ↵Koen Kooi
apply' The '@@ -, +, @@' part upsets plain 'patch' Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-02-21libsdl: add fix for new _XGetRequest symbol backported to libx11Martin Jansa
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2011-12-19libsdl 1.2.14: fix packagingKoen Kooi
For some reason the -config script was shipped in ${PN} leading to shlibs renaming issues: What we want, and how meta-oe used to do it: libsdl-1.2-0_1.2.14-r0.0_armv7a.ipk Current OE-core status: libsdl_1.2.14-r2_armv7a.ipk With this commit we get both proper shlib renaming and the -dev package now has all the dev files Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-12-15Patch Upstream Status UpdatesSaul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-12-05libsdl: Disable pulseaudio explicitlyRichard Purdie
Its not listed in DEPENDS so should never have been built. We could configure this as a configuration option and I'll take a patch for that but I like deterministic builds so force it off for now. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-11-29libsdl: enable alsa based on PACKAGECONFIG and respect DISTRO_FEATURESMartin Jansa
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2011-11-29libsdl: replace tabs with spacesMartin Jansa
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2011-11-29libsdl: enable cdrom, alsa and tslib, disable rpath and add few fixes from ↵Martin Jansa
meta-oe * virtual/libsdl is used in sdl.bbclass but nothing was providing it * rpath disabled because otherwise libtool and ld try to link against ${libdir}/libdl.so.2 on the host (see OE-classic commit af1a2e0e7626e372f22afbcabf08d9ae6b0d7b01) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2011-11-29libsdl: rename files dir to libsdl-1.2.14 for faster lookupMartin Jansa
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2011-11-29libsdl: drop unused filesMartin Jansa
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2011-10-20libsdl: update to 1.2.14Kang Kai
Update libsdl to 1.2.14 * update configure_tweak.patch * update bb file, including add configure option --disable-video-ps3, drop acinclude.m4 and kernel-asm-page.patch and remove old libtool macros Signed-off-by: Kang Kai <kai.kang@windriver.com>
2011-08-23libsdl: do not inherit nativesdkJiajun Xu
We already enable target version for libsdl and use BBCLASSEXTEND to enable nativesdk. No need to inherit nativesdk then. Signed-off-by: Jiajun Xu <jiajun.xu@intel.com>
2011-08-23recipes: Delete patch=1, its default and replace pnum with striplevelKhem Raj
Some place pnum=1 is used which is removed as well since striplevel=1 is default Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-08-15libsdl: enable opengl for libsdlJiajun Xu
To enable opengl for libsdl, we need DEPENDS on virtual/libgl. Add a check for "opengl" in DISTRO_FEATURES and when it's set, "--enable-video-opengl" and "virtual/libgl" will be added into EXTRA_CONF and DEPENDS. Signed-off-by: Jiajun Xu <jiajun.xu@intel.com> Acked-by: Phil Blundell <philb@gnu.org>
2011-08-15libsdl: add target versionJiajun Xu
Rename libsdl-nativesdk to libsdl to enable target version. libsdl is needed in some graphics testing. Signed-off-by: Jiajun Xu <jiajun.xu@intel.com> Acked-by: Phil Blundell <philb@gnu.org>
2011-07-26upstream status: add for libsdl and xserver patchesYu Ke
Signed-off-by: Yu Ke <ke.yu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-04-28libsdl: add SRC_URI ChecksumsSaul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2010-12-30RDEPENDS, RRECOMMENDS -> RDPEPENDS_${PN}, RRECOMMENDS_${PN}Koen Kooi
For these recipes the dependencies listed in RDEPENDS and RRECOMMENDS only apply to ${PN} Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-12-25libsdl: Add LIC_FILES_CHKSUMRichard Purdie
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-09-01packages: Separate out most of the remaining packages into recipesRichard Purdie
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>