summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-01-26 22:41:22 +0100
committertnut <thierryn1 at hispeed dot ch>2010-01-26 22:41:22 +0100
commit58aa1e9b3756aedee125b1d2461c22ddde062a7a (patch)
tree2cbd1c5bad8d522e0cb40483a8ac49c96ca33da3 /base
parent22cef920b0cf5d7663620fc82489c0d9e31a5f57 (diff)
downloadnutyx-pakxe-58aa1e9b3756aedee125b1d2461c22ddde062a7a.tar.gz
nutyx-pakxe-58aa1e9b3756aedee125b1d2461c22ddde062a7a.tar.bz2
nutyx-pakxe-58aa1e9b3756aedee125b1d2461c22ddde062a7a.tar.xz
nutyx-pakxe-58aa1e9b3756aedee125b1d2461c22ddde062a7a.zip
liba52, déplacé dans base
Diffstat (limited to 'base')
-rw-r--r--base/liba52/.footprint22
-rw-r--r--base/liba52/.md5sum2
-rwxr-xr-xbase/liba52/Pkgfile24
-rw-r--r--base/liba52/a52dec-0.7.4-build.patch28
4 files changed, 76 insertions, 0 deletions
diff --git a/base/liba52/.footprint b/base/liba52/.footprint
new file mode 100644
index 000000000..8362f1541
--- /dev/null
+++ b/base/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/base/liba52/.md5sum b/base/liba52/.md5sum
new file mode 100644
index 000000000..f7a868f65
--- /dev/null
+++ b/base/liba52/.md5sum
@@ -0,0 +1,2 @@
+6ba4132f85f6894f55ed8942028c5a8e a52dec-0.7.4-build.patch
+caa9f5bc44232dc8aeea773fea56be80 a52dec-0.7.4.tar.gz
diff --git a/base/liba52/Pkgfile b/base/liba52/Pkgfile
new file mode 100755
index 000000000..e23910cd9
--- /dev/null
+++ b/base/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
+ ./bootstrap
+ ./configure --prefix=/usr \
+ --mandir=/usr/share/man \
+ --enable-shared
+ make -j3
+ make DESTDIR=$PKG install
+ # required for xine-lib
+ install -m644 liba52/a52_internal.h $PKG/usr/include/a52dec/
+}
diff --git a/base/liba52/a52dec-0.7.4-build.patch b/base/liba52/a52dec-0.7.4-build.patch
new file mode 100644
index 000000000..7550a3e2c
--- /dev/null
+++ b/base/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
+