Move jack_control to dbus (#831)

* Move jack_control to dbus dir

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

Install `jack_control` script if building/installing jackdbus.

Remove (unconditional) installation of `jack_control` script.
This commit is contained in:
David Runge 2022-01-09 20:42:12 +01:00 committed by falkTX
parent 4dec157f60
commit 8d7faa5bea
3 changed files with 3 additions and 1 deletions

View File

@ -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)

View File

@ -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)