From 1e7f965935f71d1d7ddc1b4c11d4a766724b088d Mon Sep 17 00:00:00 2001 From: Eloi Torrents Date: Mon, 4 Mar 2024 13:27:30 +0100 Subject: [PATCH] dooble: add dictionaries. --- srcpkgs/dooble/patches/dictionaries.patch | 11 +++++++++++ srcpkgs/dooble/template | 4 ++-- 2 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 srcpkgs/dooble/patches/dictionaries.patch diff --git a/srcpkgs/dooble/patches/dictionaries.patch b/srcpkgs/dooble/patches/dictionaries.patch new file mode 100644 index 00000000000000..f8bf80ee34466b --- /dev/null +++ b/srcpkgs/dooble/patches/dictionaries.patch @@ -0,0 +1,11 @@ +--- a/Source/dooble_settings.cc ++++ b/Source/dooble_settings.cc +@@ -2271,7 +2271,7 @@ void dooble_settings::show_qtwebengine_dictionaries_warning_label(void) + + if(bytes.trimmed().isEmpty()) + { +- bytes = "qtwebengine_dictionaries"; ++ bytes = "/usr/share/qt6/qtwebengine_dictionaries"; + + if(!QFileInfo(bytes).isReadable()) + { diff --git a/srcpkgs/dooble/template b/srcpkgs/dooble/template index 9c4933e551a356..c33baca5e05f67 100644 --- a/srcpkgs/dooble/template +++ b/srcpkgs/dooble/template @@ -1,13 +1,13 @@ # Template file for 'dooble' pkgname=dooble version=2024.01.25 -revision=1 +revision=2 archs="x86_64* aarch64*" build_style=qmake configure_args="dooble.pro" hostmakedepends="qt6-webengine qt6-declarative-devel" makedepends="qt6-charts-devel qt6-webengine-devel qt6-webchannel-devel qt6-location-devel qt6-charts-devel qt6-wayland python3-QtPy" -depends="qt6-charts qt6-core qt6-declarative qt6-gui qt6-network qt6-plugin-sqlite qt6-printsupport qt6-sql qt6-webengine qt6-widgets" +depends="qt6-charts qt6-core qt6-declarative qt6-gui qt6-network qt6-plugin-sqlite qt6-printsupport qt6-sql qt6-webengine qt6-widgets libreoffice-qtwebengine-dict" short_desc="Dooble, the scientific browser. Minimal, cute, and unusually stable" maintainer="Eloi Torrents " license="BSD-3-Clause"