Rocket.Chat-Desktop: update to 3.0.2.
This commit is contained in:
parent
75ac83af14
commit
de55c18cdc
3 changed files with 10 additions and 25 deletions
|
@ -1,2 +1,2 @@
|
|||
#!/bin/sh
|
||||
exec electron7 /usr/lib/Rocket.Chat-Desktop.asar "$@"
|
||||
exec electron10 /usr/lib/Rocket.Chat-Desktop.asar "$@"
|
||||
|
|
|
@ -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);
|
||||
|
|
@ -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 <me@johnnynator.dev>"
|
||||
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@"$(</usr/lib/electron7/version)" @babel/core@7.8.7 @babel/preset-env@7.8.7 --non-interactive
|
||||
yarn upgrade electron@"$(</usr/lib/electron${_electron_version}/version)" --non-interactive
|
||||
}
|
||||
|
||||
do_build() {
|
||||
export NODE_ENV=production
|
||||
yarn gulp build
|
||||
yarn build
|
||||
yarn run electron-builder --linux --x64 --dir \
|
||||
-c.electronDist=/usr/lib/electron7 \
|
||||
-c.electronVersion="$(</usr/lib/electron7/version)"
|
||||
-c.electronDist=/usr/lib/electron${_electron_version} \
|
||||
-c.electronVersion="$(</usr/lib/electron${_electron_version}/version)"
|
||||
}
|
||||
do_install() {
|
||||
vinstall "${FILESDIR}/Rocket.Chat-Desktop.desktop" 644 usr/share/applications
|
||||
|
|
Loading…
Reference in a new issue