aboutsummaryrefslogtreecommitdiffstats
path: root/libsdl
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2004-01-21 22:52:13 +0000
committerMichael Lauer <mickey@vanille-media.de>2004-01-21 22:52:13 +0000
commit2e349da9e96f9d5cb0a93234367a2d0dcac383ed (patch)
tree6bbb98b513883b93f2245bdb02446d0212a94ced /libsdl
parent93db7a5336fad5dc382198a753274101c6e346ca (diff)
downloadopenembedded-2e349da9e96f9d5cb0a93234367a2d0dcac383ed.tar.gz
add pygame (Python SDL bindings)
BKrev: 400f029dly3LYlKmwq7343PJJ68lhA
Diffstat (limited to 'libsdl')
-rw-r--r--libsdl/libsdl-mixer_1.2.5.oe4
-rw-r--r--libsdl/libsdl-ttf_2.0.3.oe17
-rw-r--r--libsdl/smpeg_cvs.oe3
3 files changed, 23 insertions, 1 deletions
diff --git a/libsdl/libsdl-mixer_1.2.5.oe b/libsdl/libsdl-mixer_1.2.5.oe
index 9f5605b200..bf5c4a16b5 100644
--- a/libsdl/libsdl-mixer_1.2.5.oe
+++ b/libsdl/libsdl-mixer_1.2.5.oe
@@ -9,6 +9,10 @@ S = ${WORKDIR}/SDL_mixer-${PV}
inherit autotools libtool
+EXTRA_OECONF = "--disable-music-mp3"
+# although we build smpeg... need to find out how
+# to deal with optional dependencies
+
do_stage() {
oe_soinstall .libs/libSDL_mixer-1.2.so.0.2.3 ${STAGING_LIBDIR}
install -m 0644 SDL_mixer.h ${STAGING_INCDIR}/SDL/SDL_mixer.h
diff --git a/libsdl/libsdl-ttf_2.0.3.oe b/libsdl/libsdl-ttf_2.0.3.oe
index e69de29bb2..b80519a206 100644
--- a/libsdl/libsdl-ttf_2.0.3.oe
+++ b/libsdl/libsdl-ttf_2.0.3.oe
@@ -0,0 +1,17 @@
+SECTION="NET"
+PRIORITY="optional"
+MAINTAINER="Michael Lauer <mickey@Vanille.de>"
+RDEPENDS=libc6 libsdl freetype
+DEPENDS=virtual/libc base/libsdl base/freetype
+
+SRC_URI = http://www.libsdl.org/projects/SDL_ttf/release/SDL_ttf-${PV}.tar.gz \
+ file://${FILESDIR}/new-freetype-includes.patch;patch=1
+S = ${WORKDIR}/SDL_ttf-${PV}
+
+inherit autotools libtool
+
+do_stage() {
+ oe_soinstall .libs/libSDL_ttf-2.0.so.0.0.3 ${STAGING_LIBDIR}
+ install -m 0644 SDL_ttf.h ${STAGING_INCDIR}/SDL/SDL_ttf.h
+}
+
diff --git a/libsdl/smpeg_cvs.oe b/libsdl/smpeg_cvs.oe
index 1caaf1f7bf..be6afa344a 100644
--- a/libsdl/smpeg_cvs.oe
+++ b/libsdl/smpeg_cvs.oe
@@ -13,8 +13,9 @@ EXTRA_OECONF = "--disable-gtktest --disable-opengl-player --without-x --without-
do_stage() {
oe_soinstall .libs/libsmpeg-0.4.so.0.1.4 ${STAGING_LIBDIR}
+ ln -sf libsmpeg-0.4.so.0.1.4 ${STAGING_LIBDIR}/libsmpeg.so
- for f in `find . -name "MPEG*.h"`
+ for f in "*.h"
do
install -m 0644 ${f} ${STAGING_INCDIR}/SDL
done