summaryrefslogtreecommitdiffstats
path: root/alsa-plugins/Pkgfile
blob: 4a224c19d4a27b59879f513394980ac449785f30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Description: Plugins pour diverses librairies audio
# URL: http://www.alsa-project.org
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: alsa-lib, libsamplerate, speex, liba52, ffmpeg
# Run on: alsa-lib,libsamplerate,speex,liba52,ffmpeg

name=alsa-plugins
version=1.0.25
release=2
source=(ftp://ftp.alsa-project.org/pub/plugins/$name-$version.tar.bz2)

build() {
	cd $name-$version
	# corrige le cassage d'API de ffmpeg
	sed "s|CH_LAYOUT_|AV_CH_LAYOUT_|g" -i a52/pcm_a52.c
	./configure --prefix=/usr \
		--disable-pulseaudio \
		--disable-jack
	make
	make DESTDIR=$PKG install
}