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' 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