Contents of /trunk/extras/libsndfile/libsndfile-1.0.17-r4.smage2
Parent Directory | Revision Log
Revision 2 -
(show annotations)
(download)
Fri Oct 10 13:29:42 2008 UTC (15 years, 11 months ago) by niro
File size: 1146 byte(s)
Fri Oct 10 13:29:42 2008 UTC (15 years, 11 months ago) by niro
File size: 1146 byte(s)
import repo
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="r4" |
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.11" |
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 | src_prepare() |
29 | { |
30 | munpack ${SRCFILE} || die |
31 | cd ${SRCDIR} |
32 | |
33 | # security fix |
34 | mpatch ${PNAME}-${PVER}-flac-buffer-overflow.patch || die |
35 | |
36 | # fix compilation with newer flac versions |
37 | mpatch ${PNAME}-${PVER}-flac-1.1.3.patch || die |
38 | } |
39 | |
40 | src_compile() |
41 | { |
42 | cd ${SRCDIR} |
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 |