diff --git a/srcpkgs/Rocket.Chat-Desktop/files/Rocket.Chat-Desktop b/srcpkgs/Rocket.Chat-Desktop/files/Rocket.Chat-Desktop index 003d642f9c4..90d482ab178 100644 --- a/srcpkgs/Rocket.Chat-Desktop/files/Rocket.Chat-Desktop +++ b/srcpkgs/Rocket.Chat-Desktop/files/Rocket.Chat-Desktop @@ -1,2 +1,2 @@ #!/bin/sh -exec electron7 /usr/lib/Rocket.Chat-Desktop.asar "$@" +exec electron10 /usr/lib/Rocket.Chat-Desktop.asar "$@" diff --git a/srcpkgs/Rocket.Chat-Desktop/patches/use-system-dictionaries.patch b/srcpkgs/Rocket.Chat-Desktop/patches/use-system-dictionaries.patch deleted file mode 100644 index e2a8d15b1b8..00000000000 --- a/srcpkgs/Rocket.Chat-Desktop/patches/use-system-dictionaries.patch +++ /dev/null @@ -1,16 +0,0 @@ -diff -ura package.orig/src/scripts/spellChecking.js package.new/src/scripts/spellChecking.js ---- src/scripts/spellChecking.js 2020-02-11 13:55:00.000000000 +0100 -+++ src/scripts/spellChecking.js 2020-02-11 15:52:41.031198167 +0100 -@@ -140,11 +140,7 @@ - - await provider.initialize(); - -- const appDirectoriesPath = path.join( -- remote.app.getAppPath(), -- remote.app.getAppPath().endsWith('app.asar') ? '..' : '.', -- 'dictionaries', -- ); -+ const appDirectoriesPath = '/usr/share/hunspell'; - - const appDictionaries = await getPairsOfDictionaryFiles(appDirectoriesPath); - diff --git a/srcpkgs/Rocket.Chat-Desktop/template b/srcpkgs/Rocket.Chat-Desktop/template index 1f5de3c34a7..6fdbe33ed31 100644 --- a/srcpkgs/Rocket.Chat-Desktop/template +++ b/srcpkgs/Rocket.Chat-Desktop/template @@ -1,30 +1,31 @@ # Template file for 'Rocket.Chat-Desktop' pkgname=Rocket.Chat-Desktop -version=2.17.11 +version=3.0.2 revision=1 +_electron_version=10 wrksrc="Rocket.Chat.Electron-${version}" hostmakedepends="yarn nodejs-lts python3 pkg-config app-builder" -makedepends="electron7 libvips-devel" -depends="electron7" +makedepends="electron${_electron_version} libvips-devel" +depends="electron${_electron_version}" short_desc="Rocket.Chat Native Cross-Platform Desktop Application via Electron" maintainer="John " license="MIT" homepage="https://rocket.chat/" distfiles="https://github.com/RocketChat/Rocket.Chat.Electron/archive/${version}.tar.gz" -checksum=2f13cc5d62b2246db8715809c4278748a770e5975f1a439a5d922ef7af4e26b7 +checksum=5ca518421dde4fbbf5f3b3b1904dd63562bc43f16bb9c169ffed07022033a0df export USE_SYSTEM_APP_BUILDER=true do_configure() { - yarn upgrade electron@"$(