From 3f57a7f93b3e7550cbd73036f6a56654e17d1d5c Mon Sep 17 00:00:00 2001 From: tnut Date: Sun, 8 Jan 2012 12:15:45 +0100 Subject: split de git pakxe et NuTyX-extra --- smpeg/.footprint.i686 | 30 ++++++++++++++++++++++++++++++ smpeg/.footprint.x86_64 | 30 ++++++++++++++++++++++++++++++ smpeg/.md5sum.i686 | 2 ++ smpeg/.md5sum.x86_64 | 2 ++ smpeg/Pkgfile | 29 +++++++++++++++++++++++++++++ smpeg/smpeg-mpegaudiosdl.patch | 14 ++++++++++++++ 6 files changed, 107 insertions(+) create mode 100644 smpeg/.footprint.i686 create mode 100644 smpeg/.footprint.x86_64 create mode 100644 smpeg/.md5sum.i686 create mode 100644 smpeg/.md5sum.x86_64 create mode 100644 smpeg/Pkgfile create mode 100644 smpeg/smpeg-mpegaudiosdl.patch (limited to 'smpeg') 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 { + -- cgit v1.2.3-54-g00ecf