mirror of
https://gitlab.freedesktop.org/pipewire/pipewire
synced 2024-09-06 00:40:34 +00:00
![Wim Taymans](/assets/img/avatar_default.png)
Don't use a special name for the replacement libraries but install them into the modules directory by default. Add an option to install them into another location. This way, we don't need to set up symlinks in development, distros can choose to install them where they want and/or we can use symlinks or LD_LIBRARY path to select the replacement versions.
24 lines
487 B
Bash
Executable file
24 lines
487 B
Bash
Executable file
#!/bin/sh
|
|
|
|
# Only there to make jhbuild happy
|
|
|
|
set -e
|
|
|
|
git submodule init
|
|
git submodule update
|
|
|
|
if [ -z $MESON ]; then
|
|
MESON=`which meson`
|
|
fi
|
|
if [ -z $MESON ]; then
|
|
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
|
|
|
|
mkdir -p build
|
|
$MESON setup "$@" build # use 'autogen.sh --reconfigure' to update
|
|
ln -sf build/Makefile Makefile
|