mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-20 19:40:14 +00:00
CI Linux: enable pipewire screen cap
This commit is contained in:
17
.github/scripts/Linux/install_others.sh
vendored
17
.github/scripts/Linux/install_others.sh
vendored
@@ -53,13 +53,28 @@ install_ndi() {(
|
||||
sed 's/\(.*\)/\#define NDI_VERSION \"\1\"/' < 'NDI SDK for Linux/Version.txt' | sudo tee /usr/local/include/ndi_version.h
|
||||
)}
|
||||
|
||||
# TODO: needed only for U20.04, remove after upgrading to U22.04
|
||||
install_pipewire() {(
|
||||
if [ "$(lsb_release -rs)" = 20.04 ]; then
|
||||
sudo apt install meson
|
||||
git clone https://gitlab.freedesktop.org/pipewire/pipewire.git
|
||||
cd pipewire
|
||||
git checkout 19bcdaebe29b95edae2b285781dab1cc841be638 # last one supporting meson 0.53.2 in U20.04
|
||||
./autogen.sh
|
||||
make -j "$(nproc)"
|
||||
sudo make install
|
||||
else
|
||||
sudo apt install libpipewire-0.3-dev
|
||||
fi
|
||||
)}
|
||||
|
||||
show_help=
|
||||
if [ $# -eq 1 ] && { [ "$1" = -h ] || [ "$1" = --help ] || [ "$1" = help ]; }; then
|
||||
show_help=1
|
||||
fi
|
||||
|
||||
if [ $# -eq 0 ] || [ $show_help ]; then
|
||||
set -- aja gpujpeg live555 ndi ximea
|
||||
set -- aja gpujpeg live555 ndi pipewire ximea
|
||||
fi
|
||||
|
||||
if [ $show_help ]; then
|
||||
|
||||
8
.github/scripts/environment.sh
vendored
8
.github/scripts/environment.sh
vendored
@@ -22,17 +22,17 @@ export CHANNEL TAG VERSION
|
||||
|
||||
printf '%b' "CHANNEL=$CHANNEL\nTAG=$TAG\nVERSION=$VERSION\n" >> "$GITHUB_ENV"
|
||||
|
||||
export FEATURES="--enable-option-checking=fatal --with-live555=/usr/local --enable-aja --enable-blank --enable-caca --enable-cineform --enable-decklink --enable-file --enable-gl --enable-gl-display --enable-holepunch --enable-jack --enable-jack-transport --enable-libavcodec --enable-natpmp --enable-ndi --enable-openssl --enable-pcp --enable-portaudio --enable-qt --enable-resize --enable-rtdxt --enable-rtsp --enable-rtsp-server --enable-scale --enable-sdl=2 --enable-sdl_mixer --enable-sdp-http --enable-soxr --enable-speexdsp --enable-swmix --enable-libswscale --enable-testcard-extras=all --enable-text --enable-video-mixer --enable-vulkan --enable-ximea --enable-zfec"
|
||||
export FEATURES="--enable-option-checking=fatal --with-live555=/usr/local --enable-aja --enable-blank --enable-caca --enable-cineform --enable-decklink --enable-file --enable-gl --enable-gl-display --enable-holepunch --enable-jack --enable-jack-transport --enable-libavcodec --enable-natpmp --enable-ndi --enable-openssl --enable-pcp --enable-portaudio --enable-qt --enable-resize --enable-rtdxt --enable-rtsp --enable-rtsp-server --enable-scale --enable-screen --enable-sdl=2 --enable-sdl_mixer --enable-sdp-http --enable-soxr --enable-speexdsp --enable-swmix --enable-libswscale --enable-testcard-extras=all --enable-text --enable-video-mixer --enable-vulkan --enable-ximea --enable-zfec"
|
||||
CUDA_FEATURES="--enable-cuda_dxt --enable-gpujpeg --enable-ldgm-gpu --enable-uyvy"
|
||||
case "$RUNNER_OS" in
|
||||
Linux)
|
||||
FEATURES="$FEATURES $CUDA_FEATURES --enable-plugins --enable-alsa --enable-lavc-hw-accel-vaapi --enable-lavc-hw-accel-vdpau --enable-v4l2 --enable-screen=x11"
|
||||
FEATURES="$FEATURES $CUDA_FEATURES --enable-plugins --enable-alsa --enable-lavc-hw-accel-vaapi --enable-lavc-hw-accel-vdpau --enable-v4l2"
|
||||
;;
|
||||
macOS)
|
||||
FEATURES="$FEATURES --enable-avfoundation --enable-coreaudio --enable-screen --enable-syphon"
|
||||
FEATURES="$FEATURES --enable-avfoundation --enable-coreaudio --enable-syphon"
|
||||
;;
|
||||
Windows)
|
||||
FEATURES="$FEATURES $CUDA_FEATURES --enable-dshow --enable-screen --enable-spout --enable-wasapi"
|
||||
FEATURES="$FEATURES $CUDA_FEATURES --enable-dshow --enable-spout --enable-wasapi"
|
||||
;;
|
||||
*)
|
||||
echo "Unexpected runner OS: ${RUNNER_OS:-(undefined)}" >&2
|
||||
|
||||
Reference in New Issue
Block a user