[arch-commits] Commit in alsa-plugins/repos (testing-x86_64 testing-x86_64/PKGBUILD)

David Runge dvzrv at archlinux.org
Wed Jan 22 21:56:56 UTC 2020


    Date: Wednesday, January 22, 2020 @ 21:56:56
  Author: dvzrv
Revision: 373804

archrelease: copy trunk to testing-x86_64

Added:
  alsa-plugins/repos/testing-x86_64/
  alsa-plugins/repos/testing-x86_64/PKGBUILD
    (from rev 373803, alsa-plugins/trunk/PKGBUILD)

----------+
 PKGBUILD |   52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 52 insertions(+)

Copied: alsa-plugins/repos/testing-x86_64/PKGBUILD (from rev 373803, alsa-plugins/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2020-01-22 21:56:56 UTC (rev 373804)
@@ -0,0 +1,52 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: David Runge <dvzrv at archlinux.org>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Daniel Ehlers <danielehlers at mindeye.net>
+
+pkgname=alsa-plugins
+pkgver=1.2.1
+pkgrel=2
+pkgdesc="Additional library plugins"
+arch=('x86_64')
+url="http://www.alsa-project.org"
+license=('LGPL2.1')
+depends=('glibc' 'libasound.so')
+# a52, lavrate plugins not compatible with ffmpeg >= 4.0
+# https://mailman.alsa-project.org/pipermail/alsa-devel/2019-December/159425.html
+# https://bugs.archlinux.org/task/60586
+makedepends=('dbus' 'libavcodec.so' 'libavutil.so' 'libjack.so' 'libpulse.so'
+'libsamplerate.so' 'libswresample.so' 'speexdsp')
+optdepends=('dbus: for maemo plugin'
+            'libavcodec.so: for pcm_a52 and rate_lavrate plugins'
+            'libavutil.so: for pcm_a52 and rate_lavrate plugins'
+            'libjack.so: for pcm_jack plugin'
+            'libsamplerate.so: for rate_samplerate plugin'
+            'libpulse.so: for conf_pulse, ctl_pulse and pcm_pulse plugins'
+            'libswresample.so: for pcm_a52 and rate_lavrate plugins'
+            'speexdsp: for pcm_speex and rate_speexrate plugins')
+source=("https://www.alsa-project.org/files/pub/plugins/$pkgname-$pkgver.tar.bz2"
+        "${pkgname}-1.2.1-ffmpeg4.patch::https://git.harting.dev/IdleGandalf/alsa-plugins/commit/9cdbbb9874757b6f8fda7fb4ac2e3fc59da65946.patch"
+)
+sha512sums=('a49ef9290b66855112e301a5fd5a0932f13a50254e164f3340f2b342a36469532ee783beabfe5e95870dbf4cd81ca1e8d0415d94c8c7ee963133fb3c343721de'
+            '06ff2aa30a55e0d04ac9d1f5a6fa11a6a3c04c3f6722c07ecd7cac57584e142ad6949fd6c856c66435ac5ff5cf910c362e9c72605ca190074764cf3d40a9d64f')
+
+prepare() {
+  cd $pkgname-$pkgver
+  patch -Np1 -i "../${pkgname}-1.2.1-ffmpeg4.patch"
+  autoreconf -vfi
+}
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr \
+              --enable-maemo-plugin \
+              --sysconfdir=/etc
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+  install -vDm 644 doc/README* doc/*.txt \
+    -t "$pkgdir/usr/share/doc/$pkgname/"
+}



More information about the arch-commits mailing list