diff options
Diffstat (limited to 'meta/recipes-graphics/libsdl/libsdl_1.2.14.bb')
| -rw-r--r-- | meta/recipes-graphics/libsdl/libsdl_1.2.14.bb | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/meta/recipes-graphics/libsdl/libsdl_1.2.14.bb b/meta/recipes-graphics/libsdl/libsdl_1.2.14.bb new file mode 100644 index 0000000000..6b23344b49 --- /dev/null +++ b/meta/recipes-graphics/libsdl/libsdl_1.2.14.bb | |||
| @@ -0,0 +1,50 @@ | |||
| 1 | SUMMARY = "Simple DirectMedia Layer" | ||
| 2 | DESCRIPTION = "Simple DirectMedia Layer is a cross-platform multimedia \ | ||
| 3 | library designed to provide low level access to audio, keyboard, mouse, \ | ||
| 4 | joystick, 3D hardware via OpenGL, and 2D video framebuffer." | ||
| 5 | HOMEPAGE = "http://www.libsdl.org" | ||
| 6 | BUGTRACKER = "http://bugzilla.libsdl.org/" | ||
| 7 | |||
| 8 | SECTION = "libs" | ||
| 9 | |||
| 10 | LICENSE = "LGPLv2.1" | ||
| 11 | LIC_FILES_CHKSUM = "file://COPYING;md5=27818cd7fd83877a8e3ef82b82798ef4" | ||
| 12 | |||
| 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" | ||
| 15 | |||
| 16 | PR = "r0" | ||
| 17 | |||
| 18 | SRC_URI = "http://www.libsdl.org/release/SDL-${PV}.tar.gz \ | ||
| 19 | file://configure_tweak.patch \ | ||
| 20 | " | ||
| 21 | |||
| 22 | S = "${WORKDIR}/SDL-${PV}" | ||
| 23 | |||
| 24 | SRC_URI[md5sum] = "e52086d1b508fa0b76c52ee30b55bec4" | ||
| 25 | SRC_URI[sha256sum] = "5d927e287034cb6bb0ebccfa382cb1d185cb113c8ab5115a0759798642eed9b6" | ||
| 26 | |||
| 27 | inherit autotools binconfig pkgconfig | ||
| 28 | |||
| 29 | EXTRA_OECONF = "--disable-static --disable-debug --disable-cdrom --enable-threads --enable-timers --enable-endian \ | ||
| 30 | --enable-file --disable-oss --disable-alsa --disable-esd --disable-arts \ | ||
| 31 | --disable-diskaudio --disable-nas --disable-esd-shared --disable-esdtest \ | ||
| 32 | --disable-mintaudio --disable-nasm --enable-video-x11 --disable-video-dga \ | ||
| 33 | --disable-video-fbcon --disable-video-directfb --disable-video-ps2gs --disable-video-ps3 \ | ||
| 34 | --disable-video-xbios --disable-video-gem --disable-video-dummy \ | ||
| 35 | --enable-input-events --enable-pthreads \ | ||
| 36 | ${@base_contains('DISTRO_FEATURES', 'opengl', '--enable-video-opengl', '--disable-video-opengl', d)} \ | ||
| 37 | --disable-video-svga \ | ||
| 38 | --disable-video-picogui --disable-video-qtopia --enable-dlopen" | ||
| 39 | |||
| 40 | PARALLEL_MAKE = "" | ||
| 41 | |||
| 42 | do_configure_prepend() { | ||
| 43 | # Remove old libtool macros. | ||
| 44 | MACROS="libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4" | ||
| 45 | for i in ${MACROS}; do | ||
| 46 | rm -f acinclude/$i | ||
| 47 | done | ||
| 48 | } | ||
| 49 | |||
| 50 | BBCLASSEXTEND = "nativesdk" | ||
