Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2 - (hide annotations) (download)
Fri Oct 10 13:29:42 2008 UTC (15 years, 7 months ago) by niro
Original Path: trunk/extras/libfaad2/libfaad2-2.6.1-r1.smage2
File size: 1351 byte(s)
import repo
1 niro 2 # $Header: /magellan-cvs/smage/libfaad2/libfaad2-2.6.1-r1.smage2,v 1.1 2008/02/13 20:54:42 niro Exp $
2    
3     PNAME="libfaad2"
4     PVER="2.6.1"
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     )
22    
23     src_prepare()
24     {
25     munpack ${SRCFILE} || die
26     cd ${SRCDIR}
27    
28     # create missing configure script
29     autoreconf --verbose --force --install || die
30     }
31    
32     src_compile()
33     {
34     cd ${SRCDIR}
35    
36     export CFLAGS="${CFLAGS} -fno-strict-aliasing"
37     export CXXFLAGS="${CXXFLAGS} -fno-strict-aliasing"
38    
39     mconfigure --with-drm --without-xmms || die
40     mmake || die
41     }
42    
43     src_install()
44     {
45     cd ${SRCDIR}
46    
47     mmake DESTDIR=${BINDIR} install || die
48    
49     # unneeded include, <systems.h> breaks building of apps, but
50     # it is necessary because includes <sys/types.h>,
51     # which is needed by /usr/include/mp4.h... so we just
52     # include <sys/types.h> instead. See bug #55767
53     #sed -i "s:#include <systems.h>:#include <sys/types.h>:" ${BINDIR}/usr/include/mpeg4ip.h || die
54     #sed -i "s:\"mp4ff_int_types.h\":<stdint.h>:" ${BINDIR}/usr/include/mp4ff.h || die
55    
56     minstalldocs AUTHORS ChangeLog NEWS README* TODO || die
57     }

Properties

Name Value
svn:keywords Id