[arch-commits] Commit in alsa-plugins/trunk (PKGBUILD)

David Runge dvzrv at gemini.archlinux.org
Fri Jun 17 16:55:32 UTC 2022


    Date: Friday, June 17, 2022 @ 16:55:31
  Author: dvzrv
Revision: 448951

upgpkg: alsa-plugins 1:1.2.7.1-1: Upgrade to 1.2.7.1.

Add debug package.
Remove unnecessary quotes and curly braces.
Do not break long lines.
Minor cleanups.

Modified:
  alsa-plugins/trunk/PKGBUILD

----------+
 PKGBUILD |   42 +++++++++++++++++++++++-------------------
 1 file changed, 23 insertions(+), 19 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-06-17 16:52:31 UTC (rev 448950)
+++ PKGBUILD	2022-06-17 16:55:31 UTC (rev 448951)
@@ -5,8 +5,8 @@
 
 pkgbase=alsa-plugins
 pkgname=(alsa-plugins pulseaudio-alsa)
-pkgver=1.2.6
-pkgrel=3
+pkgver=1.2.7.1
+pkgrel=1
 epoch=1
 pkgdesc="Additional ALSA plugins"
 arch=(x86_64)
@@ -13,12 +13,15 @@
 url="https://www.alsa-project.org"
 license=(LGPL2.1)
 makedepends=(alsa-lib dbus ffmpeg jack libavtp libpulse libsamplerate speexdsp)
-source=("https://www.alsa-project.org/files/pub/plugins/$pkgbase-$pkgver.tar.bz2"{,.sig}
-        pulse-sysdefault.diff)
-sha512sums=('ac54a6f227f1ca5f6e01e08d869e7c06f4bcd68f148932e1902a6fcf3e5ccd3667ac4d8c1a00b77e4b5cb27e17c01cf7526ded4aaf35c4b26fc69e14e6e341f9'
+options=(debug)
+source=(
+  https://www.alsa-project.org/files/pub/plugins/$pkgbase-$pkgver.tar.bz2{,.sig}
+  pulse-sysdefault.diff
+)
+sha512sums=('437c05a7e0175594768fd6a9a6d1a158bb4a01a7de6a42c2bd468d9381e01b64d385ddfac7d87baf84fe13cb4e65dc24da643940f416d4b191c528728822d964'
             'SKIP'
             'b8c8e55f4da0ae87cc44d75a906d00b4f1e2304e6bc10419c6e0913c8f7d29599a3f3d41733decbe412a4669ea0d5af2a57f85b1655fba3625fbbd33c956f3f9')
-b2sums=('bead0b9514725560a4fb738c4b1e14b148bf888cc82e0d7611cb6c494ed97a7e366b57f233095372c26a7bd614655bd58a6505202910de421561b540c94d5cca'
+b2sums=('6f7aa503eda879cd273f36a16eec702b4da9267a60835cb5acbbfe355a83b7ffa3e93eb6483c9946c1d0bcd845a8f574470e7b84c66f793d0d0c6c9883ad52ee'
         'SKIP'
         '83c16b77c1737b2b59b60302be22b63e53026a366799fd97fe3c03b86756063d1b9689d5ffc7c793b40db55bdb79a5b6d72a17e0c8aa32364d6e639cf7ad3ce0')
 validpgpkeys=('F04DF50737AC1A884C4B3D718380596DA6E59C91') # ALSA Release Team (Package Signing Key v1) <release at alsa-project.org>
@@ -47,26 +50,27 @@
 
 package_alsa-plugins() {
   depends=(glibc libasound.so)
-  optdepends=('dbus: for maemo plugin'
-              'jack: for pcm_jack plugin'
-              'libavtp: for pcm_aaf plugin'
-              'libsamplerate: for rate_samplerate plugin'
-              'libpulse: for conf_pulse, ctl_pulse and pcm_pulse plugins'
-              'speexdsp: for pcm_speex and rate_speexrate plugins'
-              'ffmpeg: for pcm_a52 plugin')
+  optdepends=(
+    'dbus: for maemo plugin'
+    'ffmpeg: for pcm_a52 plugin'
+    'jack: for pcm_jack plugin'
+    'libavtp: for pcm_aaf plugin'
+    'libsamplerate: for rate_samplerate plugin'
+    'libpulse: for conf_pulse, ctl_pulse and pcm_pulse plugins'
+    'speexdsp: for pcm_speex and rate_speexrate plugins'
+  )
 
   cd $pkgbase-$pkgver
   make DESTDIR="$pkgdir" install
-  install -Dt "$pkgdir/usr/share/doc/$pkgbase" -m644 doc/README* doc/*.txt
+  install -vDm 644 doc/README* doc/*.txt -t "$pkgdir/usr/share/doc/$pkgbase"
 
   # 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"
+  rm -v "$pkgdir/etc/alsa/conf.d/98-maemo.conf"
 
   # make a proper off-by-default config template out of the example file
-  mv -v "${pkgdir}/etc/alsa/conf.d/99-pulseaudio-default.conf.example" \
-    "${pkgdir}/usr/share/alsa/alsa.conf.d/99-pulseaudio-default.conf"
+  mv -v "$pkgdir/etc/alsa/conf.d/99-pulseaudio-default.conf.example" "$pkgdir/usr/share/alsa/alsa.conf.d/99-pulseaudio-default.conf"
 }
 
 package_pulseaudio-alsa() {
@@ -73,8 +77,8 @@
   pkgdesc="ALSA Configuration for PulseAudio"
   depends=('alsa-plugins>=1.2.2-2' pulseaudio)
 
-  mkdir -p "${pkgdir}/etc/alsa/conf.d"
-  ln -st "${pkgdir}/etc/alsa/conf.d" /usr/share/alsa/alsa.conf.d/99-pulseaudio-default.conf
+  mkdir -p "$pkgdir/etc/alsa/conf.d"
+  ln -st "$pkgdir/etc/alsa/conf.d" /usr/share/alsa/alsa.conf.d/99-pulseaudio-default.conf
 }
 
 # vim:set sw=2 et:



More information about the arch-commits mailing list