jack2: allow to choose the mode to operate jackd
authorAntoine Ténart <antoine.tenart@free-electrons.com>
Fri, 11 Mar 2016 18:00:34 +0000 (19:00 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 20 Mar 2016 20:43:23 +0000 (21:43 +0100)
commitce4795e22e0b42b8d61711a358e00ffbc9190985
treeb4f6b89d91b2c3008ed62fc4459148f3caa9a787
parent46271ffa9c4f01d9886142ae27a9f533d3a7e3ef
jack2: allow to choose the mode to operate jackd

jack2 allows to use three modes:
- A legacy jackd service alone.
- A DBUS jackd service alone.
- A mixture between the standalone jackd and the DBUS jackd.

This patch adds the possibility to choose between these three modes,
while the legacy jackd was the only option before.

In addition, the jack_control tool is removed when the DBUS jackd is not
available, as this tool is used to control it.

Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
[yann.morin.1998@free.fr:
  - rebase
  - only use two booleans, not a choice
  - python is a runtime-only dependency
  - use python3 if enabled, fallback to python
  - simplify post-install condition
]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
[Thomas: fix minor typo.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/jack2/Config.in
package/jack2/jack2.mk