summaryrefslogtreecommitdiffstats
path: root/libmp4v2
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2012-05-12 12:32:47 +0200
committertnut <thierryn1 at hispeed dot ch>2012-05-12 12:32:47 +0200
commit919e2cfeff24c2775c51678382f30bc59b833e48 (patch)
tree03c17060114713f2ff4916a2ae21793fffeeb9cc /libmp4v2
parent92637a1fb8b58634e5e96c91bc42065638c563fb (diff)
downloadnutyx-pakxe-919e2cfeff24c2775c51678382f30bc59b833e48.tar.gz
nutyx-pakxe-919e2cfeff24c2775c51678382f30bc59b833e48.tar.bz2
nutyx-pakxe-919e2cfeff24c2775c51678382f30bc59b833e48.tar.xz
nutyx-pakxe-919e2cfeff24c2775c51678382f30bc59b833e48.zip
libmp4v2, ajout
Diffstat (limited to 'libmp4v2')
-rw-r--r--libmp4v2/.footprint.i68614
-rw-r--r--libmp4v2/.footprint.x86_6414
-rw-r--r--libmp4v2/.md5sum.i6862
-rw-r--r--libmp4v2/.md5sum.x86_642
-rw-r--r--libmp4v2/Pkgfile53
5 files changed, 85 insertions, 0 deletions
diff --git a/libmp4v2/.footprint.i686 b/libmp4v2/.footprint.i686
new file mode 100644
index 000000000..36a2fa611
--- /dev/null
+++ b/libmp4v2/.footprint.i686
@@ -0,0 +1,14 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/mpeg4ip-config
+drwxr-xr-x root/root usr/include/
+drwxr-xr-x root/root usr/include/libmp4v2/
+-rw-r--r-- root/root usr/include/libmp4v2/mpeg4ip.h
+-rw-r--r-- root/root usr/include/libmp4v2/mpeg4ip_config.h
+-rw-r--r-- root/root usr/include/libmp4v2/mpeg4ip_version.h
+-rw-r--r-- root/root usr/include/mp4.h
+drwxr-xr-x root/root usr/lib/
+-rwxr-xr-x root/root usr/lib/libmp4v2.la
+lrwxrwxrwx root/root usr/lib/libmp4v2.so -> libmp4v2.so.0.0.0
+lrwxrwxrwx root/root usr/lib/libmp4v2.so.0 -> libmp4v2.so.0.0.0
+-rwxr-xr-x root/root usr/lib/libmp4v2.so.0.0.0
diff --git a/libmp4v2/.footprint.x86_64 b/libmp4v2/.footprint.x86_64
new file mode 100644
index 000000000..36a2fa611
--- /dev/null
+++ b/libmp4v2/.footprint.x86_64
@@ -0,0 +1,14 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/mpeg4ip-config
+drwxr-xr-x root/root usr/include/
+drwxr-xr-x root/root usr/include/libmp4v2/
+-rw-r--r-- root/root usr/include/libmp4v2/mpeg4ip.h
+-rw-r--r-- root/root usr/include/libmp4v2/mpeg4ip_config.h
+-rw-r--r-- root/root usr/include/libmp4v2/mpeg4ip_version.h
+-rw-r--r-- root/root usr/include/mp4.h
+drwxr-xr-x root/root usr/lib/
+-rwxr-xr-x root/root usr/lib/libmp4v2.la
+lrwxrwxrwx root/root usr/lib/libmp4v2.so -> libmp4v2.so.0.0.0
+lrwxrwxrwx root/root usr/lib/libmp4v2.so.0 -> libmp4v2.so.0.0.0
+-rwxr-xr-x root/root usr/lib/libmp4v2.so.0.0.0
diff --git a/libmp4v2/.md5sum.i686 b/libmp4v2/.md5sum.i686
new file mode 100644
index 000000000..7663df193
--- /dev/null
+++ b/libmp4v2/.md5sum.i686
@@ -0,0 +1,2 @@
+7ead1d40f0f380fa01f5d5a2299e9ba6 gcc44.patch
+004b481542e5aa9fdb455d9a1b640eff mpeg4ip-1.6.tar.gz
diff --git a/libmp4v2/.md5sum.x86_64 b/libmp4v2/.md5sum.x86_64
new file mode 100644
index 000000000..7663df193
--- /dev/null
+++ b/libmp4v2/.md5sum.x86_64
@@ -0,0 +1,2 @@
+7ead1d40f0f380fa01f5d5a2299e9ba6 gcc44.patch
+004b481542e5aa9fdb455d9a1b640eff mpeg4ip-1.6.tar.gz
diff --git a/libmp4v2/Pkgfile b/libmp4v2/Pkgfile
new file mode 100644
index 000000000..a98e37a8e
--- /dev/null
+++ b/libmp4v2/Pkgfile
@@ -0,0 +1,53 @@
+# Description: Librairie libmp4v2 de mpeg4ip
+# URL: http://mpeg4ip.sourceforge.net/
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: nasm
+# Run on: nasm
+
+name=libmp4v2
+version=1.6
+release=1
+source=(http://downloads.sourceforge.net/mpeg4ip/mpeg4ip-$version.tar.gz\
+ http://nutyx.meticul.eu/files/patchs/$name/gcc44.patch)
+build() {
+ cd mpeg4ip-$version
+ patch -Np1 -i ../gcc44.patch
+ touch bootstrapped
+ sed -i -e 's/nasm -r/nasm -v/' configure
+ echo "" > lib/rtp/configure
+ echo "" > lib/SDLAudio/configure
+ ./configure --prefix=/usr \
+ --disable-static \
+ --disable-warns-as-err \
+ --disable-server \
+ --disable-player \
+ --disable-mp4live \
+ --disable-id3tags \
+ --disable-xvid \
+ --disable-a52dec \
+ --disable-mad \
+ --disable-mpeg2dec \
+ --disable-srtp \
+ --disable-mp3lame \
+ --disable-faac \
+ --disable-ffmpeg \
+ --disable-x264 \
+ --disable-sdl
+ sed -i -e 's/^SUBDIRS = . test util/SUBDIRS = ./' lib/mp4v2/Makefile
+ make -C lib/mp4v2
+ make -C lib/mp4v2 DESTDIR=$PKG install
+ install -d $PKG/usr/include/libmp4v2
+ install -m 0755 -D mpeg4ip-config $PKG/usr/bin/mpeg4ip-config
+
+ install -m 0644 -t $PKG/usr/include/libmp4v2/ \
+ include/mpeg4ip.h include/mpeg4ip_version.h mpeg4ip_config.h
+
+ sed -i -e 's|"mpeg4ip.h"|<libmp4v2/mpeg4ip.h>|' $PKG/usr/include/mp4.h
+
+ sed -i \
+ -e 's|mpeg4ip_config.h|libmp4v2/mpeg4ip_config.h|' \
+ -e 's|"mpeg4ip_version.h"|<libmp4v2/mpeg4ip_version.h>|' \
+ $PKG/usr/include/libmp4v2/mpeg4ip.h
+}
+