Added faac-1.28 build template.
--HG-- extra : convert_revision : 6a3fe35fb2740ac27d0d35d5800d08c71b586263
This commit is contained in:
parent
6b47911551
commit
67ed22e426
5 changed files with 57 additions and 0 deletions
1
srcpkgs/faac-devel
Symbolic link
1
srcpkgs/faac-devel
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
faac
|
2
srcpkgs/faac/depends
Normal file
2
srcpkgs/faac/depends
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
abi_depends=">=1.28"
|
||||||
|
api_depends="${abi_depends}"
|
17
srcpkgs/faac/faac-devel.template
Normal file
17
srcpkgs/faac/faac-devel.template
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
# Template file for 'faac-devel'.
|
||||||
|
#
|
||||||
|
short_desc="${short_desc} (development files)"
|
||||||
|
long_desc="${long_desc}
|
||||||
|
|
||||||
|
This package contains files for development, headers, static libs, etc."
|
||||||
|
|
||||||
|
Add_dependency run libmp4v2-devel
|
||||||
|
Add_dependency run faac
|
||||||
|
|
||||||
|
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
|
||||||
|
}
|
11
srcpkgs/faac/patches/libmp4v2.patch
Normal file
11
srcpkgs/faac/patches/libmp4v2.patch
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
--- configure.in 2008-03-02 17:27:47.000000000 +0100
|
||||||
|
+++ configure.in 2008-03-02 17:30:15.000000000 +0100
|
||||||
|
@@ -36,6 +36,8 @@
|
||||||
|
|
||||||
|
if test x$external_mp4v2 = xyes; then
|
||||||
|
AC_MSG_NOTICE([*** Building with external mp4v2 ***])
|
||||||
|
+ MY_DEFINE(HAVE_LIBMP4V2)
|
||||||
|
+ LIBS="-lmp4v2 $LIBS"
|
||||||
|
else
|
||||||
|
if test x$WITHMP4V2 = xyes; then
|
||||||
|
AC_MSG_NOTICE([*** Building with internal mp4v2 ***])
|
26
srcpkgs/faac/template
Normal file
26
srcpkgs/faac/template
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
# Template file for 'faac'
|
||||||
|
pkgname=faac
|
||||||
|
version=1.28
|
||||||
|
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
|
||||||
|
build_style=gnu_configure
|
||||||
|
configure_args="--with-mp4v2"
|
||||||
|
short_desc="AAC audio encoder"
|
||||||
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
|
checksum=c5141199f4cfb17d749c36ba8cfe4b25f838da67c22f0fec40228b6b9c3d19df
|
||||||
|
long_desc="
|
||||||
|
FAAC is an AAC audio encoder. FAAC currently supports MPEG-4 LTP, MAIN
|
||||||
|
and LOW COMPLEXITY object types and MAIN and LOW MPEG-2 object types. It
|
||||||
|
also supports multichannel and gapless encoding."
|
||||||
|
|
||||||
|
subpackages="$pkgname-devel"
|
||||||
|
Add_dependency run glibc
|
||||||
|
Add_dependency run libmp4v2
|
||||||
|
Add_dependency build automake
|
||||||
|
Add_dependency build libmp4v2
|
||||||
|
|
||||||
|
pre_configure()
|
||||||
|
{
|
||||||
|
cd ${wrksrc} || return 1
|
||||||
|
find . -type f -print0 | xargs -0 sed -i 's/\r//g'
|
||||||
|
./bootstrap
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue