summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-oe/recipes-graphics/libsdl/libsdl-1.2.14.inc28
-rw-r--r--meta-oe/recipes-graphics/libsdl/libsdl-x11_1.2.14.bb18
2 files changed, 46 insertions, 0 deletions
diff --git a/meta-oe/recipes-graphics/libsdl/libsdl-1.2.14.inc b/meta-oe/recipes-graphics/libsdl/libsdl-1.2.14.inc
new file mode 100644
index 000000000..8c458e24c
--- /dev/null
+++ b/meta-oe/recipes-graphics/libsdl/libsdl-1.2.14.inc
@@ -0,0 +1,28 @@
1DESCRIPTION = "Simple DirectMedia Layer (DirectFB and Framebuffer support)"
2SECTION = "libs"
3PRIORITY = "optional"
4LICENSE = "LGPLv2.1"
5LIC_FILES_CHKSUM = "file://COPYING;md5=27818cd7fd83877a8e3ef82b82798ef4"
6
7DEPENDS = "alsa-lib"
8PROVIDES = "virtual/libsdl"
9INC_PR = "r0"
10
11SRC_URI = "http://www.libsdl.org/release/SDL-${PV}.tar.gz"
12SRC_URI[md5sum] = "e52086d1b508fa0b76c52ee30b55bec4"
13SRC_URI[sha256sum] = "5d927e287034cb6bb0ebccfa382cb1d185cb113c8ab5115a0759798642eed9b6"
14
15S = "${WORKDIR}/SDL-${PV}"
16
17inherit autotools lib_package binconfig pkgconfig
18
19EXTRA_AUTORECONF += "--include=acinclude --exclude=autoheader"
20
21do_configure_prepend () {
22 # Remove old libtool macros.
23 MACROS="libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4"
24 for i in ${MACROS}; do
25 rm -f acinclude/$i
26 done
27 export SYSROOT=$PKG_CONFIG_SYSROOT_DIR
28}
diff --git a/meta-oe/recipes-graphics/libsdl/libsdl-x11_1.2.14.bb b/meta-oe/recipes-graphics/libsdl/libsdl-x11_1.2.14.bb
new file mode 100644
index 000000000..26f2c1896
--- /dev/null
+++ b/meta-oe/recipes-graphics/libsdl/libsdl-x11_1.2.14.bb
@@ -0,0 +1,18 @@
1require libsdl-1.2.14.inc
2
3DEPENDS += "virtual/libgl virtual/libx11 libxext tslib"
4DEPENDS_avr32 += "alsa-lib virtual/libx11 libxext tslib"
5
6PR = "${INC_PR}.0"
7
8EXTRA_OECONF = " \
9 --disable-static --disable-debug --enable-cdrom --enable-threads --enable-timers --enable-endian \
10 --enable-file --enable-oss --enable-alsa --disable-esd --disable-arts \
11 --disable-diskaudio --disable-nas --disable-esd-shared --disable-esdtest \
12 --disable-mintaudio --disable-nasm --enable-video-x11 --disable-video-dga \
13 --enable-video-fbcon --disable-video-directfb --disable-video-ps2gs \
14 --disable-video-xbios --disable-video-gem --disable-video-dummy \
15 --enable-video-opengl --enable-input-events --enable-pthreads \
16 --disable-video-picogui --disable-video-qtopia --enable-dlopen \
17 --enable-input-tslib --disable-video-ps3 --disable-rpath \
18"