summaryrefslogtreecommitdiffstats
path: root/extra/alsa-plugins-pulseaudio/Pkgfile
blob: dec04bcf3ee50337a40b7a774a9a5fed3d4abe30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Description: Plugins PulseAudio pour ALSA
# URL: http://www.alsa-project.org
# Maintainer: NuTyX core team
# Packager: piernov <piernov@piernov.org>
# Depends on: alsa-plugins, pulseaudio
# Run on: alsa-plugins,pulseaudio

name=alsa-plugins-pulseaudio
version=1.0.24
release=1
source=(ftp://ftp.alsa-project.org/pub/plugins/${name%-*}-$version.tar.bz2
	pulseaudio.conf
	pulse-default.conf)

build() {
	cd ${name%-*}-$version
	./configure --prefix=/usr \
		--disable-samplerate \
		--disable-jack \
		--disable-avcodec \
		--disable-maemo-plugin \
		--with-speex=no
		
	make -C pulse
	make -C pulse DESTDIR=$PKG install

	install -D -m 0644 ../pulse-default.conf $PKG/etc/asound.conf
	install -D -m 0644 ../pulseaudio.conf $PKG/usr/share/alsa/pcm/pulseaudio.conf
}