[arch-commits] Commit in steam/repos (10 files)
Daniel Wallace
dwallace at nymeria.archlinux.org
Mon Feb 25 22:09:37 UTC 2013
Date: Monday, February 25, 2013 @ 23:09:37
Author: dwallace
Revision: 84892
archrelease: copy trunk to community-i686, community-x86_64
Added:
steam/repos/community-i686/
steam/repos/community-i686/PKGBUILD
(from rev 84891, steam/trunk/PKGBUILD)
steam/repos/community-i686/alsa_sdl_audiodriver.patch
(from rev 84891, steam/trunk/alsa_sdl_audiodriver.patch)
steam/repos/community-i686/lib32-flashplugin-path.patch
(from rev 84891, steam/trunk/lib32-flashplugin-path.patch)
steam/repos/community-i686/steam.install
(from rev 84891, steam/trunk/steam.install)
steam/repos/community-x86_64/
steam/repos/community-x86_64/PKGBUILD
(from rev 84891, steam/trunk/PKGBUILD)
steam/repos/community-x86_64/alsa_sdl_audiodriver.patch
(from rev 84891, steam/trunk/alsa_sdl_audiodriver.patch)
steam/repos/community-x86_64/lib32-flashplugin-path.patch
(from rev 84891, steam/trunk/lib32-flashplugin-path.patch)
steam/repos/community-x86_64/steam.install
(from rev 84891, steam/trunk/steam.install)
-----------------------------------------------+
community-i686/PKGBUILD | 53 ++++++++++++++++++++++++
community-i686/alsa_sdl_audiodriver.patch | 14 ++++++
community-i686/lib32-flashplugin-path.patch | 10 ++++
community-i686/steam.install | 26 +++++++++++
community-x86_64/PKGBUILD | 53 ++++++++++++++++++++++++
community-x86_64/alsa_sdl_audiodriver.patch | 14 ++++++
community-x86_64/lib32-flashplugin-path.patch | 10 ++++
community-x86_64/steam.install | 26 +++++++++++
8 files changed, 206 insertions(+)
Copied: steam/repos/community-i686/PKGBUILD (from rev 84891, steam/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2013-02-25 22:09:37 UTC (rev 84892)
@@ -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
Copied: steam/repos/community-i686/alsa_sdl_audiodriver.patch (from rev 84891, steam/trunk/alsa_sdl_audiodriver.patch)
===================================================================
--- community-i686/alsa_sdl_audiodriver.patch (rev 0)
+++ community-i686/alsa_sdl_audiodriver.patch 2013-02-25 22:09:37 UTC (rev 84892)
@@ -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
Copied: steam/repos/community-i686/lib32-flashplugin-path.patch (from rev 84891, steam/trunk/lib32-flashplugin-path.patch)
===================================================================
--- community-i686/lib32-flashplugin-path.patch (rev 0)
+++ community-i686/lib32-flashplugin-path.patch 2013-02-25 22:09:37 UTC (rev 84892)
@@ -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"
Copied: steam/repos/community-i686/steam.install (from rev 84891, steam/trunk/steam.install)
===================================================================
--- community-i686/steam.install (rev 0)
+++ community-i686/steam.install 2013-02-25 22:09:37 UTC (rev 84892)
@@ -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
+}
+
Copied: steam/repos/community-x86_64/PKGBUILD (from rev 84891, steam/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2013-02-25 22:09:37 UTC (rev 84892)
@@ -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
Copied: steam/repos/community-x86_64/alsa_sdl_audiodriver.patch (from rev 84891, steam/trunk/alsa_sdl_audiodriver.patch)
===================================================================
--- community-x86_64/alsa_sdl_audiodriver.patch (rev 0)
+++ community-x86_64/alsa_sdl_audiodriver.patch 2013-02-25 22:09:37 UTC (rev 84892)
@@ -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
Copied: steam/repos/community-x86_64/lib32-flashplugin-path.patch (from rev 84891, steam/trunk/lib32-flashplugin-path.patch)
===================================================================
--- community-x86_64/lib32-flashplugin-path.patch (rev 0)
+++ community-x86_64/lib32-flashplugin-path.patch 2013-02-25 22:09:37 UTC (rev 84892)
@@ -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"
Copied: steam/repos/community-x86_64/steam.install (from rev 84891, steam/trunk/steam.install)
===================================================================
--- community-x86_64/steam.install (rev 0)
+++ community-x86_64/steam.install 2013-02-25 22:09:37 UTC (rev 84892)
@@ -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