riot-desktop: update to 0.17.9.

This commit is contained in:
Rasmus Thomsen 2019-02-12 17:06:07 +01:00 committed by maxice8
parent 2a1c3323d0
commit 24ea9af46f
3 changed files with 13 additions and 11 deletions

View File

@ -1,7 +1,7 @@
[Desktop Entry]
Name=Riot
Comment=A feature-rich client for Matrix.org
Exec="/usr/bin/riot-desktop"
Exec=riot-desktop
Terminal=false
Type=Application
Icon=riot

View File

@ -1,2 +1,2 @@
#!/bin/sh
/usr/share/riot-desktop/dist/electron /usr/share/riot-desktop/electron_app "$@"
/usr/lib/riot-desktop/dist/electron /usr/lib/riot-desktop/electron_app "$@"

View File

@ -1,20 +1,21 @@
# Template file for 'riot-desktop'
pkgname=riot-desktop
version=0.17.8
version=0.17.9
revision=1
wrksrc="riot-web-${version}"
only_for_archs="i686 x86_64"
conf_files="/etc/${pkgname}/config.json"
hostmakedepends="git nodejs"
depends="c-ares ffmpeg gtk+3 http-parser libevent libxslt minizip nss re2 snappy"
short_desc="A glossy Matrix collaboration client, desktop version"
short_desc="Glossy Matrix collaboration client, desktop version"
maintainer="zethra <jediben97@gmail.com>"
license="Apache-2.0"
homepage="https://riot.im"
distfiles="https://github.com/vector-im/riot-web/archive/v${version}.tar.gz"
checksum=ded5fed8a967338bb43d6066b91aa67d039b76528d1be451274e4d9ef402db16
checksum=a97e2762b110c79f2495784b8278e44949c9f76486ba91b30fbcce5628b9ac90
nocross=yes
nostrip=yes
shlib_provides="libGLVESv2.so"
do_build() {
npm install
@ -24,14 +25,15 @@ do_build() {
}
do_install() {
mkdir -p $DESTDIR/usr/share/riot-desktop
mkdir -p $DESTDIR/etc/riot-desktop
vcopy node_modules/electron/dist /usr/share/riot-desktop/
vcopy electron_app /usr/share/riot-desktop/
vcopy webapp /usr/share/riot-desktop
vmkdir usr/lib/riot-desktop
vmkdir etc/riot-desktop
vcopy node_modules/electron/dist /usr/lib/riot-desktop/
vcopy electron_app /usr/lib/riot-desktop/
vcopy webapp /usr/lib/riot-desktop
vcopy origin_migrator /usr/lib/riot-desktop
vinstall config.sample.json 664 /etc/riot-desktop/ config.json
vlicense LICENSE
ln -s /etc/riot-desktop/config.json $DESTDIR/usr/share/riot-desktop/config.json
ln -s /etc/riot-desktop/config.json $DESTDIR/usr/lib/riot-desktop/config.json
vbin ${FILESDIR}/riot-desktop.sh riot-desktop
vinstall ${FILESDIR}/riot-desktop.desktop 644 /usr/share/applications/ riot-desktop.desktop
vinstall res/themes/riot/img/logos/riot-logo.svg 644 /usr/share/icons/hicolor/scalable/apps/ riot.svg