Contents of /trunk/core/libsndfile/libsndfile-1.0.17-r5.smage2
Parent Directory | Revision Log
Revision 956 -
(show annotations)
(download)
Sun Dec 28 22:44:00 2008 UTC (15 years, 4 months ago) by niro
File size: 1181 byte(s)
Sun Dec 28 22:44:00 2008 UTC (15 years, 4 months ago) by niro
File size: 1181 byte(s)
-multilib - 'cd ${SRCDIR}' not needed
1 | # $Header: /magellan-cvs/smage/libsndfile/libsndfile-1.0.17-r4.smage2,v 1.2 2008/02/13 20:36:28 niro Exp $ |
2 | |
3 | PNAME="libsndfile" |
4 | PVER="1.0.17" |
5 | PBUILD="r5" |
6 | |
7 | PCATEGORIE="media-libs" |
8 | STATE="unstable" |
9 | |
10 | DESCRIPTION="libsndfile is a library for reading and writing files containing sampled sound." |
11 | HOMEPAGE="http://www.mega-nerd.com/libsndfile/" |
12 | |
13 | DEPEND=">= media-libs/flac-1.2.1 |
14 | >= media-libs/alsa-lib-1.0.18" |
15 | |
16 | SRCFILE="${PNAME}-${PVER}.tar.gz" |
17 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
18 | |
19 | sminclude mbuild multilib |
20 | |
21 | SRC_URI=( |
22 | http://www.mega-nerd.com/${PNAME}/${SRCFILE} |
23 | mirror://${PNAME}/${SRCFILE} |
24 | mirror://${PNAME}/${PNAME}-${PVER}-flac-buffer-overflow.patch |
25 | mirror://${PNAME}/${PNAME}-${PVER}-flac-1.1.3.patch |
26 | ) |
27 | |
28 | UP2DATE="updatecmd ${HOMEPAGE} | lasttarball gz" |
29 | |
30 | src_prepare() |
31 | { |
32 | munpack ${SRCFILE} || die |
33 | cd ${SRCDIR} |
34 | |
35 | # security fix |
36 | mpatch ${PNAME}-${PVER}-flac-buffer-overflow.patch || die |
37 | |
38 | # fix compilation with newer flac versions |
39 | mpatch ${PNAME}-${PVER}-flac-1.1.3.patch || die |
40 | } |
41 | |
42 | src_compile() |
43 | { |
44 | mconfigure \ |
45 | --disable-werror \ |
46 | --disable-gcc-pipe \ |
47 | --disable-dependency-tracking \ |
48 | --disable-sqlite \ |
49 | --enable-flac \ |
50 | --enable-alsa \ |
51 | || die |
52 | |
53 | mmake || die |
54 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |