[arch-commits] Commit in steam/trunk (PKGBUILD alsa_sdl_audiodriver.patch)

Daniel Wallace dwallace at nymeria.archlinux.org
Mon Feb 18 04:39:29 UTC 2013


    Date: Monday, February 18, 2013 @ 05:39:29
  Author: dwallace
Revision: 84396

upgpkg: steam 1.0.0.28-3

upgpkg: steam 1.0.0.28-3 SDL_AUDIODRIVER=alsa test

Added:
  steam/trunk/alsa_sdl_audiodriver.patch
Modified:
  steam/trunk/PKGBUILD

----------------------------+
 PKGBUILD                   |   12 +++++++++---
 alsa_sdl_audiodriver.patch |   14 ++++++++++++++
 2 files changed, 23 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-02-17 22:49:50 UTC (rev 84395)
+++ PKGBUILD	2013-02-18 04:39:29 UTC (rev 84396)
@@ -3,7 +3,7 @@
 # Contributor: K900 <k0009000 at gmail.com>
 pkgname=steam
 pkgver=1.0.0.28
-pkgrel=2
+pkgrel=3
 pkgdesc="Digital distribution client - open beta - bootstrap package"
 arch=("i686" "x86_64")
 url="http://steampowered.com/"
@@ -24,15 +24,21 @@
   )
 build() {
     patch -d "$pkgname-$pkgver" -Np1 -i "$srcdir/lib32-flashplugin-path.patch"
+    patch -d "$pkgname-$pkgver" -Np1 -i "$srcdir/alsa_sdl_audiodriver.patch"
 }
 else
     optdepends=('flashplugin: for flash videos')
+build() {
+    patch -d "$pkgname-$pkgver" -Np1 -i "$srcdir/alsa_sdl_audiodriver.patch"
+}
 fi
 install=steam.install
 source=("http://repo.steampowered.com/$pkgname/pool/$pkgname/s/$pkgname/${pkgname}_$pkgver.tar.gz"
-        'lib32-flashplugin-path.patch')
+        'lib32-flashplugin-path.patch'
+        'alsa_sdl_audiodriver.patch')
 md5sums=('5d7b7e12dd0d513d3f7191872fa596cd'
-         '1d83a1df55d677f35ce415e0750f4448')
+         '1d83a1df55d677f35ce415e0750f4448'
+         'd47c1acf365336290eaba8ca845248a4')
 package() {
 
   # Install license

Added: alsa_sdl_audiodriver.patch
===================================================================
--- alsa_sdl_audiodriver.patch	                        (rev 0)
+++ alsa_sdl_audiodriver.patch	2013-02-18 04:39:29 UTC (rev 84396)
@@ -0,0 +1,14 @@
+--- a/steam	2013-02-15 14:43:40.000000000 -0500
++++ b/steam	2013-02-17 23:26:31.951179106 -0500
+@@ -17,6 +17,11 @@
+ # Set up domain for script localization
+ export TEXTDOMAIN=steam
+ 
++# check if pulseaudio is installed and if it isn't, use alsa for SDL_AUDIODRIVER
++if ! pacman -T pulseaudio &>/dev/null; then
++    export SDL_AUDIODRIVER=alsa
++fi
++
+ function show_message()
+ {
+ 	style=$1




More information about the arch-commits mailing list