Date: Sunday, April 24, 2016 @ 17:12:19 Author: anthraxx Revision: 171695
archrelease: copy trunk to community-i686 Added: steam/repos/community-i686/80-steam-controller-permission.rules (from rev 171694, steam/trunk/80-steam-controller-permission.rules) steam/repos/community-i686/PKGBUILD (from rev 171694, steam/trunk/PKGBUILD) steam/repos/community-i686/alsa_sdl_audiodriver.patch (from rev 171694, steam/trunk/alsa_sdl_audiodriver.patch) steam/repos/community-i686/steam.install (from rev 171694, steam/trunk/steam.install) Deleted: steam/repos/community-i686/80-steam-controller-permission.rules steam/repos/community-i686/PKGBUILD steam/repos/community-i686/alsa_sdl_audiodriver.patch steam/repos/community-i686/steam.install --------------------------------------+ 80-steam-controller-permission.rules | 6 +- PKGBUILD | 99 ++++++++++++++++----------------- alsa_sdl_audiodriver.patch | 28 ++++----- steam.install | 54 +++++++++--------- 4 files changed, 94 insertions(+), 93 deletions(-) Deleted: 80-steam-controller-permission.rules =================================================================== --- 80-steam-controller-permission.rules 2016-04-24 15:12:11 UTC (rev 171694) +++ 80-steam-controller-permission.rules 2016-04-24 15:12:19 UTC (rev 171695) @@ -1,3 +0,0 @@ -#USB devices -SUBSYSTEM=="usb", ATTRS{idVendor}=="28de", MODE="0660", TAG+="uaccess" -KERNEL=="uinput", SUBSYSTEM=="misc", OPTIONS+="static_node=uinput", TAG+="uaccess" Copied: steam/repos/community-i686/80-steam-controller-permission.rules (from rev 171694, steam/trunk/80-steam-controller-permission.rules) =================================================================== --- 80-steam-controller-permission.rules (rev 0) +++ 80-steam-controller-permission.rules 2016-04-24 15:12:19 UTC (rev 171695) @@ -0,0 +1,3 @@ +#USB devices +SUBSYSTEM=="usb", ATTRS{idVendor}=="28de", MODE="0660", TAG+="uaccess" +KERNEL=="uinput", SUBSYSTEM=="misc", OPTIONS+="static_node=uinput", TAG+="uaccess" Deleted: PKGBUILD =================================================================== --- PKGBUILD 2016-04-24 15:12:11 UTC (rev 171694) +++ PKGBUILD 2016-04-24 15:12:19 UTC (rev 171695) @@ -1,49 +0,0 @@ -# $Id$ -# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com> -# Contributor: K900 <k0009...@gmail.com> -pkgname=steam -pkgver=1.0.0.51 -pkgrel=1 -pkgdesc="Digital distribution client bootstrap package" -arch=("i686" "x86_64") -url="http://steampowered.com/" -license=('custom') -install=steam.install -source=("http://repo.steampowered.com/$pkgname/pool/$pkgname/s/$pkgname/${pkgname}_$pkgver.tar.gz" - 'alsa_sdl_audiodriver.patch' - '80-steam-controller-permission.rules') -md5sums=('eb4eeb7b7088f7434d65a09c768f266b' - 'ac0e03d70f1101331598b2b32ed9bac3' - 'aa9b2c4bff29841764ca11ac8fb6446e') -if [[ "$CARCH" == "x86_64" ]]; then - optdepends=( - 'lib32-mesa-dri: for open source driver users' - 'lib32-catalyst-utils: for AMD Catalyst users' - 'lib32-nvidia-utils: for NVIDIA proprietary blob users' - 'lib32-alsa-plugins: for pulseaudio on some games' - ) -fi -prepare() { - patch -d "$pkgname" -Np1 -i "$srcdir/alsa_sdl_audiodriver.patch" -} - -package() { - 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 lib32-libxss) - fi - - # 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" - - install -Dm644 $srcdir/80-steam-controller-permission.rules $pkgdir/usr/lib/udev/rules.d/80-steam-controller-permission.rules -} -#vim: set ft=PKGBUILD sw=2 ts=2 et Copied: steam/repos/community-i686/PKGBUILD (from rev 171694, steam/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2016-04-24 15:12:19 UTC (rev 171695) @@ -0,0 +1,50 @@ +# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> +# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com> +# Contributor: K900 <k0009...@gmail.com> + +pkgname=steam +pkgver=1.0.0.52 +pkgrel=1 +pkgdesc="Valve's digital software delivery system" +url='http://steampowered.com/' +arch=('i686' 'x86_64') +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' 'lib32-libxss') + optdepends=( + 'lib32-mesa-dri: for open source driver users' + 'lib32-catalyst-utils: for AMD Catalyst users' + 'lib32-nvidia-utils: for NVIDIA proprietary blob users' + 'lib32-alsa-plugins: for pulseaudio on some games' + ) +fi +install=steam.install +source=(http://repo.steampowered.com/${pkgname}/pool/${pkgname}/s/${pkgname}/${pkgname}_${pkgver}.tar.gz + alsa_sdl_audiodriver.patch + 80-steam-controller-permission.rules) +sha512sums=('eefff7b2d223305fa8ff8b2419f9806e21784044c2832b42c5583bac4b9391d66444903e2753153842a85eab196418ca47d9b4b3a1daaf839e1eb15edfff891e' + '5c6117d86cb95071246434851bae3bf7d1c2174b0c8744e33e9c98ccc22efae0c956e1d7e3969c572aa96259b1b8164992d265541bce49a24daa12555d825fd5' + 'f2b45659524a23e97ac271629ae525823f3d613e94f3fb72dfb67a21b7edfda6d07bff623187582c6d0888501e98536d114ccb27d9a7d7065c51fc11f7d8b18f') +prepare() { + patch -d "${pkgname}" -Np1 -i \ + "${srcdir}/alsa_sdl_audiodriver.patch" +} + +package() { + make -C "${pkgname}" DESTDIR="${pkgdir}" install + + install -Dm 644 "${pkgdir}/usr/share/doc/steam/steam_install_agreement.txt" \ + "${pkgdir}/usr/share/licenses/steam/LICENSE" + + # blank steamdeps because apt-get + ln -sf /usr/bin/true "${pkgdir}/usr/bin/steamdeps" + + install -Dm 644 "${srcdir}/80-steam-controller-permission.rules" \ + "${pkgdir}/usr/lib/udev/rules.d/80-steam-controller-permission.rules" +} + +# vim: ts=2 sw=2 et: Deleted: alsa_sdl_audiodriver.patch =================================================================== --- alsa_sdl_audiodriver.patch 2016-04-24 15:12:11 UTC (rev 171694) +++ alsa_sdl_audiodriver.patch 2016-04-24 15:12:19 UTC (rev 171695) @@ -1,14 +0,0 @@ ---- 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/alsa_sdl_audiodriver.patch (from rev 171694, steam/trunk/alsa_sdl_audiodriver.patch) =================================================================== --- alsa_sdl_audiodriver.patch (rev 0) +++ alsa_sdl_audiodriver.patch 2016-04-24 15:12:19 UTC (rev 171695) @@ -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 Deleted: steam.install =================================================================== --- steam.install 2016-04-24 15:12:11 UTC (rev 171694) +++ steam.install 2016-04-24 15:12:19 UTC (rev 171695) @@ -1,27 +0,0 @@ -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 "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() { - update-desktop-database -q - gtk-update-icon-cache -q -t -f usr/share/icons/hicolor -} - -pre_upgrade(){ - update-desktop-database -q - gtk-update-icon-cache -q -t -f usr/share/icons/hicolor -} - -post_remove() { - update-desktop-database -q - gtk-update-icon-cache -q -t -f usr/share/icons/hicolor -} - Copied: steam/repos/community-i686/steam.install (from rev 171694, steam/trunk/steam.install) =================================================================== --- steam.install (rev 0) +++ steam.install 2016-04-24 15:12:19 UTC (rev 171695) @@ -0,0 +1,27 @@ +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 "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() { + update-desktop-database -q + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} + +pre_upgrade(){ + update-desktop-database -q + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} + +post_remove() { + update-desktop-database -q + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} +