Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1285 - (show annotations) (download)
Tue Apr 28 10:53:56 2009 UTC (15 years, 1 month ago) by niro
File size: 1175 byte(s)
auto added: ver bump to 2.7-r1
1 # $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 )
22
23 UP2DATE="updatecmd_sourceforge faac ${PNAME/lib/}-src deep gz"
24
25 src_compile()
26 {
27 cd ${SRCDIR}
28
29 export CFLAGS="${CFLAGS} -fno-strict-aliasing"
30 export CXXFLAGS="${CXXFLAGS} -fno-strict-aliasing"
31
32 mconfigure --with-drm --without-xmms || die
33 mmake || die
34 }
35
36 src_install()
37 {
38 cd ${SRCDIR}
39
40 mmake DESTDIR=${BINDIR} install || die
41
42 # unneeded include, <systems.h> breaks building of apps, but
43 # it is necessary because includes <sys/types.h>,
44 # which is needed by /usr/include/mp4.h... so we just
45 # include <sys/types.h> instead. See bug #55767
46 #sed -i "s:#include <systems.h>:#include <sys/types.h>:" ${BINDIR}/usr/include/mpeg4ip.h || die
47 #sed -i "s:\"mp4ff_int_types.h\":<stdint.h>:" ${BINDIR}/usr/include/mp4ff.h || die
48
49 minstalldocs AUTHORS ChangeLog NEWS README* TODO || die
50 }

Properties

Name Value
svn:keywords Id