summaryrefslogtreecommitdiffstats
path: root/abs/core/alsa-plugins/PKGBUILD
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2015-07-30 14:52:54 (GMT)
committerBritney Fransen <brfransen@gmail.com>2015-07-30 14:52:54 (GMT)
commit2e6370983563263414982873fd987bd11d75a45b (patch)
tree06d1a5fb7be22be2f03c336e675557ffa9d50751 /abs/core/alsa-plugins/PKGBUILD
parent95f5bd87f4aebfbacbca53ab1bc8ff7e3e189b9c (diff)
downloadlinhes_pkgbuild-2e6370983563263414982873fd987bd11d75a45b.zip
linhes_pkgbuild-2e6370983563263414982873fd987bd11d75a45b.tar.gz
linhes_pkgbuild-2e6370983563263414982873fd987bd11d75a45b.tar.bz2
alsa-lib, alsa-utils: update to 1.0.29; alsa-plugins: initial inclusion
Diffstat (limited to 'abs/core/alsa-plugins/PKGBUILD')
-rw-r--r--abs/core/alsa-plugins/PKGBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/abs/core/alsa-plugins/PKGBUILD b/abs/core/alsa-plugins/PKGBUILD
new file mode 100644
index 0000000..42fb370
--- /dev/null
+++ b/abs/core/alsa-plugins/PKGBUILD
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
+# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: Daniel Ehlers <danielehlers@mindeye.net>
+
+pkgname=alsa-plugins
+pkgver=1.0.29
+pkgrel=2
+pkgdesc="Extra alsa plugins"
+arch=(i686 x86_64)
+url="http://www.alsa-project.org"
+license=(GPL)
+depends=(alsa-lib)
+makedepends=(ffmpeg)
+optdepends=('ffmpeg: libavcodec resampling plugin, a52 plugin'
+ 'libsamplerate: libsamplerate resampling plugin'
+ 'speex: libspeexdsp resampling plugin')
+source=("ftp://ftp.alsa-project.org/pub/plugins/$pkgname-$pkgver.tar.bz2")
+
+prepare() {
+ cd $pkgname-$pkgver
+ sed -i 's/ && LIBAVCODEC_VERSION_MINOR >= 34//' a52/pcm_a52.c
+}
+
+build() {
+ cd $pkgname-$pkgver
+ CFLAGS+=' -DHAVE_STDINT_H' # We have issue similar to this one https://code.google.com/p/cantata/issues/detail?id=627
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+
+ install -d "$pkgdir/usr/share/doc/$pkgname"
+ install -m644 doc/README* doc/*.txt "$pkgdir/usr/share/doc/$pkgname/"
+}
+md5sums=('a66797b4471e3cbe96575207bfbe252c')