[arch-commits] Commit in alsa-utils/repos (6 files)

Anatol Pomozov anatolik at archlinux.org
Fri Apr 1 19:49:26 UTC 2016


    Date: Friday, April 1, 2016 @ 21:49:26
  Author: anatolik
Revision: 263735

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  alsa-utils/repos/testing-i686/
  alsa-utils/repos/testing-i686/90alsa
    (from rev 263734, alsa-utils/trunk/90alsa)
  alsa-utils/repos/testing-i686/PKGBUILD
    (from rev 263734, alsa-utils/trunk/PKGBUILD)
  alsa-utils/repos/testing-x86_64/
  alsa-utils/repos/testing-x86_64/90alsa
    (from rev 263734, alsa-utils/trunk/90alsa)
  alsa-utils/repos/testing-x86_64/PKGBUILD
    (from rev 263734, alsa-utils/trunk/PKGBUILD)

-------------------------+
 testing-i686/90alsa     |   13 +++++++++++++
 testing-i686/PKGBUILD   |   42 ++++++++++++++++++++++++++++++++++++++++++
 testing-x86_64/90alsa   |   13 +++++++++++++
 testing-x86_64/PKGBUILD |   42 ++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 110 insertions(+)

Copied: alsa-utils/repos/testing-i686/90alsa (from rev 263734, alsa-utils/trunk/90alsa)
===================================================================
--- testing-i686/90alsa	                        (rev 0)
+++ testing-i686/90alsa	2016-04-01 19:49:26 UTC (rev 263735)
@@ -0,0 +1,13 @@
+#!/bin/sh
+#
+# 90alsa: suspend/wakeup ALSA devices
+
+case "$1" in
+hibernate|suspend)
+;;
+thaw|resume)
+aplay -d 1 /dev/zero
+;;
+*) exit $NA
+;;
+esac

Copied: alsa-utils/repos/testing-i686/PKGBUILD (from rev 263734, alsa-utils/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2016-04-01 19:49:26 UTC (rev 263735)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
+# Contributor: judd <jvinet at zeroflux.org>
+
+pkgname=alsa-utils
+pkgver=1.1.1
+pkgrel=1
+pkgdesc="An alternative implementation of Linux sound support"
+arch=('i686' 'x86_64')
+url="http://www.alsa-project.org"
+#can not use >=$pkgver due to use of letters in alsa-lib update versioning
+depends=("alsa-lib>1.0.24" 'pciutils' 'ncurses' 'psmisc' 'libsamplerate' 'fftw')
+makedepends=('xmlto' 'docbook-xsl')
+license=('GPL')
+source=(ftp://ftp.alsa-project.org/pub/utils/$pkgname-${pkgver}.tar.bz2
+        90alsa)
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  ./configure --prefix=/usr --disable-alsaconf --sbindir=/usr/bin \
+    --with-udev-rules-dir=/usr/lib/udev/rules.d \
+    --with-systemdsystemunitdir=/usr/lib/systemd/system
+  make
+  # fix udev rules genaration
+  cd alsactl
+  make 90-alsa-restore.rules
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make DESTDIR=${pkgdir} install
+  install -D -m755 ../90alsa ${pkgdir}/etc/pm/sleep.d/90alsa
+
+  # install alsa udev rule file
+  install -D -m644 alsactl/90-alsa-restore.rules \
+          ${pkgdir}/usr/lib/udev/rules.d/90-alsa-restore.rules
+
+  # dir where to save ALSA state
+  install -d ${pkgdir}/var/lib/alsa
+}
+md5sums=('f8d00ad5fba757b4c3735d066cc288e2'
+         '529216f6a46e61a546640e08ea7a0879')

Copied: alsa-utils/repos/testing-x86_64/90alsa (from rev 263734, alsa-utils/trunk/90alsa)
===================================================================
--- testing-x86_64/90alsa	                        (rev 0)
+++ testing-x86_64/90alsa	2016-04-01 19:49:26 UTC (rev 263735)
@@ -0,0 +1,13 @@
+#!/bin/sh
+#
+# 90alsa: suspend/wakeup ALSA devices
+
+case "$1" in
+hibernate|suspend)
+;;
+thaw|resume)
+aplay -d 1 /dev/zero
+;;
+*) exit $NA
+;;
+esac

Copied: alsa-utils/repos/testing-x86_64/PKGBUILD (from rev 263734, alsa-utils/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2016-04-01 19:49:26 UTC (rev 263735)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
+# Contributor: judd <jvinet at zeroflux.org>
+
+pkgname=alsa-utils
+pkgver=1.1.1
+pkgrel=1
+pkgdesc="An alternative implementation of Linux sound support"
+arch=('i686' 'x86_64')
+url="http://www.alsa-project.org"
+#can not use >=$pkgver due to use of letters in alsa-lib update versioning
+depends=("alsa-lib>1.0.24" 'pciutils' 'ncurses' 'psmisc' 'libsamplerate' 'fftw')
+makedepends=('xmlto' 'docbook-xsl')
+license=('GPL')
+source=(ftp://ftp.alsa-project.org/pub/utils/$pkgname-${pkgver}.tar.bz2
+        90alsa)
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  ./configure --prefix=/usr --disable-alsaconf --sbindir=/usr/bin \
+    --with-udev-rules-dir=/usr/lib/udev/rules.d \
+    --with-systemdsystemunitdir=/usr/lib/systemd/system
+  make
+  # fix udev rules genaration
+  cd alsactl
+  make 90-alsa-restore.rules
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make DESTDIR=${pkgdir} install
+  install -D -m755 ../90alsa ${pkgdir}/etc/pm/sleep.d/90alsa
+
+  # install alsa udev rule file
+  install -D -m644 alsactl/90-alsa-restore.rules \
+          ${pkgdir}/usr/lib/udev/rules.d/90-alsa-restore.rules
+
+  # dir where to save ALSA state
+  install -d ${pkgdir}/var/lib/alsa
+}
+md5sums=('f8d00ad5fba757b4c3735d066cc288e2'
+         '529216f6a46e61a546640e08ea7a0879')



More information about the arch-commits mailing list