]> 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>
Fri, 6 May 2016 14:51:14 +0000 (15:51 +0100)
commitc1b39f145b9e9f65875ec7b46030327741267031
treefe4d1ec3edc75bb09fbea8531976a353eab8c9ac
parent45a6ae4cf6b2684ee7e58b8a85f44eb0031fa2b4
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.

(From OE-Core master rev: 3d6c31c3a4ff34376e17005a981bb55fc6f7a38f)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
meta/recipes-graphics/libsdl/libsdl_1.2.15.bb