LADI
/
spa
1
Fork 0

meson: Allow access to WP tools in uninstalled shell

If WirePlumber is built as a subproject this calls the wireplumber's
`wp-uninstalled.sh` command to be able to run PW and WP commands from
the uninstalled shell.
This commit is contained in:
Frédéric Danis 2021-09-09 11:24:02 +02:00
parent 91069ec3d2
commit 2055c57436
1 changed files with 7 additions and 2 deletions

View File

@ -52,5 +52,10 @@ export ALSA_PLUGIN_DIR="${BUILDDIR}/pipewire-alsa/alsa-plugins"
export PW_UNINSTALLED=1
export PKG_CONFIG_PATH="${BUILDDIR}/meson-uninstalled/:${PKG_CONFIG_PATH}"
# FIXME: find a nice, shell-neutral way to specify a prompt
${SHELL}
if [ -d "${BUILDDIR}/subprojects/wireplumber" ]; then
# FIXME: find a nice, shell-neutral way to specify a prompt
"${SCRIPT_DIR}"/subprojects/wireplumber/wp-uninstalled.sh -b"${BUILDDIR}"/subprojects/wireplumber "${SHELL}"
else
# FIXME: find a nice, shell-neutral way to specify a prompt
${SHELL}
fi