1 DESCRIPTION
= "SMPEG is a general purpose MPEG video/audio \
2 player for Linux based on the mpeg_play and SPLAY MPEG decoders."
4 SECTION
= "libs/multimedia"
5 DEPENDS
= "virtual/libsdl"
8 SRC_URI
= "cvs://anonymous:anonymous@cvs.icculus.org/cvs/cvsroot;module=smpeg;date=20040311 \
9 file://m4.patch;patch=1 \
10 file://compile.patch;patch=1"
11 S
= "${WORKDIR}/smpeg"
15 export SDL_CONFIG
= "${STAGING_BINDIR_CROSS}/sdl-config"
17 CFLAGS_append
= " -I${STAGING_INCDIR}/SDL"
18 EXTRA_OECONF
= "--disable-gtktest --disable-opengl-player --without-x \
19 --without-gtk --disable-gtk-player"
21 do_configure_prepend
() {
22 touch NEWS AUTHORS ChangeLog
27 oe_libinstall
-so
-C .libs libsmpeg
-0.4 $
{STAGING_LIBDIR
}
28 ln
-sf libsmpeg
-0.4.so $
{STAGING_LIBDIR
}/libsmpeg.so
32 install
-m
0644 $
{f
} $
{STAGING_INCDIR
}/SDL
35 cat smpeg
-config | sed
-e
"s,-I/usr/include/SDL,-I${STAGING_INCDIR}/SDL," \
36 | sed
-e
"s,-I/usr/include/smpeg, ," \
37 | sed
-e
"s,libdirs ,mickey_is_cool ," \
38 | sed
-e
"s,-lSDL ,-lSDL-1.2 , "> $
{STAGING_BINDIR_CROSS
}/smpeg
-config
39 chmod a
+rx $
{STAGING_BINDIR_CROSS
}/smpeg
-config
42 PACKAGES
=+ "plaympeg "
43 SECTION_plaympeg
= "console/multimedia"
44 FILES_$
{PN
} = "${libdir}"
45 FILES_plaympeg
= "${bindir}/plaympeg"
46 FILES_$
{PN
}-dev
+= "${bindir}"