Annotation of /branches/magellan-next/core/flac/flac-1.2.1-r5.smage2
Parent Directory | Revision Log
Revision 6590 -
(hide annotations)
(download)
Mon Sep 6 17:44:15 2010 UTC (13 years, 9 months ago) by niro
File size: 858 byte(s)
Mon Sep 6 17:44:15 2010 UTC (13 years, 9 months ago) by niro
File size: 858 byte(s)
auto added: ver bump to 1.2.1-r5
1 | niro | 6590 | # $Id: flac-1.2.1-r4.smage2 3943 2009-11-14 12:17:52Z niro $ |
2 | |||
3 | PNAME="flac" | ||
4 | PVER="1.2.1" | ||
5 | PBUILD="r5" | ||
6 | |||
7 | PCATEGORIE="media-libs" | ||
8 | STATE="unstable" | ||
9 | |||
10 | DESCRIPTION="FLAC - Free Lossless Audio Codec." | ||
11 | HOMEPAGE="http://flac.sourceforge.net/" | ||
12 | |||
13 | DEPEND=">= virtual/glibc | ||
14 | >= media-libs/libogg-1.2" | ||
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 | |||
24 | SRC_URI=( | ||
25 | sourceforge://${PNAME}/${SRCFILE} | ||
26 | mirror://${PNAME}/${SRCFILE} | ||
27 | mirror://${PNAME}/${PNAME}-${PVER}-gcc43.patch | ||
28 | ) | ||
29 | |||
30 | UP2SUBSTITUTE="flac-" | ||
31 | UP2DATE="updatecmd_sourceforge ${PNAME} ${PNAME}-src | sed 's:-src::'" | ||
32 | |||
33 | src_prepare() | ||
34 | { | ||
35 | munpack ${SRCFILE} | ||
36 | |||
37 | # fix compilation with gcc-4.3 | ||
38 | mpatch ${PNAME}-${PVER}-gcc43.patch || die | ||
39 | } | ||
40 | |||
41 | src_compile() | ||
42 | { | ||
43 | mconfigure --enable-ogg --disable-xmms-plugin || die | ||
44 | mmake || die | ||
45 | } |