summaryrefslogtreecommitdiffstats
path: root/smpeg
diff options
context:
space:
mode:
authortnut <tnut at nutyx dot com>2012-01-08 12:15:45 +0100
committertnut <tnut at nutyx dot com>2012-01-08 12:15:45 +0100
commit3f57a7f93b3e7550cbd73036f6a56654e17d1d5c (patch)
tree819b14ab0377fe2054fe59866669d904e9e0b4b5 /smpeg
parentc9972ec7f32bf9d37388e853fe9bf633e242d05a (diff)
downloadnutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.gz
nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.bz2
nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.xz
nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.zip
split de git pakxe et NuTyX-extra
Diffstat (limited to 'smpeg')
-rw-r--r--smpeg/.footprint.i68630
-rw-r--r--smpeg/.footprint.x86_6430
-rw-r--r--smpeg/.md5sum.i6862
-rw-r--r--smpeg/.md5sum.x86_642
-rw-r--r--smpeg/Pkgfile29
-rw-r--r--smpeg/smpeg-mpegaudiosdl.patch14
6 files changed, 107 insertions, 0 deletions
diff --git a/smpeg/.footprint.i686 b/smpeg/.footprint.i686
new file mode 100644
index 000000000..4793aaabc
--- /dev/null
+++ b/smpeg/.footprint.i686
@@ -0,0 +1,30 @@
+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/
+drwxr-xr-x root/root usr/include/smpeg/
+-rw-r--r-- root/root usr/include/smpeg/MPEG.h
+-rw-r--r-- root/root usr/include/smpeg/MPEGaction.h
+-rw-r--r-- root/root usr/include/smpeg/MPEGaudio.h
+-rw-r--r-- root/root usr/include/smpeg/MPEGerror.h
+-rw-r--r-- root/root usr/include/smpeg/MPEGfilter.h
+-rw-r--r-- root/root usr/include/smpeg/MPEGlist.h
+-rw-r--r-- root/root usr/include/smpeg/MPEGring.h
+-rw-r--r-- root/root usr/include/smpeg/MPEGstream.h
+-rw-r--r-- root/root usr/include/smpeg/MPEGsystem.h
+-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
+-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/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/plaympeg.1.gz
diff --git a/smpeg/.footprint.x86_64 b/smpeg/.footprint.x86_64
new file mode 100644
index 000000000..4793aaabc
--- /dev/null
+++ b/smpeg/.footprint.x86_64
@@ -0,0 +1,30 @@
+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/
+drwxr-xr-x root/root usr/include/smpeg/
+-rw-r--r-- root/root usr/include/smpeg/MPEG.h
+-rw-r--r-- root/root usr/include/smpeg/MPEGaction.h
+-rw-r--r-- root/root usr/include/smpeg/MPEGaudio.h
+-rw-r--r-- root/root usr/include/smpeg/MPEGerror.h
+-rw-r--r-- root/root usr/include/smpeg/MPEGfilter.h
+-rw-r--r-- root/root usr/include/smpeg/MPEGlist.h
+-rw-r--r-- root/root usr/include/smpeg/MPEGring.h
+-rw-r--r-- root/root usr/include/smpeg/MPEGstream.h
+-rw-r--r-- root/root usr/include/smpeg/MPEGsystem.h
+-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
+-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/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/plaympeg.1.gz
diff --git a/smpeg/.md5sum.i686 b/smpeg/.md5sum.i686
new file mode 100644
index 000000000..4239da1fa
--- /dev/null
+++ b/smpeg/.md5sum.i686
@@ -0,0 +1,2 @@
+59c76ac704088ef5539210190c4e1fe3 smpeg-0.4.4.tar.gz
+514632fb38e5ad33970854b3baa873f2 smpeg-mpegaudiosdl.patch
diff --git a/smpeg/.md5sum.x86_64 b/smpeg/.md5sum.x86_64
new file mode 100644
index 000000000..4239da1fa
--- /dev/null
+++ b/smpeg/.md5sum.x86_64
@@ -0,0 +1,2 @@
+59c76ac704088ef5539210190c4e1fe3 smpeg-0.4.4.tar.gz
+514632fb38e5ad33970854b3baa873f2 smpeg-mpegaudiosdl.patch
diff --git a/smpeg/Pkgfile b/smpeg/Pkgfile
new file mode 100644
index 000000000..118f00c15
--- /dev/null
+++ b/smpeg/Pkgfile
@@ -0,0 +1,29 @@
+# Description: Librairie lecteur MPEG SDL.
+# URL: http://www.lokigames.com/development/smpeg.php3
+# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: sdl
+# Run on: sdl
+
+name=smpeg
+version=0.4.4
+release=4
+source=(http://gentoo.osuosl.org/distfiles/smpeg-$version.tar.gz \
+ smpeg-mpegaudiosdl.patch)
+
+build() {
+ cd smpeg-$version
+ patch -p1 -i $SRC/smpeg-mpegaudiosdl.patch
+
+ ./configure \
+ --prefix=/usr \
+ --mandir=/usr/share/man
+
+ sed -i -e 's|\(libsmpeg_la_LDFLAGS = .*\)|\1 -lstdc++|' Makefile
+
+ make
+ make install DESTDIR=$PKG
+
+ rm $PKG/usr/share/man/man1/gtv.1
+ sed -i "s/AC_DEFUN(AM_PATH_SMPEG/AC_DEFUN([AM_PATH_SMPEG]/" $PKG/usr/share/aclocal/smpeg.m4
+}
diff --git a/smpeg/smpeg-mpegaudiosdl.patch b/smpeg/smpeg-mpegaudiosdl.patch
new file mode 100644
index 000000000..af76807f5
--- /dev/null
+++ b/smpeg/smpeg-mpegaudiosdl.patch
@@ -0,0 +1,14 @@
+--- 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 {
+