[arch-commits] Commit in (8 files)
Daniel Wallace
dwallace at nymeria.archlinux.org
Mon Feb 25 22:06:15 UTC 2013
Date: Monday, February 25, 2013 @ 23:06:14
Author: dwallace
Revision: 84891
re make steam
Added:
steam/
steam/repos/
steam/trunk/
steam/trunk/PKGBUILD
steam/trunk/alsa_sdl_audiodriver.patch
steam/trunk/lib32-flashplugin-path.patch
steam/trunk/steam.install
Deleted:
steam/
------------------------------+
PKGBUILD | 53 +++++++++++++++++++++++++++++++++++++++++
alsa_sdl_audiodriver.patch | 14 ++++++++++
lib32-flashplugin-path.patch | 10 +++++++
steam.install | 26 ++++++++++++++++++++
4 files changed, 103 insertions(+)
Added: steam/trunk/PKGBUILD
===================================================================
--- steam/trunk/PKGBUILD (rev 0)
+++ steam/trunk/PKGBUILD 2013-02-25 22:06:14 UTC (rev 84891)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com>
+# Contributor: K900 <k0009000 at gmail.com>
+pkgname=steam
+pkgver=1.0.0.34
+pkgrel=1
+pkgdesc="Digital distribution client bootstrap package"
+arch=("i686" "x86_64")
+url="http://steampowered.com/"
+license=('custom')
+depends=(
+ 'bash' 'desktop-file-utils' 'hicolor-icon-theme' 'curl'
+ 'dbus' 'freetype2' 'gdk-pixbuf2' 'ttf-font' 'zenity'
+ )
+if [[ "$CARCH" == "x86_64" ]]; then
+ depends+=(lib32-mesa lib32-gcc-libs lib32-libx11)
+ optdepends=(
+ 'lib32-ati-dri: for open source ATI driver users'
+ 'lib32-catalyst-utils: for AMD Catalyst users'
+ 'lib32-intel-dri: for open source Intel driver users'
+ 'lib32-nouveau-dri: for Nouveau users'
+ 'lib32-nvidia-utils: for NVIDIA proprietary blob users'
+ 'lib32-flashplugin: for flash video'
+ )
+build() {
+ patch -d "$pkgname" -Np1 -i "$srcdir/lib32-flashplugin-path.patch"
+# patch -d "$pkgname" -Np1 -i "$srcdir/alsa_sdl_audiodriver.patch"
+}
+else
+ optdepends=('flashplugin: for flash videos')
+#build() {
+# patch -d "$pkgname" -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'
+ 'alsa_sdl_audiodriver.patch')
+md5sums=('4ff9bf72b36a460d65ab3e57852f9bac'
+ '1d83a1df55d677f35ce415e0750f4448'
+ 'ac0e03d70f1101331598b2b32ed9bac3')
+
+package() {
+
+ # Install license
+ make -C "$pkgname" DESTDIR="$pkgdir" install
+
+ install -Dm644 "$pkgdir/usr/share/doc/steam/steam_install_agreement.txt" "$pkgdir/usr/share/licenses/steam/LICENSE"
+
+ # blank steamdeps because apt-get
+ ln -sf /bin/true "$pkgdir/usr/bin/steamdeps"
+}
+#vim: set ft=PKGBUILD sw=2 ts=2 et
Property changes on: steam/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: steam/trunk/alsa_sdl_audiodriver.patch
===================================================================
--- steam/trunk/alsa_sdl_audiodriver.patch (rev 0)
+++ steam/trunk/alsa_sdl_audiodriver.patch 2013-02-25 22:06:14 UTC (rev 84891)
@@ -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 ! pulseaudio --check &>/dev/null; then
++ export SDL_AUDIODRIVER=alsa
++fi
++
+ function show_message()
+ {
+ style=$1
Added: steam/trunk/lib32-flashplugin-path.patch
===================================================================
--- steam/trunk/lib32-flashplugin-path.patch (rev 0)
+++ steam/trunk/lib32-flashplugin-path.patch 2013-02-25 22:06:14 UTC (rev 84891)
@@ -0,0 +1,10 @@
+--- a/steam 2013-02-14 14:03:49.000000000 -0500
++++ b/steam 2013-02-14 15:48:06.766152022 -0500
+@@ -51,6 +51,7 @@
+
+ function setup_variables()
+ {
++ MOZ_PLUGIN_PATH="/usr/lib32/mozilla/plugins/"
+ STEAMPACKAGE="${0##*/}"
+ STEAMCONFIG=~/.steam
+ STEAMDATALINK="$STEAMCONFIG/$STEAMPACKAGE"
Added: steam/trunk/steam.install
===================================================================
--- steam/trunk/steam.install (rev 0)
+++ steam/trunk/steam.install 2013-02-25 22:06:14 UTC (rev 84891)
@@ -0,0 +1,26 @@
+post_install() {
+ update-desktop-database -q
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+ echo "if you are running x86_64, you need the lib32 opt depends for your driver"
+ echo
+ echo " if you are having problems with the steam license, remove .steam and .local/share/Steam"
+}
+
+pre_install(){
+ update-desktop-database -q
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_upgrade(){
+ pre_install $1
+}
+
+post_remove() {
+ pre_install $1 removing
+}
+
More information about the arch-commits
mailing list