34 lines
711 B
Plaintext
34 lines
711 B
Plaintext
# Description: A SDL MPEG player library.
|
|
# URL: http://www.lokigames.com/development/smpeg.php3
|
|
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
|
|
# Packager: Matt Housh, jaeger at crux dot nu
|
|
# Depends on: libsdl
|
|
|
|
name=smpeg
|
|
version=0.4.4
|
|
release=3
|
|
source=(http://gentoo.osuosl.org/distfiles/smpeg-$version.tar.gz
|
|
smpeg-mpegaudiosdl.patch
|
|
smpeg-0.4.4_m4.patch)
|
|
|
|
build() {
|
|
cd smpeg-$version
|
|
|
|
patch -p 1 -i $SRC/smpeg-mpegaudiosdl.patch
|
|
patch -p 1 -i $SRC/smpeg-0.4.4_m4.patch
|
|
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--disable-static \
|
|
--enable-gtk-player=no
|
|
|
|
sed -i -e 's|\(libsmpeg_la_LDFLAGS = .*\)|\1 -lstdc++|' Makefile
|
|
|
|
make
|
|
make install DESTDIR=$PKG
|
|
|
|
rm $PKG/usr/man/man1/gtv.1
|
|
}
|
|
|