]> code.ossystems Code Review - openembedded-core.git/commit
libsdl: expand PACKAGECONFIG and enable native builds
authorRoss Burton <ross.burton@intel.com>
Mon, 30 Nov 2015 11:31:14 +0000 (11:31 +0000)
committerJoshua Lock <joshua.g.lock@intel.com>
Thu, 3 Mar 2016 11:03:14 +0000 (11:03 +0000)
commit66205c6096ce9d8bc828bf9b61d927cb495f69b1
treed056d589106079fc2fddccbcec7620bbaec74373
parent91d4706d356659e46923a8314f1a2aa259ead4fe
libsdl: expand PACKAGECONFIG and enable native builds

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>
(From OE-Core master rev: 3d6c31c3a4ff34376e17005a981bb55fc6f7a38f)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
meta/recipes-graphics/libsdl/libsdl_1.2.15.bb