Magellan Linux

Contents of /trunk/extras/alsa-plugins/alsa-plugins-1.0.25-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 11247 - (show annotations) (download)
Wed Feb 29 14:49:27 2012 UTC (12 years, 3 months ago) by niro
File size: 1380 byte(s)
auto added: ver bump to 1.0.25-r1
1 # $Id$
2
3 PNAME="alsa-plugins"
4 PVER="1.0.25"
5 PBUILD="r1"
6
7 PCAT="media-sound"
8 LICENSE="gpl-2"
9
10 DESCRIPTION="Advanced Linux Sound Architecture Plugins."
11 HOMEPAGE="http://www.alsa-project.org/"
12
13 DEPEND=">= media-libs/alsa-lib-${PVER}
14 >= media-libs/libsamplerate-0.1.8
15 >= media-video/ffmpeg-201107
16 >= media-sound/pulseaudio-1.1
17 >= media-libs/speex-1.1"
18
19 SDEPEND=">= dev-util/pkgconfig-0.25"
20
21 SRCFILE="${PNAME}-${PVER/_/}.tar.bz2"
22 SRCDIR="${BUILDDIR}/${PNAME}-${PVER/_/}"
23
24 sminclude mbuild mtools
25
26 SRC_URI=(
27 http://dl.ambiweb.de/mirrors/ftp.alsa-project.org/plugins/${SRCFILE}
28 ftp://ftp.alsa-project.org/pub/plugins/${SRCFILE}
29 mirror://${PNAME}/${SRCFILE}
30 mirror://${PNAME}/pulseaudio-probe.conf
31 mirror://${PNAME}/pulse-default.conf
32 )
33
34 UP2DATE="updatecmd 'http://alsa.cybermirror.org/${PNAME/alsa-/}/?C=M;O=A' | lasttarball"
35
36 src_compile()
37 {
38 cd ${SRCDIR}
39
40 mconfigure \
41 --disable-dependency-tracking \
42 --disable-dbus \
43 --enable-avcodec \
44 --enable-pulseaudio \
45 --enable-samplerate \
46 --with-speex \
47 || die
48
49 mmake || die
50 }
51
52 src_install()
53 {
54 mbuild_src_install || die
55
56 # use pulseaudio as default audio device if running
57 minstalldir /usr/share/alsa || die
58 minstallfile -s pulse-default.conf /usr/share/alsa || die
59 minstalldir /usr/share/alsa/alsa.conf.d || die
60 minstallfile -s pulseaudio-probe.conf /usr/share/alsa/alsa.conf.d/51-pulseaudio-probe.conf || die
61 }