Revert "Reapply "CI Linux: use Vulkan directy from repo""

This reverts commit 91b56cddab.

The ppa:savoury1/ffmpeg4 repo is no longer used with ubuntu-22.04
runner but FFmpeg currently needs Vulkan v1.3.277 ibut the distro has
only 1.3.204.
This commit is contained in:
Martin Pulec
2025-03-06 16:08:00 +01:00
parent 2eaf9bc17d
commit 223f2b95a1

View File

@@ -68,13 +68,29 @@ install_rav1e() {(
/usr/local/lib/pkgconfig/rav1e.pc
)}
# FFmpeg master needs at least v1.3.277 as for 6th Mar '25
install_vulkan() {(
git clone --depth 1 https://github.com/KhronosGroup/Vulkan-Headers
mkdir Vulkan-Headers/build
cd Vulkan-Headers/build
cmake ..
sudo make install
cd ../..
git clone --depth 1 https://github.com/KhronosGroup/Vulkan-Loader
mkdir Vulkan-Loader/build
cd Vulkan-Loader/build
cmake ..
cmake --build . --parallel "$(nproc)"
sudo make install
)}
show_help=
if [ $# -eq 1 ] && { [ "$1" = -h ] || [ "$1" = --help ] || [ "$1" = help ]; }; then
show_help=1
fi
if [ $# -eq 0 ] || [ $show_help ]; then
set -- gpujpeg ndi pipewire rav1e ximea
set -- gpujpeg ndi pipewire rav1e vulkan ximea
fi
if [ $show_help ]; then