From 27cce06f77a7db5cd2e332fe3a8ee51310b7af9d Mon Sep 17 00:00:00 2001 From: Root <175176948+RKNF404@users.noreply.github.com> Date: Sun, 22 Jun 2025 15:48:28 -0400 Subject: [PATCH 1/2] feat: add basic ARM support --- build/trivalent.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/build/trivalent.spec b/build/trivalent.spec index 7b546d9b..263e39f3 100644 --- a/build/trivalent.spec +++ b/build/trivalent.spec @@ -169,7 +169,7 @@ Requires: u2f-hidraw-policy Requires: bubblewrap Requires: %{chromium_name}-common%{_isa} = %{version}-%{release} -ExclusiveArch: x86_64 +ExclusiveArch: x86_64 aarch64 # License: BSD-3-Clause Provides: bundled(angle) @@ -429,6 +429,10 @@ PATH="$PATH:$(pwd)/third_party/ninja" export PATH CHROMIUM_GN_DEFINES='' +%ifarch aarch64 +CHROMIUM_GN_DEFINES+=' target_cpu="arm64"' +CHROMIUM_GN_DEFINES+=' use_v4l2_codec=true' +%endif CHROMIUM_GN_DEFINES+=' system_libdir="%{_lib}"' CHROMIUM_GN_DEFINES+=' is_official_build=true' CHROMIUM_GN_DEFINES+=' is_cfi=true use_cfi_cast=true' From f4e9cfea435348e7694fe71f7064cb0a7eb79680 Mon Sep 17 00:00:00 2001 From: Root <175176948+RKNF404@users.noreply.github.com> Date: Sun, 22 Jun 2025 15:49:16 -0400 Subject: [PATCH 2/2] chore: no longer hardened-chromium --- copr_script.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/copr_script.sh b/copr_script.sh index 17b3772f..9439b03a 100755 --- a/copr_script.sh +++ b/copr_script.sh @@ -35,7 +35,7 @@ for ((i=0; i<${#patches[@]}; i++)); do done cd .. -# copy hardened-chromium patches to the build dir +# copy Trivalent patches to the build dir cd patches/ patches=(*.patch) for ((i=0; i<${#patches[@]}; i++)); do