diff options
-rw-r--r-- | meta/recipes-graphics/libsdl/libsdl_1.2.15.bb | 37 |
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 | ||
13 | PROVIDES = "virtual/libsdl" | 13 | PROVIDES = "virtual/libsdl" |
14 | 14 | ||
15 | DEPENDS = "${@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" | ||
20 | DEPENDS_class-nativesdk = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'virtual/nativesdk-libx11 nativesdk-libxrandr nativesdk-libxrender nativesdk-libxext', '', d)}" | ||
21 | |||
22 | PR = "r3" | 15 | PR = "r3" |
23 | 16 | ||
24 | SRC_URI = "http://www.libsdl.org/release/SDL-${PV}.tar.gz \ | 17 | SRC_URI = "http://www.libsdl.org/release/SDL-${PV}.tar.gz \ |
@@ -39,21 +32,29 @@ inherit autotools lib_package binconfig-disabled pkgconfig | |||
39 | 32 | ||
40 | EXTRA_OECONF = "--disable-static --enable-cdrom --enable-threads --enable-timers \ | 33 | EXTRA_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 | 44 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'alsa', '', d)} \ | |
55 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'alsa', '', d)}" | 45 | ${@bb.utils.contains('DISTRO_FEATURES', 'pulseaudio', 'pulseaudio', '', d)} \ |
56 | PACKAGECONFIG[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)}" | ||
49 | PACKAGECONFIG_class-native = "x11" | ||
50 | PACKAGECONFIG_class-nativesdk = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}" | ||
51 | |||
52 | PACKAGECONFIG[alsa] = "--enable-alsa --disable-alsatest,--disable-alsa,alsa-lib" | ||
53 | PACKAGECONFIG[pulseaudio] = "--enable-pulseaudio,--disable-pulseaudio,pulseaudio" | ||
54 | PACKAGECONFIG[tslib] = "--enable-input-tslib, --disable-input-tslib, tslib" | ||
55 | PACKAGECONFIG[directfb] = "--enable-video-directfb, --disable-video-directfb, directfb" | ||
56 | PACKAGECONFIG[opengl] = "--enable-video-opengl, --disable-video-opengl, virtual/libgl libglu" | ||
57 | PACKAGECONFIG[x11] = "--enable-video-x11 --disable-x11-shared, --disable-video-x11, virtual/libx11 libxext libxrandr libxrender" | ||
57 | 58 | ||
58 | EXTRA_AUTORECONF += "--include=acinclude --exclude=autoheader" | 59 | EXTRA_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 | ||
69 | BBCLASSEXTEND = "nativesdk" | 70 | BBCLASSEXTEND = "native nativesdk" |