[arch-commits] Commit in alsa-utils/repos (6 files)
Anatol Pomozov
anatolik at archlinux.org
Thu Mar 24 16:04:38 UTC 2016
Date: Thursday, March 24, 2016 @ 17:04:37
Author: anatolik
Revision: 262467
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
alsa-utils/repos/testing-i686/
alsa-utils/repos/testing-i686/90alsa
(from rev 262466, alsa-utils/trunk/90alsa)
alsa-utils/repos/testing-i686/PKGBUILD
(from rev 262466, alsa-utils/trunk/PKGBUILD)
alsa-utils/repos/testing-x86_64/
alsa-utils/repos/testing-x86_64/90alsa
(from rev 262466, alsa-utils/trunk/90alsa)
alsa-utils/repos/testing-x86_64/PKGBUILD
(from rev 262466, alsa-utils/trunk/PKGBUILD)
-------------------------+
testing-i686/90alsa | 13 +++++++++++
testing-i686/PKGBUILD | 50 ++++++++++++++++++++++++++++++++++++++++++++++
testing-x86_64/90alsa | 13 +++++++++++
testing-x86_64/PKGBUILD | 50 ++++++++++++++++++++++++++++++++++++++++++++++
4 files changed, 126 insertions(+)
Copied: alsa-utils/repos/testing-i686/90alsa (from rev 262466, alsa-utils/trunk/90alsa)
===================================================================
--- testing-i686/90alsa (rev 0)
+++ testing-i686/90alsa 2016-03-24 16:04:37 UTC (rev 262467)
@@ -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 262466, alsa-utils/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2016-03-24 16:04:37 UTC (rev 262467)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
+# Contributor: judd <jvinet at zeroflux.org>
+
+pkgname=alsa-utils
+pkgver=1.1.0
+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' 'fftw')
+makedepends=('xmlto' 'docbook-xsl')
+license=('GPL')
+source=(ftp://ftp.alsa-project.org/pub/utils/$pkgname-${pkgver}.tar.bz2
+ rename_bat.patch::'http://git.alsa-project.org/?p=alsa-utils.git;a=patch;h=9fa7f6fd0645f822793f8c51d3c3e090716108eb;hp=18d5f52a61d0df7cf28456e264d7ab72c15984fb'
+ 90alsa)
+
+prepare() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ patch -p1 < ../rename_bat.patch # FS#48654
+ autoreconf -f -i
+}
+
+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=('b9d6102fbbd0b68040bb77023ed30c0c'
+ '6274663a0ccc865139634eedc53e16f8'
+ '529216f6a46e61a546640e08ea7a0879')
Copied: alsa-utils/repos/testing-x86_64/90alsa (from rev 262466, alsa-utils/trunk/90alsa)
===================================================================
--- testing-x86_64/90alsa (rev 0)
+++ testing-x86_64/90alsa 2016-03-24 16:04:37 UTC (rev 262467)
@@ -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 262466, alsa-utils/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2016-03-24 16:04:37 UTC (rev 262467)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
+# Contributor: judd <jvinet at zeroflux.org>
+
+pkgname=alsa-utils
+pkgver=1.1.0
+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' 'fftw')
+makedepends=('xmlto' 'docbook-xsl')
+license=('GPL')
+source=(ftp://ftp.alsa-project.org/pub/utils/$pkgname-${pkgver}.tar.bz2
+ rename_bat.patch::'http://git.alsa-project.org/?p=alsa-utils.git;a=patch;h=9fa7f6fd0645f822793f8c51d3c3e090716108eb;hp=18d5f52a61d0df7cf28456e264d7ab72c15984fb'
+ 90alsa)
+
+prepare() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ patch -p1 < ../rename_bat.patch # FS#48654
+ autoreconf -f -i
+}
+
+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=('b9d6102fbbd0b68040bb77023ed30c0c'
+ '6274663a0ccc865139634eedc53e16f8'
+ '529216f6a46e61a546640e08ea7a0879')
More information about the arch-commits
mailing list