blob: 660139409b5ef9524451392d4df05acf14fd3da2 (
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
# Maintainer: Taner Tas <taner76@gmail.com>
pkgname=alsa-plugins
pkgver=1.1.4
pkgrel=0
pkgdesc="Alsa Plugins"
url="http://www.alsa-project.org"
arch="all"
license="GPL"
makedepends="linux-headers alsa-lib-dev speex-dev ffmpeg-dev libsamplerate-dev pulseaudio-dev"
subpackages="$pkgname-lavcrate $pkgname-pulse"
source="ftp://ftp.alsa-project.org/pub/plugins/$pkgname-$pkgver.tar.bz2"
prepare() {
update_config_sub
}
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var
make
}
check(){
cd "$builddir"
make check
}
lavcrate() {
pkgdesc="FFmpeg samplerate conversion plugins for alsa"
depends="alsa-lib ffmpeg-libs"
mkdir -p "$subpkgdir"/usr/lib/alsa-lib/
mv "$pkgdir"/usr/lib/alsa-lib/*lavcrate* "$subpkgdir"/usr/lib/alsa-lib/
}
pulse() {
pkgdesc="Pulseaudio support plugins for alsa-only applications"
depends="alsa-lib pulseaudio-libs"
mkdir -p "$subpkgdir"/usr/lib/alsa-lib/
mv "$pkgdir"/usr/lib/alsa-lib/*pulse.so "$subpkgdir"/usr/lib/alsa-lib/
mv "$pkgdir"/usr/share "$subpkgdir"/usr/
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
find $pkgdir -name *.la -type f -exec rm -f {} \;
}
sha512sums="edbc9dd762e2500ce6f820d81fcd8d2577506afcea0b33a32cece95f8d6651840f4f8a55664f274d735ab3effa13cdbfc0331690c37a64a9ad050c15dc77cac6 alsa-plugins-1.1.4.tar.bz2"
|