Date: Monday, February 18, 2013 @ 05:44:05 Author: dwallace Revision: 84398
archrelease: copy trunk to multilib-testing-x86_64 Added: steam/repos/multilib-testing-x86_64/ steam/repos/multilib-testing-x86_64/PKGBUILD (from rev 84397, steam/trunk/PKGBUILD) steam/repos/multilib-testing-x86_64/alsa_sdl_audiodriver.patch (from rev 84397, steam/trunk/alsa_sdl_audiodriver.patch) steam/repos/multilib-testing-x86_64/lib32-flashplugin-path.patch (from rev 84397, steam/trunk/lib32-flashplugin-path.patch) steam/repos/multilib-testing-x86_64/steam.install (from rev 84397, steam/trunk/steam.install) ------------------------------+ PKGBUILD | 52 +++++++++++++++++++++++++++++++++++++++++ alsa_sdl_audiodriver.patch | 14 +++++++++++ lib32-flashplugin-path.patch | 10 +++++++ steam.install | 26 ++++++++++++++++++++ 4 files changed, 102 insertions(+) Copied: steam/repos/multilib-testing-x86_64/PKGBUILD (from rev 84397, steam/trunk/PKGBUILD) =================================================================== --- multilib-testing-x86_64/PKGBUILD (rev 0) +++ multilib-testing-x86_64/PKGBUILD 2013-02-18 04:44:05 UTC (rev 84398) @@ -0,0 +1,52 @@ +# $Id$ +# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com> +# Contributor: K900 <k0009...@gmail.com> +pkgname=steam +pkgver=1.0.0.28 +pkgrel=3 +pkgdesc="Digital distribution client - open beta - 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-libgl 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-$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' + 'alsa_sdl_audiodriver.patch') +md5sums=('5d7b7e12dd0d513d3f7191872fa596cd' + '1d83a1df55d677f35ce415e0750f4448' + 'd47c1acf365336290eaba8ca845248a4') +package() { + + # Install license + make -C $pkgname-$pkgver 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/multilib-testing-x86_64/alsa_sdl_audiodriver.patch (from rev 84397, steam/trunk/alsa_sdl_audiodriver.patch) =================================================================== --- multilib-testing-x86_64/alsa_sdl_audiodriver.patch (rev 0) +++ multilib-testing-x86_64/alsa_sdl_audiodriver.patch 2013-02-18 04:44:05 UTC (rev 84398) @@ -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 Copied: steam/repos/multilib-testing-x86_64/lib32-flashplugin-path.patch (from rev 84397, steam/trunk/lib32-flashplugin-path.patch) =================================================================== --- multilib-testing-x86_64/lib32-flashplugin-path.patch (rev 0) +++ multilib-testing-x86_64/lib32-flashplugin-path.patch 2013-02-18 04:44:05 UTC (rev 84398) @@ -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/multilib-testing-x86_64/steam.install (from rev 84397, steam/trunk/steam.install) =================================================================== --- multilib-testing-x86_64/steam.install (rev 0) +++ multilib-testing-x86_64/steam.install 2013-02-18 04:44:05 UTC (rev 84398) @@ -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 +} +