mirror of
https://gitlab.freedesktop.org/pipewire/pipewire
synced 2024-10-06 16:09:43 +00:00
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:
parent
91069ec3d2
commit
2055c57436
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue