diff options
Diffstat (limited to 'meta/recipes-graphics/libsdl')
-rw-r--r-- | meta/recipes-graphics/libsdl/libsdl_1.2.11.bb | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/meta/recipes-graphics/libsdl/libsdl_1.2.11.bb b/meta/recipes-graphics/libsdl/libsdl_1.2.11.bb index 7c1c507666..f08077d8d2 100644 --- a/meta/recipes-graphics/libsdl/libsdl_1.2.11.bb +++ b/meta/recipes-graphics/libsdl/libsdl_1.2.11.bb | |||
@@ -10,10 +10,10 @@ SECTION = "libs" | |||
10 | LICENSE = "LGPLv2.1" | 10 | LICENSE = "LGPLv2.1" |
11 | LIC_FILES_CHKSUM = "file://COPYING;md5=27818cd7fd83877a8e3ef82b82798ef4" | 11 | LIC_FILES_CHKSUM = "file://COPYING;md5=27818cd7fd83877a8e3ef82b82798ef4" |
12 | 12 | ||
13 | DEPENDS = "virtual/libx11 libxext libxrandr libxrender" | 13 | DEPENDS = "${@base_contains('DISTRO_FEATURES', 'opengl', 'virtual/libgl', '', d)} virtual/libx11 libxext libxrandr libxrender" |
14 | DEPENDS_virtclass-nativesdk = "libx11-nativesdk libxrandr-nativesdk libxrender-nativesdk libxext-nativesdk" | 14 | DEPENDS_virtclass-nativesdk = "libx11-nativesdk libxrandr-nativesdk libxrender-nativesdk libxext-nativesdk" |
15 | 15 | ||
16 | PR = "r6" | 16 | PR = "r7" |
17 | 17 | ||
18 | SRC_URI = "http://www.libsdl.org/release/SDL-${PV}.tar.gz \ | 18 | SRC_URI = "http://www.libsdl.org/release/SDL-${PV}.tar.gz \ |
19 | file://acinclude.m4 \ | 19 | file://acinclude.m4 \ |
@@ -33,7 +33,8 @@ EXTRA_OECONF = "--disable-static --disable-debug --disable-cdrom --enable-thread | |||
33 | --disable-mintaudio --disable-nasm --enable-video-x11 --disable-video-dga \ | 33 | --disable-mintaudio --disable-nasm --enable-video-x11 --disable-video-dga \ |
34 | --disable-video-fbcon --disable-video-directfb --disable-video-ps2gs \ | 34 | --disable-video-fbcon --disable-video-directfb --disable-video-ps2gs \ |
35 | --disable-video-xbios --disable-video-gem --disable-video-dummy \ | 35 | --disable-video-xbios --disable-video-gem --disable-video-dummy \ |
36 | --disable-video-opengl --enable-input-events --enable-pthreads \ | 36 | --enable-input-events --enable-pthreads \ |
37 | ${@base_contains('DISTRO_FEATURES', 'opengl', '--enable-video-opengl', '--disable-video-opengl', d)} \ | ||
37 | --disable-video-svga \ | 38 | --disable-video-svga \ |
38 | --disable-video-picogui --disable-video-qtopia --enable-dlopen" | 39 | --disable-video-picogui --disable-video-qtopia --enable-dlopen" |
39 | 40 | ||