2015-04-16 14:58:33 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
# Only there to make jhbuild happy
|
|
|
|
|
2021-05-02 08:38:51 +00:00
|
|
|
if [ -z "$MESON" ]; then
|
|
|
|
MESON=$(which meson)
|
2019-05-17 08:22:57 +00:00
|
|
|
fi
|
2021-05-02 08:38:51 +00:00
|
|
|
if [ -z "$MESON" ]; then
|
2019-05-17 08:22:57 +00:00
|
|
|
echo "error: Meson not found."
|
|
|
|
echo "Install meson to configure and build Pipewire. If meson" \
|
|
|
|
"is already installed, set the environment variable MESON" \
|
|
|
|
"to the binary's path."
|
|
|
|
exit 1;
|
|
|
|
fi
|
|
|
|
|
2019-05-17 08:08:16 +00:00
|
|
|
mkdir -p build
|
2019-05-17 08:22:57 +00:00
|
|
|
$MESON setup "$@" build # use 'autogen.sh --reconfigure' to update
|
2019-05-17 08:12:30 +00:00
|
|
|
ln -sf build/Makefile Makefile
|