1 DESCRIPTION = "Simple DirectMedia Layer (X11, Framebuffer, +some OMAP support)"
5 DEPENDS = "alsa-lib virtual/libgl virtual/libx11 libxext tslib"
6 PROVIDES = "virtual/libsdl"
9 SRCREV = "21e209de05a7f4712a567eb83d98a887b9c33c20"
12 git://notaz.gp2x.de/~notaz/sdl_omap.git;protocol=git;branch=master \
18 inherit autotools binconfig pkgconfig
21 --disable-static --disable-debug --enable-cdrom --enable-threads --enable-timers --enable-endian \
22 --enable-file --enable-oss --enable-alsa --disable-esd --disable-arts \
23 --disable-diskaudio --disable-nas --disable-esd-shared --disable-esdtest \
24 --disable-mintaudio --disable-nasm --enable-video-x11 --disable-video-dga \
25 --enable-video-fbcon --disable-video-directfb --disable-video-ps2gs \
26 --disable-video-xbios --disable-video-gem --disable-video-dummy \
27 --enable-video-opengl --enable-input-events --enable-pthreads \
28 --disable-video-picogui --disable-video-qtopia --enable-dlopen \
29 --enable-input-tslib --disable-video-ps3 \
32 do_configure_prepend() {
40 do_configure_append () {
43 # prevent libtool from linking libs against libstdc++, libgcc, ...
44 cat ${TARGET_PREFIX}libtool | sed -e 's/postdeps=".*"/postdeps=""/' > ${TARGET_PREFIX}libtool.tmp
45 mv ${TARGET_PREFIX}libtool.tmp ${TARGET_PREFIX}libtool
47 # copy new sdl.m4 macrofile to the dir for installing
48 cp ${WORKDIR}/sdl.m4 ${S}/
53 rm ${STAGING_LIBDIR}/libSDL.la
56 FILES_${PN} = "${libdir}/lib*.so.*"
57 FILES_${PN}-dev += "${bindir}/*config"