summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Lisin2019-02-13 15:44:26 +0100
committerMatthias Lisin2019-02-13 15:44:26 +0100
commite448c8a87ef178fe20b017c48b0e5e24bd3f91ee (patch)
tree2ffc5647d0800f6fa32d3bb0f5224b86566caa47
parent9c2c05cb7bb944359bbdb87e4f2d5efbb3c9a302 (diff)
downloadaur-e448c8a87ef178fe20b017c48b0e5e24bd3f91ee.tar.gz
upgpkg: rocketchat-desktop 2.14.7-2
Removed the rather long (24h) notification timeout. (Thanks Turtizzle)
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD4
-rw-r--r--fix-notification-timeout.patch11
3 files changed, 17 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 50f882812434..a34b13198306 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = rocketchat-desktop
pkgdesc = Rocket.Chat Native Cross-Platform Desktop Application via Electron.
pkgver = 2.14.7
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/RocketChat/Rocket.Chat.Electron
arch = i686
arch = x86_64
@@ -18,12 +18,14 @@ pkgbase = rocketchat-desktop
source = fix-linux-target.patch
source = fix-gulp-release.patch
source = fix-dictionaries.patch
+ source = fix-notification-timeout.patch
source = rocketchat-desktop.desktop
sha512sums = 383fd17ce50fd7aaba6e48627343ed4e3b570485c378507a364989758cd88c5db1c0e3ad3a1a409d1c6478370d211fb27bb142c053685601f24d31e5d5b0c2e8
sha512sums = 2b39f5728c7d7aff2f59a568c1e3c63816c72d1055743e7bb233aafe6370524e835d58995097480deaed864ac22aea54b5c450689eb18bee0bed0bc733810792
sha512sums = 31e0b1d7d9a5fefa4ad4d186df2b3eb8849d7dee9dd3fa14fff6741006ef31191575a23ba62a86f53cf9fc692d138db6a380e2ad860077bc3d854c5a9083b716
sha512sums = 796a2a56a1facc2519d65955bb39d78733c13b5993c4b03cd2af11b83aa9c6132c0fbf9e7160146c6c87bc91cb04c4e66932fe891449d031c787284b5ce9d72a
sha512sums = ed0bc8884ea3c7ca50ae8f6aef415aecfac89f958939c1ccb6c86480a7210ead0df2fe0548e465fc1dd559436bae9db779d408e8a754e986cc8a976cd6590878
+ sha512sums = 3d7c614b88cfb7ecbbcafa729e1d41357747ae8d9e39e6eeef9a118be82b0839875f117dbef91c3a2e64c6a276a2bf82678872d8fd3b76a2952b665cd4b1a147
sha512sums = d87664b9bdf30eac3011393d094962e0d568a94b5eaf4c8e5f17529442dcba905cea7341527066102a97a07a981acd6ce045b8737eb78a7d81a2a2d05023fe26
pkgname = rocketchat-desktop
diff --git a/PKGBUILD b/PKGBUILD
index 3db42b66ce48..773bb3d28998 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=rocketchat-desktop
pkgver=2.14.7
_srcname="Rocket.Chat.Electron-$pkgver"
-pkgrel=1
+pkgrel=2
pkgdesc='Rocket.Chat Native Cross-Platform Desktop Application via Electron.'
arch=('i686' 'x86_64')
url="https://github.com/RocketChat/Rocket.Chat.Electron"
@@ -17,12 +17,14 @@ source=("$pkgname-$pkgver.tar.gz::https://github.com/RocketChat/Rocket.Chat.Elec
fix-linux-target.patch
fix-gulp-release.patch
fix-dictionaries.patch
+ fix-notification-timeout.patch
rocketchat-desktop.desktop)
sha512sums=('383fd17ce50fd7aaba6e48627343ed4e3b570485c378507a364989758cd88c5db1c0e3ad3a1a409d1c6478370d211fb27bb142c053685601f24d31e5d5b0c2e8'
'2b39f5728c7d7aff2f59a568c1e3c63816c72d1055743e7bb233aafe6370524e835d58995097480deaed864ac22aea54b5c450689eb18bee0bed0bc733810792'
'31e0b1d7d9a5fefa4ad4d186df2b3eb8849d7dee9dd3fa14fff6741006ef31191575a23ba62a86f53cf9fc692d138db6a380e2ad860077bc3d854c5a9083b716'
'796a2a56a1facc2519d65955bb39d78733c13b5993c4b03cd2af11b83aa9c6132c0fbf9e7160146c6c87bc91cb04c4e66932fe891449d031c787284b5ce9d72a'
'ed0bc8884ea3c7ca50ae8f6aef415aecfac89f958939c1ccb6c86480a7210ead0df2fe0548e465fc1dd559436bae9db779d408e8a754e986cc8a976cd6590878'
+ '3d7c614b88cfb7ecbbcafa729e1d41357747ae8d9e39e6eeef9a118be82b0839875f117dbef91c3a2e64c6a276a2bf82678872d8fd3b76a2952b665cd4b1a147'
'd87664b9bdf30eac3011393d094962e0d568a94b5eaf4c8e5f17529442dcba905cea7341527066102a97a07a981acd6ce045b8737eb78a7d81a2a2d05023fe26')
if [[ $CARCH == "i686" ]]; then
_releasename="release:linux-ia32"
diff --git a/fix-notification-timeout.patch b/fix-notification-timeout.patch
new file mode 100644
index 000000000000..e457d739d03b
--- /dev/null
+++ b/fix-notification-timeout.patch
@@ -0,0 +1,11 @@
+diff -ura package.orig/src/background/notifications.js package.new/src/background/notifications.js
+--- package.orig/src/background/notifications.js 2019-02-13 15:37:30.716402425 +0100
++++ package.new/src/background/notifications.js 2019-02-13 15:38:08.933377619 +0100
+@@ -86,7 +86,6 @@
+ body: body && this.escapeBody(body),
+ icon: icon ? path.resolve(icon) : 'info',
+ appName: app.getName(),
+- timeout: 24 * 60 * 60 * 1000,
+ sound: silent ? undefined : 'message-new-instant',
+ actions: process.env.XDG_CURRENT_DESKTOP !== 'Unity' ? {
+ default: '',