summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2022-01-09 20:42:12 +0100
committerGitHub <noreply@github.com>2022-01-09 19:42:12 +0000
commitf846111160b9c9825f3acc01029f3106d1fcf142 (patch)
tree3c439eec2a6a6f4a0887490362725265c9c7f380
parent48d8d64f0990be59f20809506b22fc9670ef0881 (diff)
downloadjack2-f846111160b9c9825f3acc01029f3106d1fcf142.tar.gz
Move jack_control to dbus (#831)
* Move jack_control to dbus dir dbus/jack_control: The `jack_control` script is dbus specific and not part of the original jack tools. As the files offered by jack-example-tools are now optionally not built, the script needs to be made available from a location, that is not ignored when omitting the build of jack-example-tools files. * Move installation of jack_control to dbus integration dbus/wscript: Install `jack_control` script if building/installing jackdbus. tools/wscript: Remove (unconditional) installation of `jack_control` script.
-rwxr-xr-xdbus/jack_control (renamed from tools/jack_control)0
-rw-r--r--dbus/wscript3
-rw-r--r--tools/wscript1
3 files changed, 3 insertions, 1 deletions
diff --git a/tools/jack_control b/dbus/jack_control
index 4dd2b2e4..4dd2b2e4 100755
--- a/tools/jack_control
+++ b/dbus/jack_control
diff --git a/dbus/wscript b/dbus/wscript
index e10e6cfa..77dae58c 100644
--- a/dbus/wscript
+++ b/dbus/wscript
@@ -89,3 +89,6 @@ def build(bld):
target = 'org.jackaudio.service',
install_path = '${DBUS_SERVICES_DIR}/',
BINDIR = bld.env['PREFIX'] + '/bin')
+
+ if not bld.env['IS_WINDOWS']:
+ bld.install_files('${PREFIX}/bin', 'jack_control', chmod=0o755)
diff --git a/tools/wscript b/tools/wscript
index 54735b57..bf9eaf21 100644
--- a/tools/wscript
+++ b/tools/wscript
@@ -114,4 +114,3 @@ def build(bld):
if not bld.env['IS_WINDOWS']:
bld.symlink_as('${PREFIX}/bin/jack_disconnect', 'jack_connect')
- bld.install_files('${PREFIX}/bin', 'jack_control', chmod=0o755)