Date: Thursday, June 9, 2022 @ 09:31:54
  Author: dvzrv
Revision: 447825

archrelease: copy trunk to testing-x86_64

Added:
  alsa-lib/repos/testing-x86_64/PKGBUILD
    (from rev 447824, alsa-lib/trunk/PKGBUILD)
  alsa-lib/repos/testing-x86_64/alsa-lib.install
    (from rev 447824, alsa-lib/trunk/alsa-lib.install)
Deleted:
  alsa-lib/repos/testing-x86_64/PKGBUILD
  alsa-lib/repos/testing-x86_64/alsa-lib.install

------------------+
 PKGBUILD         |  103 ++++++++++++++++++++++++++++-------------------------
 alsa-lib.install |   14 +++----
 2 files changed, 62 insertions(+), 55 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2022-06-09 09:31:48 UTC (rev 447824)
+++ PKGBUILD    2022-06-09 09:31:54 UTC (rev 447825)
@@ -1,48 +0,0 @@
-# Maintainer: David Runge <dv...@archlinux.org>
-# Contributor: judd <jvi...@zeroflux.org>
-
-pkgname=alsa-lib
-pkgver=1.2.7
-pkgrel=1
-pkgdesc="An alternative implementation of Linux sound support"
-arch=(x86_64)
-url="https://www.alsa-project.org";
-license=(LGPL2.1)
-depends=(glibc alsa-topology-conf alsa-ucm-conf)
-provides=(libasound.so libatopology.so)
-install=$pkgname.install
-options=(debug)
-source=(https://www.alsa-project.org/files/pub/lib/$pkgname-$pkgver.tar.bz2{,.sig})
-sha512sums=('6bd48b07d659fddad792876326a93b2a549ce94bc191131670365599c31f81f737bfd8e94dec6fe296bc5d86df2e3e381bbb7a694d24fe7e8e501f1c994ed084'
-            'SKIP')
-b2sums=('a3bfbbfcf31625be0749218b3c02b307da9077d4bd82e9f980b8e3d6f9275f3a3f3c8158bb28fb1c61724a35e794eb3f6cc8872202ff42fb847725058109087e'
-        'SKIP')
-validpgpkeys=('F04DF50737AC1A884C4B3D718380596DA6E59C91') # ALSA Release Team 
(Package Signing Key v1) <rele...@alsa-project.org>
-
-prepare() {
-  cd $pkgname-$pkgver
-  autoreconf -fiv
-}
-
-build() {
-  # -flto=auto is not supported: 
https://github.com/alsa-project/alsa-lib/issues/110
-  CFLAGS+=" -flto-partition=none"
-  cd $pkgname-$pkgver
-  ./configure \
-    --prefix=/usr \
-    --without-debug
-  # prevent excessive overlinking due to libtool
-  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
-  make
-}
-
-check() {
-  export LD_LIBRARY_PATH="$pkgname-$pkgver/src/.libs/:$LD_LIBRARY_PATH"
-  make -k check -C $pkgname-$pkgver
-}
-
-package() {
-  cd $pkgname-$pkgver
-  make DESTDIR="$pkgdir" install
-  install -vDm 644 {MEMORY-LEAK,TODO,NOTES,ChangeLog,doc/asoundrc.txt} -t 
"$pkgdir/usr/share/doc/$pkgname/"
-}

Copied: alsa-lib/repos/testing-x86_64/PKGBUILD (from rev 447824, 
alsa-lib/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2022-06-09 09:31:54 UTC (rev 447825)
@@ -0,0 +1,55 @@
+# Maintainer: David Runge <dv...@archlinux.org>
+# Contributor: judd <jvi...@zeroflux.org>
+
+pkgname=alsa-lib
+pkgver=1.2.7
+pkgrel=2
+pkgdesc="An alternative implementation of Linux sound support"
+arch=(x86_64)
+url="https://www.alsa-project.org";
+license=(LGPL2.1)
+depends=(glibc alsa-topology-conf alsa-ucm-conf)
+provides=(libasound.so libatopology.so)
+install=$pkgname.install
+options=(debug)
+source=(
+  https://www.alsa-project.org/files/pub/lib/$pkgname-$pkgver.tar.bz2{,.sig}
+  
$pkgname-1.2.7-fix_decoding_for_older_hardware.patch::https://github.com/alsa-project/alsa-lib/commit/89ee61914756a6f8bcafbad7fb1eca674b0a012f.patch
+)
+sha512sums=('6bd48b07d659fddad792876326a93b2a549ce94bc191131670365599c31f81f737bfd8e94dec6fe296bc5d86df2e3e381bbb7a694d24fe7e8e501f1c994ed084'
+            'SKIP'
+            
'50b9036e58720ba7e726a73d94d99dc557c777682f3d977e51a5fd31cb3b54dfd33ab9567546ba59fa7bfa8c00c6db5c33d6b04fd1c6e27679fde22435636390')
+b2sums=('a3bfbbfcf31625be0749218b3c02b307da9077d4bd82e9f980b8e3d6f9275f3a3f3c8158bb28fb1c61724a35e794eb3f6cc8872202ff42fb847725058109087e'
+        'SKIP'
+        
'46328cbaac187222b57efc86e10db67d58499a103affbadbe8b60b5c3b226bd18702c7b5ffb80dc4ced5c0e3e9dacdb447d15db5afb1a50d9a26e31e7426adf5')
+validpgpkeys=('F04DF50737AC1A884C4B3D718380596DA6E59C91') # ALSA Release Team 
(Package Signing Key v1) <rele...@alsa-project.org>
+
+prepare() {
+  # fix issues with older hardware: 
https://github.com/alsa-project/alsa-lib/issues/233
+  patch -Np1 -d $pkgname-$pkgver -i 
../$pkgname-1.2.7-fix_decoding_for_older_hardware.patch
+  cd $pkgname-$pkgver
+  autoreconf -fiv
+}
+
+build() {
+  # -flto=auto is not supported: 
https://github.com/alsa-project/alsa-lib/issues/110
+  CFLAGS+=" -flto-partition=none"
+  cd $pkgname-$pkgver
+  ./configure \
+    --prefix=/usr \
+    --without-debug
+  # prevent excessive overlinking due to libtool
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+check() {
+  export LD_LIBRARY_PATH="$pkgname-$pkgver/src/.libs/:$LD_LIBRARY_PATH"
+  make -k check -C $pkgname-$pkgver
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+  install -vDm 644 {MEMORY-LEAK,TODO,NOTES,ChangeLog,doc/asoundrc.txt} -t 
"$pkgdir/usr/share/doc/$pkgname/"
+}

Deleted: alsa-lib.install
===================================================================
--- alsa-lib.install    2022-06-09 09:31:48 UTC (rev 447824)
+++ alsa-lib.install    2022-06-09 09:31:54 UTC (rev 447825)
@@ -1,7 +0,0 @@
-# arg 1:  the new package version
-# arg 2:  the old package version
-post_upgrade() {
-  if (( $(vercmp "$2" '1.2.5-1') < 0 )); then
-    printf "WARNING: Non-backwards compatible changes to ALSA require 
restarting of audio engines (e.g. pulseaudio or pipewire) using it.\n"
-  fi
-}

Copied: alsa-lib/repos/testing-x86_64/alsa-lib.install (from rev 447824, 
alsa-lib/trunk/alsa-lib.install)
===================================================================
--- alsa-lib.install                            (rev 0)
+++ alsa-lib.install    2022-06-09 09:31:54 UTC (rev 447825)
@@ -0,0 +1,7 @@
+# arg 1:  the new package version
+# arg 2:  the old package version
+post_upgrade() {
+  if (( $(vercmp "$2" '1.2.5-1') < 0 )); then
+    printf "WARNING: Non-backwards compatible changes to ALSA require 
restarting of audio engines (e.g. pulseaudio or pipewire) using it.\n"
+  fi
+}

Reply via email to