[arch-commits] Commit in alsa-tools/repos (4 files)

Ray Rashif schiv at nymeria.archlinux.org
Sun Jul 28 20:16:17 UTC 2013


    Date: Sunday, July 28, 2013 @ 22:16:17
  Author: schiv
Revision: 191643

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

Added:
  alsa-tools/repos/extra-i686/
  alsa-tools/repos/extra-i686/PKGBUILD
    (from rev 191642, alsa-tools/trunk/PKGBUILD)
  alsa-tools/repos/extra-x86_64/
  alsa-tools/repos/extra-x86_64/PKGBUILD
    (from rev 191642, alsa-tools/trunk/PKGBUILD)

-----------------------+
 extra-i686/PKGBUILD   |   77 ++++++++++++++++++++++++++++++++++++++++++++++++
 extra-x86_64/PKGBUILD |   77 ++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 154 insertions(+)

Copied: alsa-tools/repos/extra-i686/PKGBUILD (from rev 191642, alsa-tools/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD	                        (rev 0)
+++ extra-i686/PKGBUILD	2013-07-28 20:16:17 UTC (rev 191643)
@@ -0,0 +1,77 @@
+# Maintainer: Ray Rashif <schiv at archlinux.org>
+# Contributor: Limao Luo <luolimao+AUR at gmail.com>
+# Contributor: Sebastien Luttringer <seblu+arch at seblu.net>
+# Contributor: Jochen Immendœrfer <jochen.immendoerfer at gmail.com>
+
+pkgname=alsa-tools
+pkgver=1.0.27
+pkgrel=4
+arch=('i686' 'x86_64')
+url="http://alsa-project.org/"
+license=('GPL')
+depends=('gcc-libs' 'alsa-lib')
+makedepends=('fltk' 'gtk2' 'gtk3')
+optdepends=('fltk: hdspconf, hdspmixer'
+            'gtk2: other GUI tools'
+            'gtk3: hdajackretask'
+            'bash: couple of tools')
+provides=("$pkgname-emu10k1" "$pkgname-ice1712")
+options=('!libtool')
+source=("ftp://ftp.alsa-project.org/pub/tools/$pkgname-$pkgver.tar.bz2")
+md5sums=('1ea381d00a6069a98613aa7effa4cb51')
+
+_tools=("as10k1" "echomixer" "envy24control" "hdajackretask" "hda-verb"
+        "hdspconf" "hdsploader" "hdspmixer" "ld10k1" "mixartloader"
+        "pcxhrloader" "rmedigicontrol" "sb16_csp" "sbiload" "sscape_ctl"
+        "us428control" "usx2yloader" "vxloader")
+
+prepare() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  # qlo10k1 cannot be built; it depends on ld10k1
+  sed -i 's:ld10k1 qlo10k1 \\:ld10k1 \\:' Makefile
+
+  # hwmixvolume requires pyalsa, not currently in repos
+  sed -i 's:hwmixvolume hdajackretask :hdajackretask :' Makefile
+}
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  # not using upstream's global makefile as it's too clever
+  for i in ${_tools[@]}; do
+    if [ $i != sbiload ]; then
+      (
+      cd $i
+      ./configure --prefix=/usr --sbindir=/usr/bin
+      make
+      )
+    else
+      (
+      cd seq/sbiload
+      ./configure --prefix=/usr --sbindir=/usr/bin
+      make
+      )
+    fi
+  done
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  for i in ${_tools[@]}; do
+    if [ $i != sbiload ]; then
+      (
+      cd $i
+      make DESTDIR="$pkgdir" install
+      )
+    else
+      (
+      cd seq/sbiload
+      make DESTDIR="$pkgdir" install
+      )
+    fi
+  done
+}
+
+# vim:set ts=2 sw=2 et:

Copied: alsa-tools/repos/extra-x86_64/PKGBUILD (from rev 191642, alsa-tools/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2013-07-28 20:16:17 UTC (rev 191643)
@@ -0,0 +1,77 @@
+# Maintainer: Ray Rashif <schiv at archlinux.org>
+# Contributor: Limao Luo <luolimao+AUR at gmail.com>
+# Contributor: Sebastien Luttringer <seblu+arch at seblu.net>
+# Contributor: Jochen Immendœrfer <jochen.immendoerfer at gmail.com>
+
+pkgname=alsa-tools
+pkgver=1.0.27
+pkgrel=4
+arch=('i686' 'x86_64')
+url="http://alsa-project.org/"
+license=('GPL')
+depends=('gcc-libs' 'alsa-lib')
+makedepends=('fltk' 'gtk2' 'gtk3')
+optdepends=('fltk: hdspconf, hdspmixer'
+            'gtk2: other GUI tools'
+            'gtk3: hdajackretask'
+            'bash: couple of tools')
+provides=("$pkgname-emu10k1" "$pkgname-ice1712")
+options=('!libtool')
+source=("ftp://ftp.alsa-project.org/pub/tools/$pkgname-$pkgver.tar.bz2")
+md5sums=('1ea381d00a6069a98613aa7effa4cb51')
+
+_tools=("as10k1" "echomixer" "envy24control" "hdajackretask" "hda-verb"
+        "hdspconf" "hdsploader" "hdspmixer" "ld10k1" "mixartloader"
+        "pcxhrloader" "rmedigicontrol" "sb16_csp" "sbiload" "sscape_ctl"
+        "us428control" "usx2yloader" "vxloader")
+
+prepare() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  # qlo10k1 cannot be built; it depends on ld10k1
+  sed -i 's:ld10k1 qlo10k1 \\:ld10k1 \\:' Makefile
+
+  # hwmixvolume requires pyalsa, not currently in repos
+  sed -i 's:hwmixvolume hdajackretask :hdajackretask :' Makefile
+}
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  # not using upstream's global makefile as it's too clever
+  for i in ${_tools[@]}; do
+    if [ $i != sbiload ]; then
+      (
+      cd $i
+      ./configure --prefix=/usr --sbindir=/usr/bin
+      make
+      )
+    else
+      (
+      cd seq/sbiload
+      ./configure --prefix=/usr --sbindir=/usr/bin
+      make
+      )
+    fi
+  done
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  for i in ${_tools[@]}; do
+    if [ $i != sbiload ]; then
+      (
+      cd $i
+      make DESTDIR="$pkgdir" install
+      )
+    else
+      (
+      cd seq/sbiload
+      make DESTDIR="$pkgdir" install
+      )
+    fi
+  done
+}
+
+# vim:set ts=2 sw=2 et:




More information about the arch-commits mailing list