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

Anatol Pomozov anatolik at archlinux.org
Wed Mar 4 17:03:18 UTC 2015


    Date: Wednesday, March 4, 2015 @ 18:03:17
  Author: anatolik
Revision: 232845

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

Added:
  alsa-utils/repos/testing-i686/
  alsa-utils/repos/testing-i686/90alsa
    (from rev 232844, alsa-utils/trunk/90alsa)
  alsa-utils/repos/testing-i686/PKGBUILD
    (from rev 232844, alsa-utils/trunk/PKGBUILD)
  alsa-utils/repos/testing-x86_64/
  alsa-utils/repos/testing-x86_64/90alsa
    (from rev 232844, alsa-utils/trunk/90alsa)
  alsa-utils/repos/testing-x86_64/PKGBUILD
    (from rev 232844, 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 232844, alsa-utils/trunk/90alsa)
===================================================================
--- testing-i686/90alsa	                        (rev 0)
+++ testing-i686/90alsa	2015-03-04 17:03:17 UTC (rev 232845)
@@ -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 232844, alsa-utils/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2015-03-04 17:03:17 UTC (rev 232845)
@@ -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=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')
+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/testing-x86_64/90alsa (from rev 232844, alsa-utils/trunk/90alsa)
===================================================================
--- testing-x86_64/90alsa	                        (rev 0)
+++ testing-x86_64/90alsa	2015-03-04 17:03:17 UTC (rev 232845)
@@ -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 232844, alsa-utils/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2015-03-04 17:03:17 UTC (rev 232845)
@@ -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=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')
+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