qjackctl: Add build option for jack-session support

This option is necessary to make it possible to use qjackctl with
PipeWire, which doesn't support the jack session protocol.

Since this doesn't change the resulting package, it isn't revbumped.

Closes: #27828 [via git-merge-pr]
This commit is contained in:
Clyybber 2021-01-11 16:15:59 +01:00 committed by Érico Rolim
parent a3ad5f698a
commit ab114df128

View file

@ -4,6 +4,7 @@ version=0.9.0
revision=1
build_style=gnu-configure
build_helper=qmake
configure_args="$(vopt_enable jack_session jack-session)"
hostmakedepends="pkg-config"
makedepends="alsa-lib-devel qt5-devel jack-devel qt5-x11extras-devel"
depends="desktop-file-utils hicolor-icon-theme jack"
@ -14,6 +15,10 @@ homepage="http://qjackctl.sourceforge.net"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=5196c5c01b7948c1a8ca37cd3198a7f0fe095a99a34a67086abd3466855b4abd
build_options="jack_session"
build_options_default="jack_session"
desc_option_jack_session="Enable support for the deprecated Jack Session API"
if [ "${CROSS_BUILD}" ]; then
hostmakedepends+=" qt5-host-tools qt5-devel qt5-x11extras-devel"
configure_args+=" ac_cv_path_ac_cv_qmake=${XBPS_WRAPPERDIR}/qmake"