Annotation of /branches/R11-stable/extras/flac/flac-1.2.1-r7.smage2
Parent Directory
|
Revision Log
Revision 10295 -
(hide annotations)
(download)
Fri Jan 20 18:22:26 2012 UTC (12 years, 5 months ago) by niro
Original Path: trunk/core/flac/flac-1.2.1-r7.smage2
File size: 927 byte(s)
Fri Jan 20 18:22:26 2012 UTC (12 years, 5 months ago) by niro
Original Path: trunk/core/flac/flac-1.2.1-r7.smage2
File size: 927 byte(s)
-disabled checks atm -fixme
1 | niro | 9777 | # $Id$ |
2 | |||
3 | PNAME="flac" | ||
4 | PVER="1.2.1" | ||
5 | PBUILD="r7" | ||
6 | |||
7 | niro | 10293 | PCAT="media-libs" |
8 | niro | 9777 | |
9 | DESCRIPTION="FLAC - Free Lossless Audio Codec." | ||
10 | HOMEPAGE="http://flac.sourceforge.net/" | ||
11 | |||
12 | DEPEND=">= virtual/glibc | ||
13 | >= media-libs/libogg-1.2 | ||
14 | >= sys-libs/libstdc++-4.6" | ||
15 | |||
16 | SDEPEND=">= dev-lang/nasm-2 | ||
17 | >= sys-apps/gawk-3" | ||
18 | |||
19 | SRCFILE="${PNAME}-${PVER}.tar.gz" | ||
20 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
21 | |||
22 | sminclude mbuild multilib | ||
23 | niro | 10295 | msetfeature "!check" |
24 | niro | 9777 | |
25 | SRC_URI=( | ||
26 | sourceforge://${PNAME}/${SRCFILE} | ||
27 | mirror://${PNAME}/${SRCFILE} | ||
28 | mirror://${PNAME}/${PNAME}-${PVER}-gcc43.patch | ||
29 | ) | ||
30 | |||
31 | UP2SUBSTITUTE="flac-" | ||
32 | UP2DATE="updatecmd_sourceforge ${PNAME} ${PNAME}-src | sed 's:-src::'" | ||
33 | |||
34 | src_prepare() | ||
35 | { | ||
36 | munpack ${SRCFILE} | ||
37 | |||
38 | # fix compilation with gcc-4.3 | ||
39 | mpatch ${PNAME}-${PVER}-gcc43.patch || die | ||
40 | } | ||
41 | |||
42 | src_compile() | ||
43 | { | ||
44 | niro | 9778 | mconfigure \ |
45 | --disable-static \ | ||
46 | --disable-rpath \ | ||
47 | niro | 9779 | --with-pic \ |
48 | niro | 9778 | --enable-ogg \ |
49 | --disable-xmms-plugin \ | ||
50 | niro | 10294 | --disable-thorough-tests \ |
51 | niro | 9778 | || die |
52 | |||
53 | niro | 9777 | mmake || die |
54 | } |