summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/libsdl
diff options
context:
space:
mode:
authorAndreas Oberritter <obi@opendreambox.org>2012-03-06 17:03:04 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-08 19:55:34 (GMT)
commitce342127ff72506dcc1db717feb4c99fb3d69c75 (patch)
tree3398eaa4f94096811574971e788f875f4a0b15df /meta/recipes-graphics/libsdl
parent70cff1cb93d67fc64db2edbd605a9f460012f699 (diff)
downloadpoky-ce342127ff72506dcc1db717feb4c99fb3d69c75.tar.gz
libsdl: add DirectFB support
* Use conditional dependencies for DirectFB, like it's already done for OpenGL and X11. (From OE-Core rev: 29ba15af6b4a85687bd487779ec2ea2be80644dc) Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/libsdl')
-rw-r--r--meta/recipes-graphics/libsdl/libsdl_1.2.14.bb8
1 files changed, 5 insertions, 3 deletions
diff --git a/meta/recipes-graphics/libsdl/libsdl_1.2.14.bb b/meta/recipes-graphics/libsdl/libsdl_1.2.14.bb
index 62a2d1f..5c9e645 100644
--- a/meta/recipes-graphics/libsdl/libsdl_1.2.14.bb
+++ b/meta/recipes-graphics/libsdl/libsdl_1.2.14.bb
@@ -12,12 +12,13 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=27818cd7fd83877a8e3ef82b82798ef4"
12 12
13PROVIDES = "virtual/libsdl" 13PROVIDES = "virtual/libsdl"
14 14
15DEPENDS = "${@base_contains('DISTRO_FEATURES', 'opengl', 'virtual/libgl', '', d)} \ 15DEPENDS = "${@base_contains('DISTRO_FEATURES', 'directfb', 'directfb', '', d)} \
16 ${@base_contains('DISTRO_FEATURES', 'opengl', 'virtual/libgl', '', d)} \
16 ${@base_contains('DISTRO_FEATURES', 'x11', 'virtual/libx11 libxext libxrandr libxrender', '', d)} \ 17 ${@base_contains('DISTRO_FEATURES', 'x11', 'virtual/libx11 libxext libxrandr libxrender', '', d)} \
17 tslib" 18 tslib"
18DEPENDS_virtclass-nativesdk = "${@base_contains('DISTRO_FEATURES', 'x11', 'libx11-nativesdk libxrandr-nativesdk libxrender-nativesdk libxext-nativesdk', '', d)}" 19DEPENDS_virtclass-nativesdk = "${@base_contains('DISTRO_FEATURES', 'x11', 'libx11-nativesdk libxrandr-nativesdk libxrender-nativesdk libxext-nativesdk', '', d)}"
19 20
20PR = "r6" 21PR = "r7"
21 22
22SRC_URI = "http://www.libsdl.org/release/SDL-${PV}.tar.gz \ 23SRC_URI = "http://www.libsdl.org/release/SDL-${PV}.tar.gz \
23 file://configure_tweak.patch \ 24 file://configure_tweak.patch \
@@ -35,9 +36,10 @@ EXTRA_OECONF = "--disable-static --disable-debug --enable-cdrom --enable-threads
35 --enable-file --disable-oss --disable-esd --disable-arts \ 36 --enable-file --disable-oss --disable-esd --disable-arts \
36 --disable-diskaudio --disable-nas --disable-esd-shared --disable-esdtest \ 37 --disable-diskaudio --disable-nas --disable-esd-shared --disable-esdtest \
37 --disable-mintaudio --disable-nasm --disable-video-dga \ 38 --disable-mintaudio --disable-nasm --disable-video-dga \
38 --disable-video-fbcon --disable-video-directfb --disable-video-ps2gs --disable-video-ps3 \ 39 --disable-video-fbcon --disable-video-ps2gs --disable-video-ps3 \
39 --disable-video-xbios --disable-video-gem --disable-video-dummy \ 40 --disable-video-xbios --disable-video-gem --disable-video-dummy \
40 --enable-input-events --enable-input-tslib --enable-pthreads \ 41 --enable-input-events --enable-input-tslib --enable-pthreads \
42 ${@base_contains('DISTRO_FEATURES', 'directfb', '--enable-video-directfb', '--disable-video-directfb', d)} \
41 ${@base_contains('DISTRO_FEATURES', 'opengl', '--enable-video-opengl', '--disable-video-opengl', d)} \ 43 ${@base_contains('DISTRO_FEATURES', 'opengl', '--enable-video-opengl', '--disable-video-opengl', d)} \
42 ${@base_contains('DISTRO_FEATURES', 'x11', '--enable-video-x11', '--disable-video-x11', d)} \ 44 ${@base_contains('DISTRO_FEATURES', 'x11', '--enable-video-x11', '--disable-video-x11', d)} \
43 --disable-video-svga \ 45 --disable-video-svga \