mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 20:06:43 +02:00
testing/alsa-plugins: new aport
http://www.alsa-project.org Alsa Plugins
This commit is contained in:
parent
cff862c329
commit
df2bdad2df
55
testing/alsa-plugins/APKBUILD
Normal file
55
testing/alsa-plugins/APKBUILD
Normal file
@ -0,0 +1,55 @@
|
||||
# Maintainer: Taner Tas <taner76@gmail.com>
|
||||
pkgname=alsa-plugins
|
||||
pkgver=1.1.1
|
||||
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="9dd277cb5cce144ce4e5e0010cebcba0f8634c783e7bcd80ce6d04b198d6de5150a2764df3087a39a468b5fb7c4578de2e252095568e811dedaa5e7ffdbeb7c9 alsa-plugins-1.1.1.tar.bz2"
|
||||
Loading…
x
Reference in New Issue
Block a user