Contents of /trunk/extras/audiofile/audiofile-0.3.6-r3.smage2
Parent Directory | Revision Log
Revision 30433 -
(show annotations)
(download)
Fri Jan 19 12:51:29 2018 UTC (6 years, 8 months ago) by niro
File size: 834 byte(s)
Fri Jan 19 12:51:29 2018 UTC (6 years, 8 months ago) by niro
File size: 834 byte(s)
-updated homepage and SRC_URI
1 | # $Id$ |
2 | |
3 | PNAME="audiofile" |
4 | PVER="0.3.6" |
5 | PBUILD="r3" |
6 | |
7 | PCAT="media-libs" |
8 | |
9 | DESCRIPTION="The Audio File Library provides a uniform API for accessing a variety of audio file formats." |
10 | HOMEPAGE="https://audiofile.68k.org/" |
11 | |
12 | DEPEND=">= sys-libs/libstdc++-7.2 |
13 | >= media-libs/alsa-lib-1.1" |
14 | |
15 | SRCFILE="${PNAME}-${PVER}.tar.gz" |
16 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
17 | |
18 | sminclude multilib mbuild |
19 | msetfeature "!check" |
20 | |
21 | SRC_URI=( |
22 | https://audiofile.68k.org/${SRCFILE} |
23 | mirror://${PNAME}/${SRCFILE} |
24 | ) |
25 | |
26 | UP2DATE="updatecmd ${HOMEPAGE} | grep download | sed 's/.*version\ \(.*\).*/\1/'" |
27 | |
28 | src_prepare() |
29 | { |
30 | munpack ${SRCFILE} || die |
31 | |
32 | # don't build any examples |
33 | all-abis 'sed -i "/^SRC_SUBDIRS/s: examples::" Makefile.am || die' |
34 | |
35 | mautoreconf || die |
36 | } |
37 | |
38 | src_compile() |
39 | { |
40 | mconfigure --enable-largefile --disable-static --disable-werror || die |
41 | mmake || die |
42 | } |