Magellan Linux

Annotation of /branches/magellan-next/core/libfaac/libfaac-1.28-r3.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 6610 - (hide annotations) (download)
Mon Sep 6 20:35:39 2010 UTC (13 years, 8 months ago) by niro
File size: 811 byte(s)
-added patch to build against external libmp4v2
1 niro 6609 # $Id: libfaac-1.28-r2.smage2 3953 2009-11-14 13:14:10Z niro $
2    
3     PNAME="libfaac"
4     PVER="1.28"
5     PBUILD="r3"
6    
7     PCATEGORIE="media-libs"
8     STATE="unstable"
9    
10     DESCRIPTION="Free MPEG-4 audio codecs."
11     HOMEPAGE="http://www.audiocoding.com/"
12    
13     DEPEND=">= media-libs/libsndfile-1.0.21
14     >= media-libs/libmp4v2-1.9"
15    
16     SRCFILE="${PNAME/lib/}-${PVER}.tar.gz"
17     SRCDIR="${BUILDDIR}/${PNAME/lib/}-${PVER}"
18    
19     sminclude mbuild
20    
21     SRC_URI=(
22     sourceforge://faac/${SRCFILE}
23     mirror://${PNAME}/${SRCFILE}
24 niro 6610 mirror://${PNAME}/${PNAME}-${PVER}-external-libmp4v2.patch
25 niro 6609 )
26    
27     UP2DATE="updatecmd_sourceforge ${PNAME/lib/} ${PNAME/lib/}-src - ${PNAME/lib/}"
28    
29     src_prepare()
30     {
31     munpack ${SRCFILE} || die
32     cd ${SRCDIR}
33 niro 6610
34     # use external libmp4v2
35     mpatch ${PNAME}-${PVER}-external-libmp4v2.patch || die
36    
37 niro 6609 mlibtoolize || die
38     autoreconf --install --force || die
39     }