dooble: rebuild for Qt 6.7

This commit is contained in:
Đoàn Trần Công Danh 2024-06-25 20:48:55 +07:00
parent 24a5808428
commit b83478a532
2 changed files with 22 additions and 4 deletions

View File

@ -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())
{

View File

@ -1,13 +1,15 @@
# 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"
# hostmakedepends="qt6-webengine qt6-declarative-devel"
hostmakedepends="qt6-base qt6-webengine"
makedepends="qt6-charts-private-devel qt6-webengine-devel qt6-webchannel-devel
qt6-location-devel qt6-wayland-devel python3-QtPy"
depends="qt6-plugin-sqlite"
short_desc="Dooble, the scientific browser. Minimal, cute, and unusually stable"
maintainer="Eloi Torrents <eloitor@disroot.org>"
license="BSD-3-Clause"
@ -15,6 +17,11 @@ homepage="https://textbrowser.github.io/dooble/"
distfiles="https://github.com/textbrowser/dooble/archive/refs/tags/${version}.tar.gz"
checksum=56f320170f612fed37ccec0452c3cccdb84583e3f7751550e9b1eee3d9a24281
post_patch() {
vsed -i -e 's/Wzero-as-null-pointer-constant/Wno-zero-as-null-pointer-constant/' \
dooble.pro
}
do_install() {
vbin Dooble dooble
vinstall Distributions/dooble.desktop 644 usr/share/applications