summaryrefslogtreecommitdiffstats
path: root/games/koules/koules.kde
diff options
context:
space:
mode:
author B. Watson <yalhcru@gmail.com>2010-05-12 23:29:24 +0200
committer David Somero <xgizzmo@slackbuilds.org>2010-05-12 23:29:24 +0200
commit433652987873bb7e1bb654dcbfeaa9225d9fbe5a (patch)
tree7260a2ab50dac4b2b18d80235130e32cc82556ae /games/koules/koules.kde
parentded2ffc51a4b5e5d54d17b05b8cde862c8951c6b (diff)
downloadslackbuilds-433652987873bb7e1bb654dcbfeaa9225d9fbe5a.tar.gz
slackbuilds-433652987873bb7e1bb654dcbfeaa9225d9fbe5a.tar.xz
games/koules: Added to 12.2 repository
Diffstat (limited to 'games/koules/koules.kde')
-rw-r--r--games/koules/koules.kde13
1 files changed, 13 insertions, 0 deletions
diff --git a/games/koules/koules.kde b/games/koules/koules.kde
new file mode 100644
index 0000000000..755ddb8515
--- /dev/null
+++ b/games/koules/koules.kde
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+# koules.kde
+# Wrapper script to launch koules from a KDE shortcut
+# Author: B. Watson (yalhcru@gmail.com)
+
+# If the GUI launcher can't run (probably because Tcl/Tk isn't
+# installed), just start the game with default options.
+
+# Wrap with artsdsp, since koules only knows how to use OSS /dev/dsp
+# style audio (if it used ALSA, dmix would take care of us).
+
+artsdsp -n Koules koules-launcher || artsdsp -n Koules koules