Changeset View
Changeset View
Standalone View
Standalone View
package.yml
| name : riot | name : element | ||||
| version : 1.6.8 | version : 1.7.1 | ||||
| release : 66 | release : 67 | ||||
| homepage : https://riot.im/ | homepage : https://element.io/ | ||||
| source : | source : | ||||
| - git|https://github.com/vector-im/riot-desktop.git : v1.6.8 | - git|https://github.com/vector-im/riot-desktop.git : v1.7.1 | ||||
| - git|https://github.com/vector-im/riot-web.git : v1.6.8 | - git|https://github.com/vector-im/riot-web.git : v1.7.1 | ||||
| license : Apache-2.0 | license : Apache-2.0 | ||||
| component : network.im | component : network.im | ||||
| networking : yes | networking : yes | ||||
| summary : Electron based Matrix client built using the Matrix React SDK | summary : A glossy Matrix collaboration client for desktop. | ||||
| description: | | description: | | ||||
| Riot is an electron based Matrix client that allows cross platform communication between IRC, slack, gitter and riot/matrix users. Also has secure end to end encrypted chat through text, audio and video with users of riot/matrix on Android, iOS, Windows, OSX, Linux and web browsers. | 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 : | |||||
| - riot | |||||
| builddeps : | builddeps : | ||||
| - pkgconfig(alsa) | - pkgconfig(alsa) | ||||
| - pkgconfig(atk) | - pkgconfig(atk) | ||||
| - pkgconfig(gbm) | - pkgconfig(gbm) | ||||
| - pkgconfig(gconf-2.0) | - pkgconfig(gconf-2.0) | ||||
| - pkgconfig(gdk-3.0) | - pkgconfig(gdk-3.0) | ||||
| - pkgconfig(libsecret-1) | - pkgconfig(libsecret-1) | ||||
| - pkgconfig(pango) | - pkgconfig(pango) | ||||
| - pkgconfig(sqlcipher) | - pkgconfig(sqlcipher) | ||||
| - 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 | ||||
| rundeps : | rundeps : | ||||
| - nodejs | - nodejs | ||||
| - libsecret | - libsecret | ||||
| - sqlcipher | - sqlcipher | ||||
| setup : | | setup : | | ||||
| # Copy riot-web to the build directory | # Copy element-web to the build directory | ||||
| cp -a $sources/riot-web.git riot-web | cp -a $sources/riot-web.git element-web | ||||
| # Remove update URL from config to disable auto-updates | # Remove update URL from config to disable auto-updates | ||||
| sed -i 's|"https://packages.riot.im/desktop/update/"|null|g' riot.im/release/config.json | sed -i 's|"https://packages.riot.im/desktop/update/"|null|g' element.io/release/config.json | ||||
| # Perform yarn install on both | # Perform yarn install on both | ||||
| yarn install | yarn install | ||||
| yarn --cwd riot-web install | yarn --cwd element-web install | ||||
| build : | | build : | | ||||
| # Build riot-web | # Build element-web | ||||
| yarn --cwd riot-web build | yarn --cwd element-web build | ||||
| # Build riot-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/riot | install -dm00644 $installdir/usr/share/element | ||||
| cp -Rv dist/linux-unpacked/* $installdir/usr/share/riot/ | cp -Rv dist/linux-unpacked/* $installdir/usr/share/element | ||||
| cp -Rv riot-web/webapp $installdir/usr/share/riot/resources/ | cp -Rv element-web/webapp $installdir/usr/share/element/resources/ | ||||
| ln -sv ../share/riot/riot-desktop $installdir/usr/bin/riot-desktop | ln -sv ../share/element/element-desktop $installdir/usr/bin/element-desktop | ||||
| # Install default configuration | # Install default configuration | ||||
| install -Dm00644 riot.im/release/config.json $installdir/usr/share/riot/resources/webapp/ | install -Dm00644 element.io/release/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/riot-desktop.png | install -Dm00644 build/icons/${icon_size}x${icon_size}.png $installdir/usr/share/icons/hicolor/${icon_size}x${icon_size}/apps/element.png | ||||
| done | done | ||||
| # Desktop File | # Desktop File | ||||
| install -Dm00644 $pkgfiles/riot.desktop $installdir/usr/share/applications/riot.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.