24 lines
506 B
Plaintext
24 lines
506 B
Plaintext
|
# Description: Extra alsa plugins
|
||
|
# URL: http://www.alsa-project.org
|
||
|
# Packager: pierre at nutyx dot org
|
||
|
# Depends on: alsa-lib ffmpeg pulseaudio libsamplerate speex
|
||
|
|
||
|
name=alsa-plugins
|
||
|
version=1.1.0
|
||
|
release=1
|
||
|
|
||
|
source=(ftp://ftp.alsa-project.org/pub/plugins/$name-$version.tar.bz2
|
||
|
$name.conf)
|
||
|
|
||
|
build() {
|
||
|
cd $name-$version
|
||
|
|
||
|
sed -i "/speex_preprocess.h/i#include <stdint.h>" speex/pcm_speex.c
|
||
|
|
||
|
./configure --prefix=/usr
|
||
|
make
|
||
|
make DESTDIR=$PKG install
|
||
|
|
||
|
install -Dm644 $SRC/$name.conf $PKG/etc/asound.conf
|
||
|
}
|