Changeset View
Changeset View
Standalone View
Standalone View
package.yml
| name : riot | name : riot | ||||
| version : 1.6.0 | version : 1.6.8 | ||||
| release : 64 | release : 67 | ||||
JoshStrobl: You should only be incrementing by 1. | |||||
| homepage : https://riot.im/ | homepage : https://riot.im/ | ||||
| source : | source : | ||||
| - https://github.com/vector-im/riot-web/archive/v1.6.0.tar.gz : 0e54adbda71e2d572f1ecdec3a6f07cb6379e5c9f8223bff19580d2e663f50c4 | - git|https://github.com/vector-im/riot-desktop.git : v1.6.8 | ||||
| - git|https://github.com/vector-im/riot-web.git : v1.6.8 | |||||
| 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 : Electron based Matrix client built using the Matrix React SDK | ||||
| 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. | 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. | ||||
| builddeps : | builddeps : | ||||
| - pkgconfig(alsa) | - pkgconfig(alsa) | ||||
| - pkgconfig(atk) | - pkgconfig(atk) | ||||
| - pkgconfig(gbm) | |||||
| - pkgconfig(gconf-2.0) | - pkgconfig(gconf-2.0) | ||||
| - pkgconfig(gdk-3.0) | - pkgconfig(gdk-3.0) | ||||
| - pkgconfig(libdrm) | |||||
JoshStroblUnsubmitted Not Done Inline ActionsThis isn't necessary. You're already specifying a pkgconfig for mesalib. This is a dep of that. JoshStrobl: This isn't necessary. You're already specifying a pkgconfig for mesalib. This is a dep of that. | |||||
| - pkgconfig(libsecret-1) | |||||
| - pkgconfig(pango) | - pkgconfig(pango) | ||||
| - pkgconfig(sqlcipher) | |||||
| - pkgconfig(xcomposite) | - pkgconfig(xcomposite) | ||||
| - pkgconfig(xcursor) | - pkgconfig(xcursor) | ||||
| - pkgconfig(xtst) | - pkgconfig(xtst) | ||||
| - pkgconfig(xrandr) | - pkgconfig(xrandr) | ||||
| - pkgconfig(xscrnsaver) | - pkgconfig(xscrnsaver) | ||||
| - cargo | |||||
| - git | - git | ||||
| - yarn | - yarn | ||||
| rundeps : | rundeps : | ||||
| - nodejs | - nodejs | ||||
| - libsecret | |||||
| - sqlcipher | |||||
| setup : | | setup : | | ||||
| yarn | # Symlink riot-web to riot-desktop | ||||
JoshStroblUnsubmitted Not Done Inline ActionsBut you aren't symlinking anything here. JoshStrobl: But you aren't symlinking anything here. | |||||
| cp -a $sources/riot-web.git riot-web | |||||
| # Perform yarn install on both | |||||
| yarn install | |||||
| yarn --cwd riot-web install | |||||
| build : | | build : | | ||||
| yarn build | # Build riot-web | ||||
| node_modules/.bin/electron-builder -l --x64 --dir | yarn --cwd riot-web build | ||||
| # Build riot-desktop | |||||
| yarn run build:native | |||||
| 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/riot | ||||
| cp -Rv electron_app/dist/linux-unpacked/* $installdir/usr/share/riot/ | cp -Rv dist/linux-unpacked/* $installdir/usr/share/riot/ | ||||
| ln -sv ../share/riot/riot-web $installdir/usr/bin/riot-web | cp -Rv riot-web/webapp $installdir/usr/share/riot/resources/ | ||||
| ln -sv ../share/riot/riot-desktop $installdir/usr/bin/riot-desktop | |||||
| # Install default configuration | |||||
| install -Dm00644 electron_app/riot.im/config.json $installdir/usr/share/riot/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 electron_app/build/icons/${icon_size}x${icon_size}.png $installdir/usr/share/icons/hicolor/${icon_size}x${icon_size}/apps/riot-web.png | install -Dm00644 build/icons/${icon_size}x${icon_size}.png $installdir/usr/share/icons/hicolor/${icon_size}x${icon_size}/apps/riot-desktop.png | ||||
| done | done | ||||
| # Desktop File | # Desktop File | ||||
| install -Dm00644 $pkgfiles/riot.desktop $installdir/usr/share/applications/riot.desktop | install -Dm00644 $pkgfiles/riot.desktop $installdir/usr/share/applications/riot.desktop | ||||
Copyright © 2015-2021 Solus Project. The Solus logo is Copyright © 2016-2021 Solus Project. All Rights Reserved.
You should only be incrementing by 1.