summaryrefslogtreecommitdiff
path: root/steam
diff options
context:
space:
mode:
authorDanny Rawlins <monster.romster@gmail.com>2016-03-28 14:08:00 +1100
committerDanny Rawlins <monster.romster@gmail.com>2016-03-28 14:08:45 +1100
commit76a3893505589e6cb53ccb63d007d2bf9d16927f (patch)
treee1f3d8529a7020e2bab8d9b31d4b63c32f9d4429 /steam
parent1c61283ef272743f02b8996c4b6dba699546513f (diff)
downloadcontrib-76a3893505589e6cb53ccb63d007d2bf9d16927f.tar.gz
contrib-76a3893505589e6cb53ccb63d007d2bf9d16927f.tar.xz
steam: initial import
Diffstat (limited to 'steam')
-rw-r--r--steam/.32bit0
-rw-r--r--steam/.footprint33
-rw-r--r--steam/.md5sum2
-rw-r--r--steam/Pkgfile32
-rw-r--r--steam/alsa_sdl_audiodriver.patch14
5 files changed, 81 insertions, 0 deletions
diff --git a/steam/.32bit b/steam/.32bit
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/steam/.32bit
diff --git a/steam/.footprint b/steam/.footprint
new file mode 100644
index 000000000..e4f9e6ba4
--- /dev/null
+++ b/steam/.footprint
@@ -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
diff --git a/steam/.md5sum b/steam/.md5sum
new file mode 100644
index 000000000..bfcefebe3
--- /dev/null
+++ b/steam/.md5sum
@@ -0,0 +1,2 @@
+ac0e03d70f1101331598b2b32ed9bac3 alsa_sdl_audiodriver.patch
+eb4eeb7b7088f7434d65a09c768f266b steam_1.0.0.51.tar.gz
diff --git a/steam/Pkgfile b/steam/Pkgfile
new file mode 100644
index 000000000..b7d230445
--- /dev/null
+++ b/steam/Pkgfile
@@ -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
+}
diff --git a/steam/alsa_sdl_audiodriver.patch b/steam/alsa_sdl_audiodriver.patch
new file mode 100644
index 000000000..7216bb222
--- /dev/null
+++ b/steam/alsa_sdl_audiodriver.patch
@@ -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

Generated by cgit