summaryrefslogtreecommitdiff
path: root/media-sound/apulse/files/apulse
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /media-sound/apulse/files/apulse
reinit the tree, so we can have metadata
Diffstat (limited to 'media-sound/apulse/files/apulse')
-rwxr-xr-xmedia-sound/apulse/files/apulse14
1 files changed, 14 insertions, 0 deletions
diff --git a/media-sound/apulse/files/apulse b/media-sound/apulse/files/apulse
new file mode 100755
index 000000000000..32633b2d9a50
--- /dev/null
+++ b/media-sound/apulse/files/apulse
@@ -0,0 +1,14 @@
+#!/bin/sh
+# Author: Daniel Campbell <zlg@gentoo.org>
+# License: Creative Commons Public Domain Dedication (CC0 1.0)
+# <https://creativecommons.org/publicdomain/zero/1.0/>
+
+# apulse needs at least one argument
+if [ $# -lt 1 ]; then
+ echo "Usage: apulse <app-path> [options]"
+ exit
+fi
+
+# Set library path for the application so it'll use apulse. DIRS is
+# replaced by the ebuild to include the correct paths
+LD_LIBRARY_PATH=@@DIRS@@${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH} exec "$@"