Changeset View
Changeset View
Standalone View
Standalone View
package.yml
| name : element | name : element | ||||
| version : 1.11.2 | version : 1.11.2 | ||||
| release : 122 | release : 123 | ||||
| homepage : https://element.io/ | homepage : https://element.io/ | ||||
| source : | source : | ||||
| - git|https://github.com/vector-im/element-desktop.git : v1.11.2 | - git|https://github.com/vector-im/element-desktop.git : v1.11.2 | ||||
| - git|https://github.com/vector-im/element-web.git : v1.11.2 | - git|https://github.com/vector-im/element-web.git : v1.11.2 | ||||
| license : Apache-2.0 | license : Apache-2.0 | ||||
| component : network.im | component : network.im | ||||
| networking : yes | networking : yes | ||||
| summary : A glossy Matrix collaboration client for desktop. | summary : A glossy Matrix collaboration client for desktop. | ||||
| Show All 23 Lines | rundeps : | ||||
| - nodejs | - nodejs | ||||
| - libsecret | - libsecret | ||||
| - sqlcipher | - sqlcipher | ||||
| setup : | | setup : | | ||||
| # Copy element-web to the build directory | # Copy element-web to the build directory | ||||
| cp -a $sources/element-web.git element-web | cp -a $sources/element-web.git element-web | ||||
| # Temporary Electron override for a version with --ozone-platform-hint | # Temporary Electron override for a version with --ozone-platform-hint | ||||
| export ELECTRON_VERSION=19.0.10 | export ELECTRON_VERSION=19.0.11 | ||||
| npm install electron@$ELECTRON_VERSION | npm install electron@$ELECTRON_VERSION | ||||
| # Disable updates/tracking, enable labs settings | # Disable updates/tracking, enable labs settings | ||||
| jq '.update_base_url = null | .piwik = null | .showLabsSettings = true' element.io/release/config.json > config.json | jq '.update_base_url = null | .piwik = null | .showLabsSettings = true' element.io/release/config.json > config.json | ||||
| # Perform yarn install on both | # Perform yarn install on both | ||||
| yarn install | yarn install | ||||
| yarn --cwd element-web install | yarn --cwd element-web install | ||||
| Show All 18 Lines | install : | | ||||
| for icon_size in 16 24 48 64 96 128 256 512 | for icon_size in 16 24 48 64 96 128 256 512 | ||||
| do | do | ||||
| install -Dm00644 build/icons/${icon_size}x${icon_size}.png $installdir/usr/share/icons/hicolor/${icon_size}x${icon_size}/apps/element-desktop.png | install -Dm00644 build/icons/${icon_size}x${icon_size}.png $installdir/usr/share/icons/hicolor/${icon_size}x${icon_size}/apps/element-desktop.png | ||||
| # Symlink for existing .desktop files | # Symlink for existing .desktop files | ||||
| ln -s element-desktop.png $installdir/usr/share/icons/hicolor/${icon_size}x${icon_size}/apps/element.png | ln -s element-desktop.png $installdir/usr/share/icons/hicolor/${icon_size}x${icon_size}/apps/element.png | ||||
| done | done | ||||
| # Desktop File | # Desktop File | ||||
| install -Dm00644 $pkgfiles/element.desktop $installdir/usr/share/applications/element.desktop | install -Dm00644 $pkgfiles/Element.desktop $installdir/usr/share/applications/Element.desktop | ||||
Copyright © 2015-2021 Solus Project. The Solus logo is Copyright © 2016-2021 Solus Project. All Rights Reserved.