[arch-commits] Commit in alsa-plugins/repos/extra-x86_64 (PKGBUILD PKGBUILD)
David Runge
dvzrv at archlinux.org
Mon Feb 10 15:13:40 UTC 2020
Date: Monday, February 10, 2020 @ 15:13:39
Author: dvzrv
Revision: 375248
archrelease: copy trunk to extra-x86_64
Added:
alsa-plugins/repos/extra-x86_64/PKGBUILD
(from rev 375247, alsa-plugins/trunk/PKGBUILD)
Deleted:
alsa-plugins/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 101 ++++++++++++++++++++++++++++++++-----------------------------
1 file changed, 53 insertions(+), 48 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-02-10 15:13:30 UTC (rev 375247)
+++ PKGBUILD 2020-02-10 15:13:39 UTC (rev 375248)
@@ -1,48 +0,0 @@
-# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
-# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Daniel Ehlers <danielehlers at mindeye.net>
-
-pkgname=alsa-plugins
-pkgver=1.2.1
-pkgrel=4
-pkgdesc="Additional ALSA plugins"
-arch=(x86_64)
-url="https://www.alsa-project.org"
-license=(LGPL2.1)
-depends=(glibc alsa-lib)
-makedepends=(dbus jack libpulse libsamplerate speexdsp)
-optdepends=('dbus: for maemo plugin'
- 'jack: for pcm_jack plugin'
- 'libsamplerate: for rate_samplerate plugin'
- 'libpulse: for conf_pulse, ctl_pulse and pcm_pulse plugins'
- 'speexdsp: for pcm_speex and rate_speexrate plugins')
-source=("https://www.alsa-project.org/files/pub/plugins/$pkgname-$pkgver.tar.bz2")
-sha256sums=('4d94de7ad41734b8604a652521200bb6554fcf0c2c00fdbd302b1710d76548da')
-
-prepare() {
- cd $pkgname-$pkgver
-
- # 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
- autoreconf -fvi
-}
-
-build() {
- cd $pkgname-$pkgver
- ./configure \
- --prefix=/usr \
- --sysconfdir=/etc \
- --enable-maemo-plugin
- make
-}
-
-package() {
- depends+=(libasound.so)
-
- cd $pkgname-$pkgver
- make DESTDIR="$pkgdir" install
- install -Dt "$pkgdir/usr/share/doc/$pkgname" -m644 doc/README* doc/*.txt
-}
-
-# vim:set sw=2 et:
Copied: alsa-plugins/repos/extra-x86_64/PKGBUILD (from rev 375247, alsa-plugins/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-02-10 15:13:39 UTC (rev 375248)
@@ -0,0 +1,53 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Daniel Ehlers <danielehlers at mindeye.net>
+
+pkgname=alsa-plugins
+pkgver=1.2.1
+pkgrel=5
+pkgdesc="Additional ALSA plugins"
+arch=(x86_64)
+url="https://www.alsa-project.org"
+license=(LGPL2.1)
+depends=(glibc alsa-lib)
+makedepends=(dbus jack libpulse libsamplerate speexdsp)
+optdepends=('dbus: for maemo plugin'
+ 'jack: for pcm_jack plugin'
+ 'libsamplerate: for rate_samplerate plugin'
+ 'libpulse: for conf_pulse, ctl_pulse and pcm_pulse plugins'
+ 'speexdsp: for pcm_speex and rate_speexrate plugins')
+source=("https://www.alsa-project.org/files/pub/plugins/$pkgname-$pkgver.tar.bz2")
+sha256sums=('4d94de7ad41734b8604a652521200bb6554fcf0c2c00fdbd302b1710d76548da')
+
+prepare() {
+ cd $pkgname-$pkgver
+
+ # 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
+ autoreconf -fvi
+}
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --enable-maemo-plugin \
+ --enable-maemo-resource-manager
+ make
+}
+
+package() {
+ depends+=(libasound.so)
+
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+ install -Dt "$pkgdir/usr/share/doc/$pkgname" -m644 doc/README* doc/*.txt
+ # remove maemo plugin configuration (it overrides defaults for pcm and ctl),
+ # until a better way is found to package default overrides:
+ # https://bugs.archlinux.org/task/65440
+ rm -v "${pkgdir}/etc/alsa/conf.d/98-maemo.conf"
+}
+
+# vim:set sw=2 et:
More information about the arch-commits
mailing list