1 # Do not use the include in 1.2.14 as it has a lot of unneeded munging that applies to old versions.
4 DESCRIPTION = "Simple DirectMedia Layer (X11 and Framebuffer support)"
8 DEPENDS = "alsa-lib virtual/libgl virtual/libx11 libxext tslib"
9 DEPENDS_avr32 = "alsa-lib virtual/libx11 libxext tslib"
10 PROVIDES = "virtual/libsdl"
14 http://www.libsdl.org/release/SDL-${PV}.tar.gz \
17 S = "${WORKDIR}/SDL-${PV}"
19 inherit autotools binconfig pkgconfig
22 --disable-static --disable-debug --enable-cdrom --enable-threads --enable-timers --enable-endian \
23 --enable-file --enable-oss --enable-alsa --disable-esd --disable-arts \
24 --disable-diskaudio --disable-nas --disable-esd-shared --disable-esdtest \
25 --disable-mintaudio --disable-nasm --enable-video-x11 --disable-video-dga \
26 --enable-video-fbcon --disable-video-directfb --disable-video-ps2gs \
27 --disable-video-xbios --disable-video-gem --disable-video-dummy \
28 --enable-video-opengl --enable-input-events --enable-pthreads \
29 --disable-video-picogui --disable-video-qtopia --enable-dlopen \
30 --enable-input-tslib \
37 do_configure_append () {
40 # prevent libtool from linking libs against libstdc++, libgcc, ...
41 cat ${TARGET_PREFIX}libtool | sed -e 's/postdeps=".*"/postdeps=""/' > ${TARGET_PREFIX}libtool.tmp
42 mv ${TARGET_PREFIX}libtool.tmp ${TARGET_PREFIX}libtool
47 rm ${STAGING_LIBDIR}/libSDL.la
50 FILES_${PN} = "${libdir}/lib*.so.*"
51 FILES_${PN}-dev += "${bindir}/*config"