smpeg: 0.4.4 -> 0.4.5
This commit is contained in:
parent
7514d06ed2
commit
3ffab68871
@ -1,5 +1,6 @@
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/bin/
|
||||
-rwxr-xr-x root/root usr/bin/glmovie
|
||||
-rwxr-xr-x root/root usr/bin/plaympeg
|
||||
-rwxr-xr-x root/root usr/bin/smpeg-config
|
||||
drwxr-xr-x root/root usr/include/
|
||||
@ -16,13 +17,15 @@ drwxr-xr-x root/root usr/include/smpeg/
|
||||
-rw-r--r-- root/root usr/include/smpeg/MPEGvideo.h
|
||||
-rw-r--r-- root/root usr/include/smpeg/smpeg.h
|
||||
drwxr-xr-x root/root usr/lib/
|
||||
lrwxrwxrwx root/root usr/lib/libsmpeg-0.4.so.0 -> libsmpeg-0.4.so.0.1.3
|
||||
-rwxr-xr-x root/root usr/lib/libsmpeg-0.4.so.0.1.3
|
||||
lrwxrwxrwx root/root usr/lib/libsmpeg-0.4.so.0 -> libsmpeg-0.4.so.0.1.4
|
||||
-rwxr-xr-x root/root usr/lib/libsmpeg-0.4.so.0.1.4
|
||||
-rw-r--r-- root/root usr/lib/libsmpeg.a
|
||||
-rwxr-xr-x root/root usr/lib/libsmpeg.la
|
||||
lrwxrwxrwx root/root usr/lib/libsmpeg.so -> libsmpeg-0.4.so.0.1.3
|
||||
drwxr-xr-x root/root usr/man/
|
||||
drwxr-xr-x root/root usr/man/man1/
|
||||
-rw-r--r-- root/root usr/man/man1/plaympeg.1.gz
|
||||
lrwxrwxrwx root/root usr/lib/libsmpeg.so -> libsmpeg-0.4.so.0.1.4
|
||||
drwxr-xr-x root/root usr/share/
|
||||
drwxr-xr-x root/root usr/share/aclocal/
|
||||
-rw-r--r-- root/root usr/share/aclocal/smpeg.m4
|
||||
drwxr-xr-x root/root usr/share/man/
|
||||
drwxr-xr-x root/root usr/share/man/man1/
|
||||
-rw-r--r-- root/root usr/share/man/man1/gtv.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/plaympeg.1.gz
|
||||
|
@ -1,3 +1 @@
|
||||
59c76ac704088ef5539210190c4e1fe3 smpeg-0.4.4.tar.gz
|
||||
089a87e9275e1ccb3d7d2a4bec13f1a5 smpeg-0.4.4_m4.patch
|
||||
514632fb38e5ad33970854b3baa873f2 smpeg-mpegaudiosdl.patch
|
||||
333d9eec7988b386c64a3a87489b0ce0 smpeg-0.4.5.tar.xz
|
||||
|
@ -1,33 +1,21 @@
|
||||
# Description: A SDL MPEG player library.
|
||||
# URL: http://www.lokigames.com/development/smpeg.php3
|
||||
# URL: http://icculus.org/smpeg/
|
||||
# Maintainer: Danny Rawlins, crux at romster dot me
|
||||
# Packager: Matt Housh, jaeger at crux dot nu
|
||||
# Depends on: libsdl
|
||||
# Depends on: glu 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)
|
||||
version=0.4.5
|
||||
release=1
|
||||
source=(http://crux.ster.zone/downloads/$name/$name-$version.tar.xz)
|
||||
|
||||
build() {
|
||||
cd smpeg-$version
|
||||
|
||||
patch -p 1 -i $SRC/smpeg-mpegaudiosdl.patch
|
||||
patch -p 1 -i $SRC/smpeg-0.4.4_m4.patch
|
||||
|
||||
cd $name-$version
|
||||
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--disable-static \
|
||||
--enable-gtk-player=no
|
||||
|
||||
sed -i -e 's|\(libsmpeg_la_LDFLAGS = .*\)|\1 -lstdc++|' Makefile
|
||||
--mandir=/usr/share/man
|
||||
|
||||
make
|
||||
make install DESTDIR=$PKG
|
||||
|
||||
rm $PKG/usr/man/man1/gtv.1
|
||||
}
|
||||
|
||||
|
8
smpeg/generate
Normal file
8
smpeg/generate
Normal file
@ -0,0 +1,8 @@
|
||||
svn checkout svn://svn.icculus.org/smpeg/tags/release_0_4_5
|
||||
mv release_0_4_5 smpeg-0.4.5
|
||||
cd smpeg-0.4.5
|
||||
./autogen.sh
|
||||
cd ..
|
||||
bsdtar -c -f smpeg-0.4.5.tar smpeg-0.4.5
|
||||
xz -9 smpeg-0.4.5.tar
|
||||
|
@ -1,12 +0,0 @@
|
||||
diff -pruN smpeg-0.4.4.orig/smpeg.m4 smpeg-0.4.4/smpeg.m4
|
||||
--- smpeg-0.4.4.orig/smpeg.m4 2008-08-07 22:45:31.086141377 +1000
|
||||
+++ smpeg-0.4.4/smpeg.m4 2008-08-07 22:49:53.350144919 +1000
|
||||
@@ -10,7 +10,7 @@ dnl AM_PATH_SMPEG([MINIMUM-VERSION, [ACT
|
||||
ACTION-IF-NOT-FOUND]]])
|
||||
dnl Test for SMPEG, and define SMPEG_CFLAGS and SMPEG_LIBS
|
||||
dnl
|
||||
-AC_DEFUN(AM_PATH_SMPEG,
|
||||
+AC_DEFUN([AM_PATH_SMPEG],
|
||||
[dnl
|
||||
dnl Get the cflags and libraries from the smpeg-config script
|
||||
dnl
|
@ -1,14 +0,0 @@
|
||||
--- smpeg-0.4.4/MPEGaudio.h.orig 2006-01-15 16:17:56.356444000 +0100
|
||||
+++ smpeg-0.4.4/MPEGaudio.h 2006-01-15 16:18:36.686965250 +0100
|
||||
@@ -148,6 +148,11 @@
|
||||
char buffer[2*WINDOWSIZE];
|
||||
};
|
||||
|
||||
+void Play_MPEGaudioSDL(void *udata, Uint8 *stream, int len);
|
||||
+#ifdef THREADED_AUDIO
|
||||
+int Decode_MPEGaudio(void *udata);
|
||||
+#endif
|
||||
+
|
||||
/* The actual MPEG audio class */
|
||||
class MPEGaudio : public MPEGerror, public MPEGaudioaction {
|
||||
|
Loading…
x
Reference in New Issue
Block a user