mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2025-12-20 04:10:03 +01:00
ci: adapt pipewire build options based on the pw version we are building
This commit is contained in:
parent
94fe1cbfbd
commit
2286152c07
1 changed files with 16 additions and 7 deletions
|
|
@ -154,13 +154,22 @@ include:
|
||||||
# Fedora also ships that, but without the test plugins that we need...
|
# Fedora also ships that, but without the test plugins that we need...
|
||||||
- git clone --depth=1 --branch="$PIPEWIRE_HEAD"
|
- git clone --depth=1 --branch="$PIPEWIRE_HEAD"
|
||||||
https://gitlab.freedesktop.org/pipewire/pipewire.git
|
https://gitlab.freedesktop.org/pipewire/pipewire.git
|
||||||
- meson "$PW_BUILD_DIR" pipewire --prefix="$PREFIX"
|
# Set build options based on PipeWire version
|
||||||
-Dpipewire-alsa=disabled -Dpipewire-jack=disabled
|
- |
|
||||||
-Dalsa=disabled -Dv4l2=disabled -Djack=disabled -Dbluez5=disabled
|
case "$PIPEWIRE_HEAD" in
|
||||||
-Dvulkan=disabled -Dgstreamer=disabled -Dlibsystemd=disabled
|
1.0|1.2|1.4)
|
||||||
-Ddocs=disabled -Dman=disabled -Dexamples=disabled -Dpw-cat=disabled
|
export PIPEWIRE_BUILD_OPTIONS="-Dsystemd=disabled"
|
||||||
-Dsdl2=disabled -Dsndfile=disabled -Dlibpulse=disabled -Davahi=disabled
|
;;
|
||||||
-Decho-cancel-webrtc=disabled -Dsession-managers=[]
|
*)
|
||||||
|
export PIPEWIRE_BUILD_OPTIONS="-Dlibsystemd=disabled"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
- meson "$PW_BUILD_DIR" pipewire --prefix="$PREFIX" $PIPEWIRE_BUILD_OPTIONS
|
||||||
|
-Dpipewire-alsa=disabled -Dpipewire-jack=disabled -Dalsa=disabled
|
||||||
|
-Dv4l2=disabled -Djack=disabled -Dbluez5=disabled -Dvulkan=disabled
|
||||||
|
-Dgstreamer=disabled -Ddocs=disabled -Dman=disabled -Dexamples=disabled
|
||||||
|
-Dpw-cat=disabled -Dsdl2=disabled -Dsndfile=disabled -Dlibpulse=disabled
|
||||||
|
-Davahi=disabled -Decho-cancel-webrtc=disabled -Dsession-managers=[]
|
||||||
-Dvideotestsrc=enabled -Daudiotestsrc=enabled -Dtest=enabled
|
-Dvideotestsrc=enabled -Daudiotestsrc=enabled -Dtest=enabled
|
||||||
- ninja $NINJA_ARGS -C "$PW_BUILD_DIR" install
|
- ninja $NINJA_ARGS -C "$PW_BUILD_DIR" install
|
||||||
# misc environment only for wireplumber
|
# misc environment only for wireplumber
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue