File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed
Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -1756,6 +1756,13 @@ build_libass() {
17561756 do_git_checkout_and_make_install https://github.com/libass/libass.git
17571757}
17581758
1759+ build_vulkan () {
1760+ do_git_checkout https://github.com/KhronosGroup/Vulkan-Headers.git
1761+ cd Vulkan-Headers_git
1762+ do_cmake_and_install " -DCMAKE_BUILD_TYPE=Release"
1763+ cd ..
1764+ }
1765+
17591766build_libaribb24 () {
17601767 do_git_checkout https://github.com/nkoriyama/aribb24
17611768 cd aribb24
@@ -2459,6 +2466,10 @@ build_ffmpeg() {
24592466 config_options+=" --enable-libdav1d"
24602467 config_options+=" --enable-gnutls"
24612468
2469+ if [[ $OSTYPE != darwin* ]]; then
2470+ config_options+=" --enable-vulkan"
2471+ fi
2472+
24622473 if [[ " $bits_target " != " 32" ]]; then
24632474 if [[ $build_svt_hevc = y ]]; then
24642475 # SVT-HEVC
@@ -2784,6 +2795,9 @@ build_ffmpeg_dependencies() {
27842795 build_libopenh264
27852796 build_libaom
27862797 build_dav1d
2798+ if [[ $OSTYPE != darwin* ]]; then
2799+ build_vulkan
2800+ fi
27872801 build_avisynth
27882802 build_libx264 # at bottom as it might internally build a copy of ffmpeg (which needs all the above deps...
27892803 }
You can’t perform that action at this time.
0 commit comments