File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -70,6 +70,15 @@ install_nv_codec_headers() {
7070 ( cd nv-codec-headers && make && sudo make install || exit 1 )
7171}
7272
73+ install_oapv () {(
74+ git clone --depth 1 https://github.com/AcademySoftwareFoundation/openapv.git
75+ export CFLAGS=' -ffat-lto-objects'
76+ cmake -B openapv/build -S openapv \
77+ -DCMAKE_BUILD_TYPE=Release
78+ cmake --build openapv/build --parallel " $( nproc) "
79+ sudo cmake --install openapv/build
80+ )}
81+
7382install_onevpl () {(
7483 git clone --depth 1 https://github.com/oneapi-src/oneVPL
7584 mkdir oneVPL/build
@@ -90,6 +99,7 @@ build_install() {
9099 install_dav1d
91100 install_libvpx
92101 install_nv_codec_headers
102+ install_oapv
93103 install_onevpl
94104 install_svt
95105 # apply patches
@@ -101,6 +111,7 @@ build_install() {
101111 --enable-libdav1d \
102112 --enable-libde265 \
103113 --enable-libmp3lame \
114+ --enable-liboapv \
104115 --enable-libopenh264 \
105116 --enable-libopus \
106117 --enable-librav1e \
@@ -131,6 +142,7 @@ install_cached() {
131142 sudo cmake --install SVT-HEVC/Build/linux/Release
132143 sudo cmake --install SVT-VP9/Build
133144 sudo cmake --build oneVPL/build --config Release --target install
145+ sudo cmake --install openapv/build
134146
135147 sudo make install
136148 sudo ldconfig
You can’t perform that action at this time.
0 commit comments