summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-graphics/libsdl/libsdl_1.2.15.bb37
1 files changed, 19 insertions, 18 deletions
diff --git a/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb b/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb
index 8b9e050f9e..9c0ec541e3 100644
--- a/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb
+++ b/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb
@@ -12,13 +12,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=27818cd7fd83877a8e3ef82b82798ef4"
12 12
13PROVIDES = "virtual/libsdl" 13PROVIDES = "virtual/libsdl"
14 14
15DEPENDS = "${@bb.utils.contains('DISTRO_FEATURES', 'directfb', 'directfb', '', d)} \
16 ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'virtual/libgl', '', d)} \
17 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'virtual/libx11 libxext libxrandr libxrender', '', d)} \
18 ${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'libglu', '', d)} \
19 tslib"
20DEPENDS_class-nativesdk = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'virtual/nativesdk-libx11 nativesdk-libxrandr nativesdk-libxrender nativesdk-libxext', '', d)}"
21
22PR = "r3" 15PR = "r3"
23 16
24SRC_URI = "http://www.libsdl.org/release/SDL-${PV}.tar.gz \ 17SRC_URI = "http://www.libsdl.org/release/SDL-${PV}.tar.gz \
@@ -39,21 +32,29 @@ inherit autotools lib_package binconfig-disabled pkgconfig
39 32
40EXTRA_OECONF = "--disable-static --enable-cdrom --enable-threads --enable-timers \ 33EXTRA_OECONF = "--disable-static --enable-cdrom --enable-threads --enable-timers \
41 --enable-file --disable-oss --disable-esd --disable-arts \ 34 --enable-file --disable-oss --disable-esd --disable-arts \
42 --disable-diskaudio --disable-nas --disable-esd-shared --disable-esdtest \ 35 --disable-diskaudio --disable-nas \
43 --disable-mintaudio --disable-nasm --disable-video-dga \ 36 --disable-mintaudio --disable-nasm --disable-video-dga \
44 --disable-video-fbcon --disable-video-ps2gs --disable-video-ps3 \ 37 --disable-video-fbcon --disable-video-ps2gs --disable-video-ps3 \
45 --disable-xbios --disable-gem --disable-video-dummy \ 38 --disable-xbios --disable-gem --disable-video-dummy \
46 --enable-input-events --enable-input-tslib --enable-pthreads \ 39 --enable-input-events --enable-pthreads \
47 ${@bb.utils.contains('DISTRO_FEATURES', 'directfb', '--enable-video-directfb', '--disable-video-directfb', d)} \
48 ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', '--enable-video-opengl', '--disable-video-opengl', d)} \
49 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '--enable-video-x11', '--disable-video-x11', d)} \
50 --disable-video-svga \ 40 --disable-video-svga \
51 --disable-video-picogui --disable-video-qtopia --enable-sdl-dlopen \ 41 --disable-video-picogui --disable-video-qtopia --enable-sdl-dlopen \
52 --disable-rpath \ 42 --disable-rpath"
53 --disable-pulseaudio" 43
54 44PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'alsa', '', d)} \
55PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'alsa', '', d)}" 45 ${@bb.utils.contains('DISTRO_FEATURES', 'pulseaudio', 'pulseaudio', '', d)} \
56PACKAGECONFIG[alsa] = "--enable-alsa --disable-alsatest,--disable-alsa,alsa-lib," 46 ${@bb.utils.contains('DISTRO_FEATURES', 'directfb', 'directfb', '', d)} \
47 ${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'opengl', '', d)} \
48 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}"
49PACKAGECONFIG_class-native = "x11"
50PACKAGECONFIG_class-nativesdk = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}"
51
52PACKAGECONFIG[alsa] = "--enable-alsa --disable-alsatest,--disable-alsa,alsa-lib"
53PACKAGECONFIG[pulseaudio] = "--enable-pulseaudio,--disable-pulseaudio,pulseaudio"
54PACKAGECONFIG[tslib] = "--enable-input-tslib, --disable-input-tslib, tslib"
55PACKAGECONFIG[directfb] = "--enable-video-directfb, --disable-video-directfb, directfb"
56PACKAGECONFIG[opengl] = "--enable-video-opengl, --disable-video-opengl, virtual/libgl libglu"
57PACKAGECONFIG[x11] = "--enable-video-x11 --disable-x11-shared, --disable-video-x11, virtual/libx11 libxext libxrandr libxrender"
57 58
58EXTRA_AUTORECONF += "--include=acinclude --exclude=autoheader" 59EXTRA_AUTORECONF += "--include=acinclude --exclude=autoheader"
59 60
@@ -66,4 +67,4 @@ do_configure_prepend() {
66 export SYSROOT=$PKG_CONFIG_SYSROOT_DIR 67 export SYSROOT=$PKG_CONFIG_SYSROOT_DIR
67} 68}
68 69
69BBCLASSEXTEND = "nativesdk" 70BBCLASSEXTEND = "native nativesdk"