forked from pool/element-desktop
Accepting request 1094853 from home:dheidler:branches:devel:languages:nodejs
- Be multi-arch friendly - Add aarch64 support OBS-URL: https://build.opensuse.org/request/show/1094853 OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/element-desktop?expand=0&rev=38
This commit is contained in:
parent
85c50fa6ba
commit
bb7e534aab
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jun 23 11:03:57 UTC 2023 - Dominik Heidler <dheidler@suse.de>
|
||||||
|
|
||||||
|
- Be multi-arch friendly - Add aarch64 support
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jun 15 13:12:37 UTC 2023 - Dominik Heidler <dheidler@suse.de>
|
Thu Jun 15 13:12:37 UTC 2023 - Dominik Heidler <dheidler@suse.de>
|
||||||
|
|
||||||
|
@ -48,6 +48,9 @@ Requires: nodejs-electron
|
|||||||
BuildRequires: nodejs18
|
BuildRequires: nodejs18
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
# hak*.tar.gz only available for those architectures
|
||||||
|
ExclusiveArch: x86_64 aarch64
|
||||||
|
|
||||||
%description
|
%description
|
||||||
A glossy Matrix collaboration client - desktop
|
A glossy Matrix collaboration client - desktop
|
||||||
|
|
||||||
@ -64,6 +67,11 @@ jq '.piwik=false | .update_base_url=null' < element.io/release/config.json | spo
|
|||||||
mkdir -p $HOME/bin
|
mkdir -p $HOME/bin
|
||||||
ln -sf /usr/bin/python3 $HOME/bin/python
|
ln -sf /usr/bin/python3 $HOME/bin/python
|
||||||
|
|
||||||
|
%ifarch aarch64
|
||||||
|
mv -v .hak/matrix-seshat/x86_64-unknown-linux-gnu .hak/matrix-seshat/aarch64-unknown-linux-gnu
|
||||||
|
mv -v .hak/keytar/x86_64-unknown-linux-gnu .hak/keytar/aarch64-unknown-linux-gnu
|
||||||
|
%endif
|
||||||
|
|
||||||
%build
|
%build
|
||||||
echo 'yarn-offline-mirror "./npm-packages-offline-cache"' >> .yarnrc
|
echo 'yarn-offline-mirror "./npm-packages-offline-cache"' >> .yarnrc
|
||||||
echo 'nodedir %{_includedir}/electron' >> .yarnrc
|
echo 'nodedir %{_includedir}/electron' >> .yarnrc
|
||||||
|
Loading…
x
Reference in New Issue
Block a user