Magellan Linux

Contents of /trunk/core/libsndfile/libsndfile-1.0.19-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1279 - (show annotations) (download)
Tue Apr 28 07:34:24 2009 UTC (15 years ago) by niro
File size: 1355 byte(s)
auto added: ver bump to 1.0.19-r1
1 # $Id$
2
3 PNAME="libsndfile"
4 PVER="1.0.19"
5 PBUILD="r1"
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.19"
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}-1.0.17-flac-buffer-overflow.patch
25 mirror://${PNAME}/${PNAME}-1.0.17-flac-1.1.3.patch
26 mirror://${PNAME}/${PNAME}-1.0.17-libtool22.patch
27 )
28
29 UP2DATE="updatecmd ${HOMEPAGE} | lasttarball gz"
30
31 src_prepare()
32 {
33 munpack ${SRCFILE} || die
34 cd ${SRCDIR}
35
36 # security fix
37 mpatch ${PNAME}-1.0.17-flac-buffer-overflow.patch || die
38
39 # fix compilation with newer flac versions
40 mpatch ${PNAME}-1.0.17-flac-1.1.3.patch || die
41
42 # fix compilation with libtool-2
43 mpatch ${PNAME}-1.0.17-libtool22.patch || die
44
45 # fix for autoconf 2.62
46 all-abis 'sed -i "/AC_MSG_WARN(\[\[/d" acinclude.m4' || die
47 all-abis 'autoreconf --verbose --install --force' || die
48 }
49
50 src_compile()
51 {
52 mconfigure \
53 --disable-werror \
54 --disable-gcc-pipe \
55 --disable-dependency-tracking \
56 --disable-sqlite \
57 --enable-flac \
58 --enable-alsa \
59 || die
60
61 mmake || die
62 }

Properties

Name Value
svn:keywords Id