Annotation of /trunk/core/libsndfile/libsndfile-1.0.17-r5.smage2
Parent Directory | Revision Log
Revision 954 -
(hide annotations)
(download)
Sun Dec 28 22:38:44 2008 UTC (15 years, 5 months ago) by niro
File size: 1196 byte(s)
Sun Dec 28 22:38:44 2008 UTC (15 years, 5 months ago) by niro
File size: 1196 byte(s)
-fixed dependencies
1 | niro | 952 | # $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 | niro | 954 | >= media-libs/alsa-lib-1.0.18" |
15 | niro | 952 | |
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 | cd ${SRCDIR} | ||
45 | |||
46 | mconfigure \ | ||
47 | --disable-werror \ | ||
48 | --disable-gcc-pipe \ | ||
49 | --disable-dependency-tracking \ | ||
50 | --disable-sqlite \ | ||
51 | --enable-flac \ | ||
52 | --enable-alsa \ | ||
53 | || die | ||
54 | |||
55 | mmake || die | ||
56 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |