Added liba52-0.7.4 build template.
--HG-- extra : convert_revision : f4fa3042a512126059939c8ba62b5345a9cc771c
This commit is contained in:
parent
3dcafde9d8
commit
690774ebb3
7 changed files with 85 additions and 0 deletions
1
srcpkgs/a52dec
Symbolic link
1
srcpkgs/a52dec
Symbolic link
|
@ -0,0 +1 @@
|
|||
liba52
|
1
srcpkgs/liba52-devel
Symbolic link
1
srcpkgs/liba52-devel
Symbolic link
|
@ -0,0 +1 @@
|
|||
liba52
|
16
srcpkgs/liba52/a52dec.template
Normal file
16
srcpkgs/liba52/a52dec.template
Normal file
|
@ -0,0 +1,16 @@
|
|||
# Template file for 'a52dec'.
|
||||
#
|
||||
short_desc="ATSC A/52 stream decoder tools"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This package contains files tools for decoding A/52 (or AC-3) streams."
|
||||
|
||||
Add_dependency run glibc-devel
|
||||
Add_dependency run liba52
|
||||
|
||||
do_install()
|
||||
{
|
||||
mkdir -p ${DESTDIR}/usr/bin
|
||||
mv ${SRCPKGDESTDIR}/usr/bin ${DESTDIR}/usr || return 1
|
||||
mv ${SRCPKGDESTDIR}/usr/share ${DESTDIR}/usr || return 1
|
||||
}
|
2
srcpkgs/liba52/depends
Normal file
2
srcpkgs/liba52/depends
Normal file
|
@ -0,0 +1,2 @@
|
|||
abi_depends=">=0.7.4"
|
||||
api_depends="${abi_depends}"
|
17
srcpkgs/liba52/liba52-devel.template
Normal file
17
srcpkgs/liba52/liba52-devel.template
Normal file
|
@ -0,0 +1,17 @@
|
|||
# Template file for 'liba52-devel'.
|
||||
#
|
||||
short_desc="${short_desc} (development files)"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This package contains files for development, headers, static libs, etc."
|
||||
|
||||
Add_dependency run glibc-devel
|
||||
Add_dependency run liba52
|
||||
|
||||
do_install()
|
||||
{
|
||||
mkdir -p ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/*.*a ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/*.so ${DESTDIR}/usr/lib
|
||||
}
|
24
srcpkgs/liba52/patches/a52dec-0.7.4-build.patch
Normal file
24
srcpkgs/liba52/patches/a52dec-0.7.4-build.patch
Normal file
|
@ -0,0 +1,24 @@
|
|||
--- liba52/Makefile.am 2002-01-27 20:36:48.000000000 -0800
|
||||
+++ liba52/Makefile.am 2004-11-05 01:10:21.317401872 -0800
|
||||
@@ -1,4 +1,3 @@
|
||||
-CFLAGS = @CFLAGS@ @LIBA52_CFLAGS@
|
||||
|
||||
lib_LTLIBRARIES = liba52.la
|
||||
|
||||
--- liba52/configure.incl 2002-01-27 20:36:48.000000000 -0800
|
||||
+++ 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])
|
||||
--- src/Makefile.am 2002-06-22 18:51:57.000000000 -0700
|
||||
+++ 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
|
24
srcpkgs/liba52/template
Normal file
24
srcpkgs/liba52/template
Normal file
|
@ -0,0 +1,24 @@
|
|||
# Template file for 'liba52'
|
||||
pkgname=liba52
|
||||
version=0.7.4
|
||||
wrksrc="a52dec-${version}"
|
||||
distfiles="http://liba52.sourceforge.net/files/a52dec-$version.tar.gz"
|
||||
build_style=gnu_configure
|
||||
configure_args="--enable-shared"
|
||||
short_desc="Free ATSC A/52 stream decoder"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
checksum=a21d724ab3b3933330194353687df82c475b5dfb997513eef4c25de6c865ec33
|
||||
long_desc="
|
||||
liba52 is a free library for decoding ATSC A/52 streams. It is released
|
||||
under the terms of the GPL license. The A/52 standard is used in a variety
|
||||
of applications, including digital television and DVD. It is also known
|
||||
as AC-3."
|
||||
|
||||
subpackages="$pkgname-devel a52dec"
|
||||
Add_dependency run glibc
|
||||
Add_dependency build automake
|
||||
|
||||
pre_configure()
|
||||
{
|
||||
cd ${wrksrc} && ./bootstrap
|
||||
}
|
Loading…
Reference in a new issue