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

Evangelos Foutras foutrelis at archlinux.org
Mon Sep 7 08:52:19 UTC 2015


    Date: Monday, September 7, 2015 @ 10:52:19
  Author: foutrelis
Revision: 245433

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

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

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

Copied: alsa-utils/repos/staging-i686/90alsa (from rev 245432, alsa-utils/trunk/90alsa)
===================================================================
--- staging-i686/90alsa	                        (rev 0)
+++ staging-i686/90alsa	2015-09-07 08:52:19 UTC (rev 245433)
@@ -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/staging-i686/PKGBUILD (from rev 245432, alsa-utils/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2015-09-07 08:52:19 UTC (rev 245433)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
+# Contributor: judd <jvinet at zeroflux.org>
+
+pkgname=alsa-utils
+pkgver=1.0.29
+pkgrel=2
+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')
+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=('6b289bf874c4c9a63f4b3973093dd404'
+         '529216f6a46e61a546640e08ea7a0879')

Copied: alsa-utils/repos/staging-x86_64/90alsa (from rev 245432, alsa-utils/trunk/90alsa)
===================================================================
--- staging-x86_64/90alsa	                        (rev 0)
+++ staging-x86_64/90alsa	2015-09-07 08:52:19 UTC (rev 245433)
@@ -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/staging-x86_64/PKGBUILD (from rev 245432, alsa-utils/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2015-09-07 08:52:19 UTC (rev 245433)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
+# Contributor: judd <jvinet at zeroflux.org>
+
+pkgname=alsa-utils
+pkgver=1.0.29
+pkgrel=2
+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')
+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=('6b289bf874c4c9a63f4b3973093dd404'
+         '529216f6a46e61a546640e08ea7a0879')



More information about the arch-commits mailing list