3 MAINTAINER = "Michael Lauer <mickey@Vanille.de>"
4 DEPENDS = "virtual/libc virtual/libsdl"
6 DESCRIPTION = "SMPEG is a general purpose MPEG video/audio \
7 player for Linux based on the mpeg_play and SPLAY \
10 SRC_URI = "cvs://anonymous:anonymous@cvs.icculus.org/cvs/cvsroot;module=smpeg;date=20040311 \
11 file://${FILESDIR}/m4.patch;patch=1 \
12 file://${FILESDIR}/compile.patch;patch=1"
13 S = "${WORKDIR}/smpeg"
17 CFLAGS_append = " -I${STAGING_INCDIR}/SDL"
18 EXTRA_OECONF = "--disable-gtktest --disable-opengl-player --without-x \
19 --without-gtk --disable-gtk-player \
20 --with-sdl-prefix=${STAGING_LIBDIR}/.. \
21 --with-sdl-exec-prefix=${STAGING_BINDIR}/.."
23 do_configure_prepend () {
24 touch NEWS AUTHORS ChangeLog
29 oe_libinstall libsmpeg-0.4 ${STAGING_LIBDIR}
30 ln -sf libsmpeg-0.4.so ${STAGING_LIBDIR}/libsmpeg.so
34 install -m 0644 ${f} ${STAGING_INCDIR}/SDL
37 cat smpeg-config | sed -e "s,-I/usr/include/SDL,-I${STAGING_INCDIR}/SDL," \
38 | sed -e "s,-I/usr/include/smpeg, ," \
39 | sed -e "s,libdirs ,mickey_is_cool ," \
40 | sed -e "s,-lSDL ,-lSDL-1.2 , "> ${STAGING_BINDIR}/smpeg-config
41 chmod a+rx ${STAGING_BINDIR}/smpeg-config