[arch-commits] Commit in alsa-lib/repos (3 files)

David Runge dvzrv at gemini.archlinux.org
Mon Dec 6 18:33:16 UTC 2021


    Date: Monday, December 6, 2021 @ 18:33:16
  Author: dvzrv
Revision: 430741

archrelease: copy trunk to testing-x86_64

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

------------------+
 PKGBUILD         |   44 ++++++++++++++++++++++++++++++++++++++++++++
 alsa-lib.install |    7 +++++++
 2 files changed, 51 insertions(+)

Copied: alsa-lib/repos/testing-x86_64/PKGBUILD (from rev 430740, alsa-lib/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2021-12-06 18:33:16 UTC (rev 430741)
@@ -0,0 +1,44 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Contributor: judd <jvinet at zeroflux.org>
+
+pkgname=alsa-lib
+pkgver=1.2.6
+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"
+source=("https://www.alsa-project.org/files/pub/lib/${pkgname}-${pkgver}.tar.bz2"{,.sig})
+sha512sums=('ae95718813abf62811fe44c6df2a8de5a1227da4b022c4dd97dd8e7c1001f48307ba36bf04208bdbe24e8a8eebf4ed5a59f40ee6750dcbe976678071c3f2f5b7'
+            'SKIP')
+b2sums=('84a7a20fbea4025f2ac08acefa3a9ea9d2737585c5d5f09c8df3b5ccb998eaa09a7ec16a019a40c4d3e3e4b5209b961f9da23ec57c0bb9824bade9a3a0dd4350'
+        'SKIP')
+validpgpkeys=('F04DF50737AC1A884C4B3D718380596DA6E59C91') # ALSA Release Team (Package Signing Key v1) <release at alsa-project.org>
+
+prepare() {
+  cd "$pkgname-$pkgver"
+  autoreconf -fiv
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  ./configure --prefix=/usr \
+              --without-debug
+  make
+}
+
+check() {
+  cd "$pkgname-$pkgver"
+  export LD_LIBRARY_PATH="${PWD}/src/.libs/:${LD_LIBRARY_PATH}"
+  make -k check
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
+  make DESTDIR="$pkgdir" install -C doc
+  install -vDm 644 {MEMORY-LEAK,TODO,NOTES,ChangeLog,doc/asoundrc.txt} -t "${pkgdir}/usr/share/doc/${pkgname}"
+}

Copied: alsa-lib/repos/testing-x86_64/alsa-lib.install (from rev 430740, alsa-lib/trunk/alsa-lib.install)
===================================================================
--- testing-x86_64/alsa-lib.install	                        (rev 0)
+++ testing-x86_64/alsa-lib.install	2021-12-06 18:33:16 UTC (rev 430741)
@@ -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
+}



More information about the arch-commits mailing list