Annotation of /trunk/core/libfaad2/libfaad2-2.7-r2.smage2
Parent Directory | Revision Log
Revision 3504 -
(hide annotations)
(download)
Thu Oct 22 21:59:09 2009 UTC (14 years, 11 months ago) by niro
File size: 1201 byte(s)
Thu Oct 22 21:59:09 2009 UTC (14 years, 11 months ago) by niro
File size: 1201 byte(s)
auto added: ver bump to 2.7-r2
1 | niro | 3504 | # $Id$ |
2 | |||
3 | PNAME="libfaad2" | ||
4 | PVER="2.7" | ||
5 | PBUILD="r2" | ||
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/}-${PVER}" | ||
17 | |||
18 | sminclude mbuild | ||
19 | |||
20 | SRC_URI=( | ||
21 | sourceforge://faac/${SRCFILE} | ||
22 | mirror://${PNAME}/${SRCFILE} | ||
23 | ) | ||
24 | |||
25 | UP2DATE="updatecmd_sourceforge faac ${PNAME/lib/}-src deep gz" | ||
26 | |||
27 | src_compile() | ||
28 | { | ||
29 | cd ${SRCDIR} | ||
30 | |||
31 | export CFLAGS="${CFLAGS} -fno-strict-aliasing" | ||
32 | export CXXFLAGS="${CXXFLAGS} -fno-strict-aliasing" | ||
33 | |||
34 | mconfigure --with-drm --without-xmms || die | ||
35 | mmake || die | ||
36 | } | ||
37 | |||
38 | src_install() | ||
39 | { | ||
40 | cd ${SRCDIR} | ||
41 | |||
42 | mmake DESTDIR=${BINDIR} install || die | ||
43 | |||
44 | # unneeded include, <systems.h> breaks building of apps, but | ||
45 | # it is necessary because includes <sys/types.h>, | ||
46 | # which is needed by /usr/include/mp4.h... so we just | ||
47 | # include <sys/types.h> instead. See bug #55767 | ||
48 | #sed -i "s:#include <systems.h>:#include <sys/types.h>:" ${BINDIR}/usr/include/mpeg4ip.h || die | ||
49 | #sed -i "s:\"mp4ff_int_types.h\":<stdint.h>:" ${BINDIR}/usr/include/mp4ff.h || die | ||
50 | |||
51 | minstalldocs AUTHORS ChangeLog NEWS README* TODO || die | ||
52 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |