summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormdrights <psychi2009@gmail.com>2018-12-20 14:16:31 +0800
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-12-20 21:00:49 +0700
commit894d1e385ad028fef7a96846bb2745065f824480 (patch)
treed11da0abfed54a1081d45a47f77c964589b086a5
parentf90fb955e7ceb755815af0eabbac2256485ca418 (diff)
downloadslackbuilds-894d1e385ad028fef7a96846bb2745065f824480.tar.gz
network/riot-web: Updated for version 0.17.8.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--network/riot-web/riot-web.SlackBuild13
-rw-r--r--network/riot-web/riot-web.desktop15
-rw-r--r--network/riot-web/riot-web.info6
-rw-r--r--network/riot-web/riot-web.png.128bin0 -> 7348 bytes
-rw-r--r--network/riot-web/riot-web.png.16bin0 -> 673 bytes
-rw-r--r--network/riot-web/riot-web.png.24bin0 -> 1118 bytes
-rw-r--r--network/riot-web/riot-web.png.256bin0 -> 14743 bytes
-rw-r--r--network/riot-web/riot-web.png.48bin0 -> 2620 bytes
-rw-r--r--network/riot-web/riot-web.png.512bin0 -> 30435 bytes
-rw-r--r--network/riot-web/riot-web.png.64bin0 -> 3652 bytes
-rw-r--r--network/riot-web/riot-web.png.96bin0 -> 5628 bytes
11 files changed, 30 insertions, 4 deletions
diff --git a/network/riot-web/riot-web.SlackBuild b/network/riot-web/riot-web.SlackBuild
index bf30a41679..f27f945163 100644
--- a/network/riot-web/riot-web.SlackBuild
+++ b/network/riot-web/riot-web.SlackBuild
@@ -25,7 +25,7 @@
PRGNAM=riot-web
PKGNAM=riot
-VERSION=${VERSION:-0.17.7}
+VERSION=${VERSION:-0.17.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -81,6 +81,17 @@ $BROWSER /opt/${PRGNAM}/index.html" \
chmod a+x $PKG/usr/bin/riot-web
+# Distribute its desktop file and its icon pics to icon dirs.
+mkdir -p $PKG/usr/share/applications/
+cp $CWD/riot-web.desktop ${PKG}/usr/share/applications/
+
+for dpi in 128 16 24 256 48 64 96 512; do
+ PNG="$PKG/usr/share/icons/hicolor/${dpi}x${dpi}/apps/"
+ mkdir -p $PNG
+ cp $CWD/riot-web.png.${dpi} ${PNG}/riot-web.png
+done
+
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/network/riot-web/riot-web.desktop b/network/riot-web/riot-web.desktop
new file mode 100644
index 0000000000..5aac9a79a7
--- /dev/null
+++ b/network/riot-web/riot-web.desktop
@@ -0,0 +1,15 @@
+[Desktop Entry]
+Name=Riot.im
+Name[zh_CN]=Riot.im 加密聊天室
+Name[zh_HK]=Riot.im 加密聊天室
+Name[zh_TW]=Riot.im 加密聊天室
+Comment=A feature-rich client for Matrix.org
+Comment[zh_CN]=一个基于 Matrix.org (邦联化)的端对端加密群聊工具
+Comment[zh_HK]=一个基于 Matrix.org (邦联化)的端对端加密群聊工具
+Comment[zh_TW]=一个基于 Matrix.org (邦联化)的端对端加密群聊工具
+Exec=/usr/bin/riot-web
+Terminal=false
+Type=Application
+Icon=riot-web
+StartupWMClass=riot
+Categories=Network;X-Antigfw
diff --git a/network/riot-web/riot-web.info b/network/riot-web/riot-web.info
index 2e08839e73..f24b244109 100644
--- a/network/riot-web/riot-web.info
+++ b/network/riot-web/riot-web.info
@@ -1,8 +1,8 @@
PRGNAM="riot-web"
-VERSION="0.17.7"
+VERSION="0.17.8"
HOMEPAGE="https://riot.im/"
-DOWNLOAD="https://github.com/vector-im/riot-web/releases/download/v0.17.7/riot-v0.17.7.tar.gz"
-MD5SUM="a37ebef0bb2c2ebb87408ca41ef377a0"
+DOWNLOAD="https://github.com/vector-im/riot-web/releases/download/v0.17.8/riot-v0.17.8.tar.gz"
+MD5SUM="34c44b0870344ed70882cdb4318e6927"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/riot-web/riot-web.png.128 b/network/riot-web/riot-web.png.128
new file mode 100644
index 0000000000..54149b1ae2
--- /dev/null
+++ b/network/riot-web/riot-web.png.128
Binary files differ
diff --git a/network/riot-web/riot-web.png.16 b/network/riot-web/riot-web.png.16
new file mode 100644
index 0000000000..def4ec5eee
--- /dev/null
+++ b/network/riot-web/riot-web.png.16
Binary files differ
diff --git a/network/riot-web/riot-web.png.24 b/network/riot-web/riot-web.png.24
new file mode 100644
index 0000000000..6fe144ea13
--- /dev/null
+++ b/network/riot-web/riot-web.png.24
Binary files differ
diff --git a/network/riot-web/riot-web.png.256 b/network/riot-web/riot-web.png.256
new file mode 100644
index 0000000000..563e6d5edc
--- /dev/null
+++ b/network/riot-web/riot-web.png.256
Binary files differ
diff --git a/network/riot-web/riot-web.png.48 b/network/riot-web/riot-web.png.48
new file mode 100644
index 0000000000..9cd225d402
--- /dev/null
+++ b/network/riot-web/riot-web.png.48
Binary files differ
diff --git a/network/riot-web/riot-web.png.512 b/network/riot-web/riot-web.png.512
new file mode 100644
index 0000000000..328a723c97
--- /dev/null
+++ b/network/riot-web/riot-web.png.512
Binary files differ
diff --git a/network/riot-web/riot-web.png.64 b/network/riot-web/riot-web.png.64
new file mode 100644
index 0000000000..20a7a6cff3
--- /dev/null
+++ b/network/riot-web/riot-web.png.64
Binary files differ
diff --git a/network/riot-web/riot-web.png.96 b/network/riot-web/riot-web.png.96
new file mode 100644
index 0000000000..eb48c2c91e
--- /dev/null
+++ b/network/riot-web/riot-web.png.96
Binary files differ