Changeset View
Changeset View
Standalone View
Standalone View
package.yml
| name : riot | name : riot | ||||
| version : 1.0.3 | version : 1.0.4 | ||||
| release : 26 | release : 27 | ||||
| homepage : https://riot.im/ | homepage : https://riot.im/ | ||||
| source : | source : | ||||
| - https://github.com/vector-im/riot-web/archive/v1.0.3.tar.gz : 08fb87299b2589c93760112c03edc3a8e4962b966d78c1fe56bf39f97323d02a | - https://github.com/vector-im/riot-web/archive/v1.0.4.tar.gz : c09c4b817d67c8cf83ec5dffedf57ce1924153717664d676eee32a420116bb0b | ||||
| 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(gconf-2.0) | - pkgconfig(gconf-2.0) | ||||
| - pkgconfig(gdk-3.0) | - pkgconfig(gdk-3.0) | ||||
| - pkgconfig(pango) | - pkgconfig(pango) | ||||
| - pkgconfig(xcomposite) | - pkgconfig(xcomposite) | ||||
| - pkgconfig(xcursor) | - pkgconfig(xcursor) | ||||
| - pkgconfig(xtst) | - pkgconfig(xtst) | ||||
| - pkgconfig(xrandr) | - pkgconfig(xrandr) | ||||
| - pkgconfig(xscrnsaver) | - pkgconfig(xscrnsaver) | ||||
| - git | - git | ||||
| - nodejs | - yarn | ||||
JoshStrobl: yarn requires nodejs, so this isn't needed as a builddep. | |||||
| rundeps : | rundeps : | ||||
| - nodejs | - nodejs | ||||
| setup : | | setup : | | ||||
| npm install | yarn | ||||
Done Inline Actionsyarn will actually install deps if you pass just yarn JoshStrobl: yarn will actually install deps if you pass just `yarn` | |||||
Not Done Inline ActionsAhh okay, right! Thank you! alecbcs: Ahh okay, right! Thank you! | |||||
| build : | | build : | | ||||
| npm run build | yarn build | ||||
Done Inline ActionsYou require yarn yet you're not using yarn to install deps or do the building? JoshStrobl: You require yarn yet you're not using yarn to install deps or do the building? | |||||
Done Inline ActionsRiot's build script automatically uses yarn when it's detected. This was a bit convoluted however, so I've updated it to use the yarn commands. Thanks for the catch! alecbcs: Riot's build script automatically uses yarn when it's detected. This was a bit convoluted… | |||||
| node_modules/.bin/build -l --x64 --dir | node_modules/.bin/build -l --x64 --dir | ||||
| 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 electron_app/dist/linux-unpacked/* $installdir/usr/share/riot/ | ||||
| ln -sv ../share/riot/riot-web $installdir/usr/bin/riot-web | ln -sv ../share/riot/riot-web $installdir/usr/bin/riot-web | ||||
| # 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 electron_app/build/icons/${icon_size}x${icon_size}.png $installdir/usr/share/icons/hicolor/${icon_size}x${icon_size}/apps/riot-web.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.
yarn requires nodejs, so this isn't needed as a builddep.