summaryrefslogtreecommitdiffstats
path: root/extra
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-10 23:29:56 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-10 23:29:56 +0200
commit9854588ea1431f391d5d9003c5811ca4925c703f (patch)
tree73c48875f8ce0e27106176f2c468b11ebc27b4a2 /extra
parent63f623d5fce276403581820cab084c38c7fc477a (diff)
downloadnutyx-pakxe-9854588ea1431f391d5d9003c5811ca4925c703f.tar.gz
nutyx-pakxe-9854588ea1431f391d5d9003c5811ca4925c703f.tar.bz2
nutyx-pakxe-9854588ea1431f391d5d9003c5811ca4925c703f.tar.xz
nutyx-pakxe-9854588ea1431f391d5d9003c5811ca4925c703f.zip
Ajout de liba52#0.7.4-3
Diffstat (limited to 'extra')
-rw-r--r--extra/liba52/.footprint22
-rw-r--r--extra/liba52/.md5sum2
-rwxr-xr-xextra/liba52/Pkgfile24
-rw-r--r--extra/liba52/a52dec-0.7.4-build.patch28
4 files changed, 76 insertions, 0 deletions
diff --git a/extra/liba52/.footprint b/extra/liba52/.footprint
new file mode 100644
index 000000000..8362f1541
--- /dev/null
+++ b/extra/liba52/.footprint
@@ -0,0 +1,22 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/a52dec
+-rwxr-xr-x root/root usr/bin/extract_a52
+drwxr-xr-x root/root usr/include/
+drwxr-xr-x root/root usr/include/a52dec/
+-rw-r--r-- root/root usr/include/a52dec/a52.h
+-rw-r--r-- root/root usr/include/a52dec/a52_internal.h
+-rw-r--r-- root/root usr/include/a52dec/attributes.h
+-rw-r--r-- root/root usr/include/a52dec/audio_out.h
+-rw-r--r-- root/root usr/include/a52dec/mm_accel.h
+drwxr-xr-x root/root usr/lib/
+-rw-r--r-- root/root usr/lib/liba52.a
+-rwxr-xr-x root/root usr/lib/liba52.la
+lrwxrwxrwx root/root usr/lib/liba52.so -> liba52.so.0.0.0
+lrwxrwxrwx root/root usr/lib/liba52.so.0 -> liba52.so.0.0.0
+-rwxr-xr-x root/root usr/lib/liba52.so.0.0.0
+drwxr-xr-x root/root usr/share/
+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/a52dec.1.gz
+-rw-r--r-- root/root usr/share/man/man1/extract_a52.1.gz
diff --git a/extra/liba52/.md5sum b/extra/liba52/.md5sum
new file mode 100644
index 000000000..f7a868f65
--- /dev/null
+++ b/extra/liba52/.md5sum
@@ -0,0 +1,2 @@
+6ba4132f85f6894f55ed8942028c5a8e a52dec-0.7.4-build.patch
+caa9f5bc44232dc8aeea773fea56be80 a52dec-0.7.4.tar.gz
diff --git a/extra/liba52/Pkgfile b/extra/liba52/Pkgfile
new file mode 100755
index 000000000..5bd07b9f1
--- /dev/null
+++ b/extra/liba52/Pkgfile
@@ -0,0 +1,24 @@
+# Description: Permet de décoder le codec ATSC (AC3)
+# URL: http://liba52.sourceforge.net/
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on:
+
+name=liba52
+version=0.7.4
+release=3
+source=(http://liba52.sourceforge.net/files/a52dec-$version.tar.gz \
+ a52dec-0.7.4-build.patch)
+
+build() {
+ cd a52dec-$version
+ patch -Np1 -i ../a52dec-0.7.4-build.patch
+ ./configure --prefix=/usr \
+ --mandir=/usr/share/man \
+ --enable-shared \
+ --enable-double
+ make -j3
+ make DESTDIR=$PKG install
+ # required for xine-lib
+ install -m644 liba52/a52_internal.h $PKG/usr/include/a52dec/
+}
diff --git a/extra/liba52/a52dec-0.7.4-build.patch b/extra/liba52/a52dec-0.7.4-build.patch
new file mode 100644
index 000000000..7550a3e2c
--- /dev/null
+++ b/extra/liba52/a52dec-0.7.4-build.patch
@@ -0,0 +1,28 @@
+diff -Naur a52dec-0.7.4.orig/liba52/Makefile.am a52dec-0.7.4/liba52/Makefile.am
+--- a52dec-0.7.4.orig/liba52/Makefile.am 2002-01-27 20:36:48.000000000 -0800
++++ a52dec-0.7.4/liba52/Makefile.am 2004-11-05 01:10:21.317401872 -0800
+@@ -1,4 +1,3 @@
+-CFLAGS = @CFLAGS@ @LIBA52_CFLAGS@
+
+ lib_LTLIBRARIES = liba52.la
+
+diff -Naur a52dec-0.7.4.orig/liba52/configure.incl a52dec-0.7.4/liba52/configure.incl
+--- a52dec-0.7.4.orig/liba52/configure.incl 2002-01-27 20:36:48.000000000 -0800
++++ a52dec-0.7.4/liba52/configure.incl 2004-11-05 01:11:38.172672216 -0800
+@@ -2,7 +2,6 @@
+ AC_SUBST([LIBA52_LIBS])
+
+ dnl avoid -fPIC when possible
+-LIBA52_CFLAGS="$LIBA52_CFLAGS -prefer-non-pic"
+
+ AC_ARG_ENABLE([double],
+ [ --enable-double use double-precision samples])
+diff -Naur a52dec-0.7.4.orig/src/Makefile.am a52dec-0.7.4/src/Makefile.am
+--- a52dec-0.7.4.orig/src/Makefile.am 2002-06-22 18:51:57.000000000 -0700
++++ a52dec-0.7.4/src/Makefile.am 2004-11-05 01:10:21.320401375 -0800
+@@ -1,4 +1,3 @@
+-CFLAGS = @A52DEC_CFLAGS@
+
+ bin_PROGRAMS = a52dec extract_a52
+ a52dec_SOURCES = a52dec.c getopt.c gettimeofday.c
+