]> code.ossystems Code Review - openembedded-core.git/commit
libsdl: enable opengl for libsdl
authorJiajun Xu <jiajun.xu@intel.com>
Mon, 15 Aug 2011 12:58:42 +0000 (20:58 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 15 Aug 2011 14:13:35 +0000 (15:13 +0100)
commitc28e62125209aa2e9606f094a4100ac1107fdd28
treef6d86b0744b93bfd315ea4107ffe15cbaffa5d35
parent2d719f69676e9a64f7baf34f058441b887dfa14a
libsdl: enable opengl for libsdl

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>
meta/recipes-graphics/libsdl/libsdl_1.2.11.bb