Accepting request 1094867 from devel:languages:nodejs
OBS-URL: https://build.opensuse.org/request/show/1094867 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/element-desktop?expand=0&rev=37
This commit is contained in:
commit
be0f55a87f
@ -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>
|
||||||
|
|
||||||
|
@ -40,7 +40,6 @@ BuildRequires: rust
|
|||||||
BuildRequires: cargo
|
BuildRequires: cargo
|
||||||
BuildRequires: python3
|
BuildRequires: python3
|
||||||
BuildRequires: sqlcipher-devel
|
BuildRequires: sqlcipher-devel
|
||||||
BuildRequires: openssh-fips
|
|
||||||
BuildRequires: libsecret-devel
|
BuildRequires: libsecret-devel
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
Requires: element-web = %{version}
|
Requires: element-web = %{version}
|
||||||
@ -49,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
|
||||||
|
|
||||||
@ -65,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
|
||||||
@ -130,7 +137,7 @@ done
|
|||||||
%config(noreplace) %{_sysconfdir}/element/config.json
|
%config(noreplace) %{_sysconfdir}/element/config.json
|
||||||
%{_sysconfdir}/webapps/element/config.json
|
%{_sysconfdir}/webapps/element/config.json
|
||||||
%{_datadir}/webapps/element/config.json
|
%{_datadir}/webapps/element/config.json
|
||||||
%{_sysconfdir}/element/
|
%dir %{_sysconfdir}/element/
|
||||||
%{_datadir}/applications/io.element.Element.desktop
|
%{_datadir}/applications/io.element.Element.desktop
|
||||||
%{_datadir}/icons/hicolor/scalable/apps/io.element.Element.svg
|
%{_datadir}/icons/hicolor/scalable/apps/io.element.Element.svg
|
||||||
%{_datadir}/icons/hicolor/*/apps/io.element.Element.png
|
%{_datadir}/icons/hicolor/*/apps/io.element.Element.png
|
||||||
|
Loading…
Reference in New Issue
Block a user