steam: initial import

This commit is contained in:
Danny Rawlins 2016-03-28 14:08:00 +11:00
parent 1c61283ef2
commit 76a3893505
5 changed files with 81 additions and 0 deletions

0
steam/.32bit Normal file
View File

33
steam/.footprint Normal file
View File

@ -0,0 +1,33 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/steam
lrwxrwxrwx root/root usr/bin/steamdeps -> /bin/true
drwxr-xr-x root/root usr/lib32/
drwxr-xr-x root/root usr/lib32/steam/
-rw-r--r-- root/root usr/lib32/steam/bootstraplinux_ubuntu12_32.tar.xz
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/applications/
-rw-r--r-- root/root usr/share/applications/steam.desktop
drwxr-xr-x root/root usr/share/icons/
drwxr-xr-x root/root usr/share/icons/hicolor/
drwxr-xr-x root/root usr/share/icons/hicolor/16x16/
drwxr-xr-x root/root usr/share/icons/hicolor/16x16/apps/
-rw-r--r-- root/root usr/share/icons/hicolor/16x16/apps/steam.png
drwxr-xr-x root/root usr/share/icons/hicolor/24x24/
drwxr-xr-x root/root usr/share/icons/hicolor/24x24/apps/
-rw-r--r-- root/root usr/share/icons/hicolor/24x24/apps/steam.png
drwxr-xr-x root/root usr/share/icons/hicolor/256x256/
drwxr-xr-x root/root usr/share/icons/hicolor/256x256/apps/
-rw-r--r-- root/root usr/share/icons/hicolor/256x256/apps/steam.png
drwxr-xr-x root/root usr/share/icons/hicolor/32x32/
drwxr-xr-x root/root usr/share/icons/hicolor/32x32/apps/
-rw-r--r-- root/root usr/share/icons/hicolor/32x32/apps/steam.png
drwxr-xr-x root/root usr/share/icons/hicolor/48x48/
drwxr-xr-x root/root usr/share/icons/hicolor/48x48/apps/
-rw-r--r-- root/root usr/share/icons/hicolor/48x48/apps/steam.png
drwxr-xr-x root/root usr/share/man/
drwxr-xr-x root/root usr/share/man/man6/
-rw-r--r-- root/root usr/share/man/man6/steam.6.gz
drwxr-xr-x root/root usr/share/pixmaps/
-rw-r--r-- root/root usr/share/pixmaps/steam.png
-rw-r--r-- root/root usr/share/pixmaps/steam_tray_mono.png

2
steam/.md5sum Normal file
View File

@ -0,0 +1,2 @@
ac0e03d70f1101331598b2b32ed9bac3 alsa_sdl_audiodriver.patch
eb4eeb7b7088f7434d65a09c768f266b steam_1.0.0.51.tar.gz

32
steam/Pkgfile Normal file
View File

@ -0,0 +1,32 @@
# Description: Digital distribution client bootstrap package.
# URL: http://store.steampowered.com/
# Maintainer: Danny Rawlins, crux at romster dot me
# Packager: Lennart Sauerbeck, devel at lennart dot sauerbeck dot org
# Depends on: dbus-32 desktop-file-utils gtk-32 libgcrypt-32 nss-32 openal-32
# Optional: pulseaudio-32
name=steam
version=1.0.0.51
release=1
source=(http://repo.steampowered.com/$name/pool/$name/s/$name/${name}_$version.tar.gz
alsa_sdl_audiodriver.patch)
build() {
cd $name
patch -p1 -i $SRC/alsa_sdl_audiodriver.patch
make DESTDIR=$PKG install
# blank steamdeps because apt-get
ln -sf /bin/true $PKG/usr/bin/steamdeps
mv $PKG/usr/lib $PKG/usr/lib32
sed \
-e 's|/usr/lib/$STEAMPACKAGE|/usr/lib32/$STEAMPACKAGE|' \
-i $PKG/usr/bin/steam
rm -r $PKG/usr/share/doc
}

View File

@ -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