Skip to content

Commit 89b43a9

Browse files
committed
flatpak: Add aarch64 support
1 parent 9b8869d commit 89b43a9

File tree

1 file changed

+34
-2
lines changed

1 file changed

+34
-2
lines changed

CI/flatpak/com.obsproject.Studio.json

Lines changed: 34 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,9 @@
201201
"name": "svt-av1",
202202
"buildsystem": "cmake-ninja",
203203
"builddir": true,
204+
"only-arches": [
205+
"x86_64"
206+
],
204207
"config-opts": [
205208
"-DCMAKE_BUILD_TYPE=Release",
206209
"-DBUILD_SHARED_LIBS=ON",
@@ -265,6 +268,15 @@
265268
"commands": [
266269
"patch -Np1 -i obs-deps/deps.ffmpeg/patches/FFmpeg/0001-FFmpeg-6.0-OBS.patch"
267270
]
271+
},
272+
{
273+
"type": "shell",
274+
"skip-arches": [
275+
"x86_64"
276+
],
277+
"commands": [
278+
"sed -i 's/enabled libsvtav1 &&/disable libsvtav1 #/g' configure # Disable SVT-AV1 on non-x86_64"
279+
]
268280
}
269281
]
270282
},
@@ -486,8 +498,28 @@
486498
"sources": [
487499
{
488500
"type": "archive",
489-
"url": "https://cdn-fastly.obsproject.com/downloads/cef_binary_5060_linux64.tar.bz2",
490-
"sha256": "ac4e2a8ebf20700e4e36353e314f876623633dd5b474778a2548bb66bdbea11d"
501+
"only-arches": [
502+
"x86_64"
503+
],
504+
"url": "https://cdn-fastly.obsproject.com/downloads/cef_binary_5060_linux_x86_64.tar.xz",
505+
"sha256": "bf4aa9388bab7e94fa945cc3bba16b6da63b6a30f9c0342d42235468b39d84bf"
506+
},
507+
{
508+
"type": "archive",
509+
"only-arches": [
510+
"aarch64"
511+
],
512+
"url": "https://cdn-fastly.obsproject.com/downloads/cef_binary_5060_linux_aarch64.tar.xz",
513+
"sha256": "68d915c9ba2639cba762a54cd3430fce2527aa6355d831d3cfcb6157664206b0"
514+
},
515+
{
516+
"type": "shell",
517+
"only-arches": [
518+
"aarch64"
519+
],
520+
"commands": [
521+
"sed -i 's/set(PROJECT_ARCH \"x86_64\")/set(PROJECT_ARCH \"aarch64\")/g' cmake/cef_variables.cmake # Fix PROJECT_ARCH on aarch64"
522+
]
491523
}
492524
]
493525
},

0 commit comments

Comments
 (0)