2009-12-25 22:39:22 +01:00
|
|
|
# Template file for 'smpeg'
|
|
|
|
pkgname=smpeg
|
|
|
|
version=0.4.4
|
2010-04-25 19:13:51 +02:00
|
|
|
revision=1
|
2009-12-25 22:39:22 +01:00
|
|
|
distfiles="http://mirrors.dotsrc.org/lokigames/open-source/smpeg/smpeg-$version.tar.gz"
|
|
|
|
build_style=gnu_configure
|
|
|
|
configure_args="--disable-gtk-player --disable-opengl-player"
|
|
|
|
make_build_args="LDFLAGS+=-lstdc++"
|
|
|
|
short_desc="SDL MPEG Player Library"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
checksum=1efa7984d0aada0c2954cd0aaef357e9d7871dadd3368dbe742ab5f260523e57
|
|
|
|
long_desc="
|
|
|
|
SMPEG is based on UC Berkeley's mpeg_play software MPEG decoder
|
|
|
|
and SPLAY, an MPEG audio decoder created by Woo-jae Jung."
|
|
|
|
|
|
|
|
subpackages="$pkgname-devel"
|
|
|
|
Add_dependency run glibc
|
|
|
|
Add_dependency run SDL
|
|
|
|
Add_dependency run libstdc++
|
|
|
|
Add_dependency build SDL-devel
|
|
|
|
|
|
|
|
post_install()
|
|
|
|
{
|
|
|
|
# Remove unused stuff
|
|
|
|
rm -rf ${DESTDIR}/usr/share/man
|
|
|
|
rm -f ${DESTDIR}/usr/bin/plaympeg
|
|
|
|
}
|