]> 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)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 12 Dec 2015 23:31:41 +0000 (23:31 +0000)
commit3d6c31c3a4ff34376e17005a981bb55fc6f7a38f
treebf391a80bd0879ea8b445f7a31ec7559dbaa877b
parent1c20e66428df10000741c25dddb7a2b1fd55ba42
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>
meta/recipes-graphics/libsdl/libsdl_1.2.15.bb