File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed
Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change 200200 "name" : " svt-av1" ,
201201 "buildsystem" : " cmake-ninja" ,
202202 "builddir" : true ,
203+ "only-arches" : [
204+ " x86_64"
205+ ],
203206 "config-opts" : [
204207 " -DCMAKE_BUILD_TYPE=Release" ,
205208 " -DBUILD_SHARED_LIBS=ON" ,
263266 "commands" : [
264267 " patch -Np1 -i obs-deps/deps.ffmpeg/patches/FFmpeg/0001-FFmpeg-5.1.2-OBS.patch"
265268 ]
269+ },
270+ {
271+ "type" : " shell" ,
272+ "skip-arches" : [
273+ " x86_64"
274+ ],
275+ "commands" : [
276+ " sed -i 's/enabled libsvtav1 &&/disable libsvtav1 #/g' configure # Disable SVT-AV1 on non-x86_64"
277+ ]
266278 }
267279 ]
268280 },
395407 "sources" : [
396408 {
397409 "type" : " archive" ,
410+ "only-arches" : [
411+ " x86_64"
412+ ],
398413 "url" : " https://cdn-fastly.obsproject.com/downloads/cef_binary_5060_linux64.tar.bz2" ,
399414 "sha256" : " ac4e2a8ebf20700e4e36353e314f876623633dd5b474778a2548bb66bdbea11d"
415+ },
416+ {
417+ "type" : " archive" ,
418+ "only-arches" : [
419+ " aarch64"
420+ ],
421+ "url" : " https://cdn-fastly.obsproject.com/downloads/cef_binary_5060_linuxarm64.tar.bz2" ,
422+ "sha256" : " eee03eb654a3375061541c86af22d14ee7ffea22c2048f66321e9fac7676ce3e"
423+ },
424+ {
425+ "type" : " shell" ,
426+ "only-arches" : [
427+ " aarch64"
428+ ],
429+ "commands" : [
430+ " sed -i 's/set(PROJECT_ARCH \" x86_64\" )/set(PROJECT_ARCH \" arm64\" )/g' cmake/cef_variables.cmake # Fix PROJECT_ARCH on aarch64"
431+ ]
400432 }
401433 ]
402434 },
You can’t perform that action at this time.
0 commit comments