From 9854588ea1431f391d5d9003c5811ca4925c703f Mon Sep 17 00:00:00 2001 From: Thierry N Date: Mon, 10 Aug 2009 23:29:56 +0200 Subject: Ajout de liba52#0.7.4-3 --- extra/liba52/.footprint | 22 ++++++++++++++++++++++ extra/liba52/.md5sum | 2 ++ extra/liba52/Pkgfile | 24 ++++++++++++++++++++++++ extra/liba52/a52dec-0.7.4-build.patch | 28 ++++++++++++++++++++++++++++ 4 files changed, 76 insertions(+) create mode 100644 extra/liba52/.footprint create mode 100644 extra/liba52/.md5sum create mode 100755 extra/liba52/Pkgfile create mode 100644 extra/liba52/a52dec-0.7.4-build.patch 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 + -- cgit v1.2.3-70-g09d2