[arch-commits] Commit in steam/trunk (PKGBUILD alsa_sdl_audiodriver.patch)
Date: Thursday, May 7, 2020 @ 21:14:06 Author: anthraxx Revision: 625490 upgpkg: steam 1.0.0.62-1 Modified: steam/trunk/PKGBUILD Deleted: steam/trunk/alsa_sdl_audiodriver.patch + PKGBUILD | 39 +++ alsa_sdl_audiodriver.patch | 14 -- 2 files changed, 19 insertions(+), 34 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-05-07 21:01:01 UTC (rev 625489) +++ PKGBUILD2020-05-07 21:14:06 UTC (rev 625490) @@ -3,33 +3,32 @@ # Contributor: K900 pkgname=steam -pkgver=1.0.0.61 -pkgrel=4 +pkgver=1.0.0.62 +pkgrel=1 pkgdesc="Valve's digital software delivery system" url='https://steampowered.com/' arch=('x86_64') license=('custom') depends=('bash' 'desktop-file-utils' 'hicolor-icon-theme' 'curl' 'dbus' - 'freetype2' 'gdk-pixbuf2' 'ttf-font' 'zenity' 'lsb-release' 'nss' 'usbutils') + 'freetype2' 'gdk-pixbuf2' 'ttf-font' 'zenity' 'lsb-release' 'nss' 'usbutils' + 'xorg-xrandr' 'vulkan-driver' 'vulkan-icd-loader' 'lsof' 'python') depends_x86_64=('lib32-libgl' 'lib32-gcc-libs' 'lib32-libx11' 'lib32-libxss' -'lib32-alsa-plugins' 'lib32-libgpg-error' 'lib32-libappindicator-gtk2' -'lib32-libindicator-gtk2' 'lib32-libdbusmenu-glib' 'lib32-libdbusmenu-gtk2' -'lib32-nss') +'lib32-alsa-plugins' 'lib32-libgpg-error' +'lib32-nss' 'lib32-vulkan-driver' 'lib32-vulkan-icd-loader') optdepends=('steam-native-runtime: steam native runtime support') source=(http://repo.steampowered.com/${pkgname}/pool/${pkgname}/s/${pkgname}/${pkgname}_${pkgver}.tar.gz -steam-runtime.sh -alsa_sdl_audiodriver.patch) -sha512sums=('14b4e2d10953dea7e062205f986d95ea46f0791a964c0dcfac905b707da55b25142cb2bc056c5488e0309f7ef4521b44f1540ce14617deb5f1df57a8fd1f723e' - '5e75c019e9fe8c67d686c4e3343dac1180a69a4bdb7d39b333415c63201eef9b98da5619dbf6fd8daa6884e65bc7f8afc9e52778682425e5a75987d527eae6f0' - '5c6117d86cb95071246434851bae3bf7d1c2174b0c8744e33e9c98ccc22efae0c956e1d7e3969c572aa96259b1b8164992d265541bce49a24daa12555d825fd5') +steam-runtime.sh) +sha512sums=('0f1638d17ed28f8d8710e31391c516df631f42f5b3f187fa2b8227e9e1819b48a4c9fbca1ee35e7c1de6f3b52135a67ce720f26c531767ade7f0e242a8599e84' + '5e75c019e9fe8c67d686c4e3343dac1180a69a4bdb7d39b333415c63201eef9b98da5619dbf6fd8daa6884e65bc7f8afc9e52778682425e5a75987d527eae6f0') +b2sums=('2a033f9e3449dc839aa31c82cde0d8aeb20467425dc3253a721c13b0d068d731e4dab94cb7840febbdfd5c67e39aed2dc3b5a05d0587470f1399d7c8a3c806ea' + 'c6bac99336b7c30fec7cdbaf9e949555c687dd9dff50bcae136134d6314f4b841f5fc66ddb2caac1b003690b926fd4afbdc11da143b4674db4b75f27709fdd23') + prepare() { - cd ${pkgname} - patch -Np1 < "${srcdir}/alsa_sdl_audiodriver.patch" - + cd ${pkgname}-launcher # apply roundups for udev rules - sed -r 's|("0666")|"0660", TAG+="uaccess"|g' -i lib/udev/rules.d/60-steam-input.rules - sed -r 's|("misc")|\1, OPTIONS+="static_node=uinput"|g' -i lib/udev/rules.d/60-steam-input.rules - sed -r 's|(, TAG\+="uaccess")|, MODE="0660"\1|g' -i lib/udev/rules.d/60-steam-vr.rules + sed -r 's|("0666")|"0660", TAG+="uaccess"|g' -i subprojects/steam-devices/60-steam-input.rules + sed -r 's|("misc")|\1, OPTIONS+="static_node=uinput"|g' -i subprojects/steam-devices/60-steam-input.rules + sed -r 's|(, TAG\+="uaccess")|, MODE="0660"\1|g' -i subprojects/steam-devices/60-steam-vr.rules # separated runtime/native desktop files sed -r 's|(Name=Steam)|\1 (Runtime)|' -i steam.desktop @@ -37,7 +36,7 @@ } package() { - cd ${pkgname} + cd ${pkgname}-launcher make DESTDIR="${pkgdir}" install install -Dm 755 "${srcdir}/steam-runtime.sh" "${pkgdir}/usr/bin/steam-runtime" @@ -51,9 +50,9 @@ # blank steamdeps because apt-get ln -sf /usr/bin/true "${pkgdir}/usr/bin/steamdeps" - install -Dm 644 lib/udev/rules.d/60-steam-input.rules \ + install -Dm 644 subprojects/steam-devices/60-steam-input.rules \ "${pkgdir}/usr/lib/udev/rules.d/70-steam-input.rules" - install -Dm 644 lib/udev/rules.d/60-steam-vr.rules \ + install -Dm 644 subprojects/steam-devices/60-steam-vr.rules \ "${pkgdir}/usr/lib/udev/rules.d/70-steam-vr.rules" } Deleted: alsa_sdl_audiodriver.patch === --- alsa_sdl_audiodriver.patch 2020-05-07 21:01:01 UTC (rev 625489) +++ alsa_sdl_audiodriver.patch 2020-05-07 21:14:06 UTC (rev 625490) @@ -1,14 +0,0 @@ a/steam2013-02-15 14:43:40.0 -0500 -+++ b/steam2013-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 -+
[arch-commits] Commit in steam/trunk (PKGBUILD alsa_sdl_audiodriver.patch)
Date: Sunday, February 24, 2013 @ 01:12:23 Author: dwallace Revision: 84736 upgpkg: steam 1.0.0.31-1 upgpkg: steam 1.0.0.31-1 Modified: steam/trunk/PKGBUILD steam/trunk/alsa_sdl_audiodriver.patch + PKGBUILD | 23 --- alsa_sdl_audiodriver.patch |2 +- 2 files changed, 13 insertions(+), 12 deletions(-) Modified: PKGBUILD === --- PKGBUILD2013-02-23 23:53:48 UTC (rev 84735) +++ PKGBUILD2013-02-24 00:12:23 UTC (rev 84736) @@ -2,9 +2,9 @@ # Maintainer: Daniel Wallace # Contributor: K900 pkgname=steam -pkgver=1.0.0.28 -pkgrel=3 -pkgdesc="Digital distribution client - open beta - bootstrap package" +pkgver=1.0.0.31 +pkgrel=1 +pkgdesc="Digital distribution client bootstrap package" arch=("i686" "x86_64") url="http://steampowered.com/"; license=('custom') @@ -23,26 +23,27 @@ '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" +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-$pkgver" -Np1 -i "$srcdir/alsa_sdl_audiodriver.patch" -} +#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=('5d7b7e12dd0d513d3f7191872fa596cd' +md5sums=('887501c662554fffdb6809dd0d39f968' '1d83a1df55d677f35ce415e0750f4448' - 'd47c1acf365336290eaba8ca845248a4') + 'ac0e03d70f1101331598b2b32ed9bac3') + package() { # Install license - make -C $pkgname-$pkgver DESTDIR=$pkgdir install + make -C "$pkgname" DESTDIR="$pkgdir" install install -Dm644 "$pkgdir/usr/share/doc/steam/steam_install_agreement.txt" "$pkgdir/usr/share/licenses/steam/LICENSE" Modified: alsa_sdl_audiodriver.patch === --- alsa_sdl_audiodriver.patch 2013-02-23 23:53:48 UTC (rev 84735) +++ alsa_sdl_audiodriver.patch 2013-02-24 00:12:23 UTC (rev 84736) @@ -5,7 +5,7 @@ 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 ++if ! pulseaudio --check &>/dev/null; then +export SDL_AUDIODRIVER=alsa +fi +
[arch-commits] Commit in steam/trunk (PKGBUILD alsa_sdl_audiodriver.patch)
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 === --- PKGBUILD2013-02-17 22:49:50 UTC (rev 84395) +++ PKGBUILD2013-02-18 04:39:29 UTC (rev 84396) @@ -3,7 +3,7 @@ # Contributor: K900 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/steam2013-02-15 14:43:40.0 -0500 b/steam2013-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