summaryrefslogtreecommitdiff
path: root/games/koules/koules.kde
diff options
context:
space:
mode:
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