aboutsummaryrefslogtreecommitdiffstats
path: root/testing/alsa-plugins/APKBUILD
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2018-10-24 11:55:10 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2018-10-24 11:55:15 +0000
commitf93f3e27216b4404d9a96b84e7aff4f06f8ed4b7 (patch)
tree35185b63f12fcdc60a156aaff09912fdc089fce3 /testing/alsa-plugins/APKBUILD
parent43fb8ab042fc07e4b52e324130719b01f2fda3ff (diff)
downloadaports-f93f3e27216b4404d9a96b84e7aff4f06f8ed4b7.tar.gz
aports-f93f3e27216b4404d9a96b84e7aff4f06f8ed4b7.tar.bz2
aports-f93f3e27216b4404d9a96b84e7aff4f06f8ed4b7.tar.xz
testing/alsa-plugins: upgrade to 1.1.7, renamed lavcrate to lavrate
Diffstat (limited to 'testing/alsa-plugins/APKBUILD')
-rw-r--r--testing/alsa-plugins/APKBUILD19
1 files changed, 14 insertions, 5 deletions
diff --git a/testing/alsa-plugins/APKBUILD b/testing/alsa-plugins/APKBUILD
index 6bf173ffe7..1166a6b273 100644
--- a/testing/alsa-plugins/APKBUILD
+++ b/testing/alsa-plugins/APKBUILD
@@ -1,13 +1,13 @@
# Maintainer: Taner Tas <taner76@gmail.com>
pkgname=alsa-plugins
-pkgver=1.1.6
+pkgver=1.1.7
pkgrel=0
pkgdesc="Advanced Linux Sound Architecture (ALSA) plugins"
url="http://www.alsa-project.org"
arch="all !s390x"
license="GPL-2.0-or-later LGPL-2.1-or-later"
makedepends="linux-headers alsa-lib-dev speex-dev ffmpeg-dev libsamplerate-dev pulseaudio-dev jack-dev"
-subpackages="$pkgname-lavcrate $pkgname-pulse $pkgname-a52 $pkgname-jack"
+subpackages="$pkgname-pulse $pkgname-doc $pkgname-lavrate $pkgname-a52 $pkgname-jack"
source="ftp://ftp.alsa-project.org/pub/plugins/$pkgname-$pkgver.tar.bz2"
prepare() {
@@ -32,10 +32,19 @@ check(){
make check
}
-lavcrate() {
+doc() {
+ default_doc
+ mkdir -p "$subpkgdir"/usr/share/doc/$pkgname
+ cat > "$subpkgdir"/usr/share/doc/$pkgname/README.alpine <<EOF
+ ==> please note that alsa-plugins-lavcrate has been renamed to lavrate.
+ ==> So you need to run: apk add alsa-plugins-lavrate
+EOF
+}
+
+lavrate() {
pkgdesc="FFmpeg samplerate conversion plugins for alsa"
mkdir -p "$subpkgdir"/usr/lib/alsa-lib/
- mv "$pkgdir"/usr/lib/alsa-lib/*lavcrate* "$subpkgdir"/usr/lib/alsa-lib/
+ mv "$pkgdir"/usr/lib/alsa-lib/*lavrate* "$subpkgdir"/usr/lib/alsa-lib/
}
pulse() {
@@ -63,4 +72,4 @@ package() {
find $pkgdir -name *.la -type f -exec rm -f {} \;
}
-sha512sums="f01633cd7166a2fba4c5b4d5d786b5a2122f6a810f5b5b7209c42033759d116a4515174e7ee57973d5de716be88a246d733dc5a2daf92b72377c274b04db401b alsa-plugins-1.1.6.tar.bz2"
+sha512sums="c3bb22ec3c5a167fb246cfc94131d53800e321b486ab743c3395a9d91dee0ff9703f6e4a2feaea5a4ee42a7e486d835d48ab880c784c5c34bb4eb5e9ded06d8e alsa-plugins-1.1.7.tar.bz2"