Changeset View
Changeset View
Standalone View
Standalone View
package.yml
| name : element | name : element | ||||
| version : 1.7.16 | version : 1.7.17 | ||||
| release : 81 | release : 82 | ||||
| homepage : https://element.io/ | homepage : https://element.io/ | ||||
| source : | source : | ||||
| - git|https://github.com/vector-im/element-desktop.git : v1.7.16 | - git|https://github.com/vector-im/element-desktop.git : v1.7.17 | ||||
| - git|https://github.com/vector-im/element-web.git : v1.7.16 | - git|https://github.com/vector-im/element-web.git : v1.7.17 | ||||
| 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. | ||||
| description: | | description: | | ||||
| All-in-one secure chat app for teams, friends and organisations. Keeps conversations in your control, safe from data-mining and ads. Talk to everyone through the open global Matrix network, protected by proper end-to-end encryption. | All-in-one secure chat app for teams, friends and organisations. Keeps conversations in your control, safe from data-mining and ads. Talk to everyone through the open global Matrix network, protected by proper end-to-end encryption. | ||||
| replaces : | replaces : | ||||
| - riot | - riot | ||||
| Show All 9 Lines | builddeps : | ||||
| - pkgconfig(xcomposite) | - pkgconfig(xcomposite) | ||||
| - pkgconfig(xcursor) | - pkgconfig(xcursor) | ||||
| - pkgconfig(xtst) | - pkgconfig(xtst) | ||||
| - pkgconfig(xrandr) | - pkgconfig(xrandr) | ||||
| - pkgconfig(xscrnsaver) | - pkgconfig(xscrnsaver) | ||||
| - cargo | - cargo | ||||
| - git | - git | ||||
| - yarn | - yarn | ||||
| - jq | |||||
| rundeps : | 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 | ||||
| # Remove update URL from config to disable auto-updates | # Disable updates/tracking, enable labs settings | ||||
| sed -i 's|"https://packages.riot.im/desktop/update/"|null|g' element.io/release/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 | ||||
| build : | | build : | | ||||
| # Build element-web | # Build element-web | ||||
| yarn --cwd element-web build | yarn --cwd element-web build | ||||
| # Build element-desktop | # Build element-desktop | ||||
| yarn run build:native | yarn run build:native | ||||
| yarn run build | yarn run build | ||||
| install : | | install : | | ||||
| install -dm00644 $installdir/usr/bin | install -dm00644 $installdir/usr/bin | ||||
| install -dm00644 $installdir/usr/share/element | install -dm00644 $installdir/usr/share/element | ||||
| cp -Rv dist/linux-unpacked/* $installdir/usr/share/element | cp -Rv dist/linux-unpacked/* $installdir/usr/share/element | ||||
| cp -Rv element-web/webapp $installdir/usr/share/element/resources/ | cp -Rv element-web/webapp $installdir/usr/share/element/resources/ | ||||
| ln -sv ../share/element/element-desktop $installdir/usr/bin/element-desktop | ln -sv ../share/element/element-desktop $installdir/usr/bin/element-desktop | ||||
| # Install default configuration | # Install configuration | ||||
| install -Dm00644 element.io/release/config.json $installdir/usr/share/element/resources/webapp/ | install -Dm00644 config.json $installdir/usr/share/element/resources/webapp/ | ||||
| # Install Icons | # Install Icons | ||||
| 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.