Magellan Linux

Annotation of /trunk/core/libfaad2/libfaad2-2.7-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1284 - (hide annotations) (download)
Tue Apr 28 10:46:26 2009 UTC (15 years, 1 month ago) by niro
File size: 1443 byte(s)
auto added: ver bump to 2.7-r1
1 niro 1284 # $Id$
2    
3     PNAME="libfaad2"
4     PVER="2.7"
5     PBUILD="r1"
6    
7     PCATEGORIE="media-libs"
8     STATE="unstable"
9    
10     DESCRIPTION="FAAD2 is an open source MPEG-4 and MPEG-2 AAC decoder."
11     HOMEPAGE="http://www.audiocoding.com/"
12    
13     DEPEND=">= media-libs/libmp4v2-1.5"
14    
15     SRCFILE="${PNAME/lib/}-${PVER}.tar.gz"
16     SRCDIR="${BUILDDIR}/${PNAME/lib/}"
17    
18     SRC_URI=(
19     sourceforge://faac/${SRCFILE}
20     mirror://${PNAME}/${SRCFILE}
21     mirror://${PNAME}/${PNAME}-2.6.1-libtool22.patch
22     )
23    
24     UP2DATE="updatecmd_sourceforge faac ${PNAME/lib/}-src deep gz"
25    
26     src_prepare()
27     {
28     munpack ${SRCFILE} || die
29     cd ${SRCDIR}
30    
31     # fix build with libtool-2
32     mpatch ${PNAME}-2.6.1-libtool22.patch || die
33    
34     # create missing configure script
35     autoreconf --verbose --force --install || die
36     }
37    
38     src_compile()
39     {
40     cd ${SRCDIR}
41    
42     export CFLAGS="${CFLAGS} -fno-strict-aliasing"
43     export CXXFLAGS="${CXXFLAGS} -fno-strict-aliasing"
44    
45     mconfigure --with-drm --without-xmms || die
46     mmake || die
47     }
48    
49     src_install()
50     {
51     cd ${SRCDIR}
52    
53     mmake DESTDIR=${BINDIR} install || die
54    
55     # unneeded include, <systems.h> breaks building of apps, but
56     # it is necessary because includes <sys/types.h>,
57     # which is needed by /usr/include/mp4.h... so we just
58     # include <sys/types.h> instead. See bug #55767
59     #sed -i "s:#include <systems.h>:#include <sys/types.h>:" ${BINDIR}/usr/include/mpeg4ip.h || die
60     #sed -i "s:\"mp4ff_int_types.h\":<stdint.h>:" ${BINDIR}/usr/include/mp4ff.h || die
61    
62     minstalldocs AUTHORS ChangeLog NEWS README* TODO || die
63     }

Properties

Name Value
svn:keywords Id