Here is a simple www/py-qt6webengine ports. It's more or less a simple
copy from www/py-qtwebengine.
I tested it with the diff below. As I am not a qutebrowser user I cannot
say if it's better or worse.
Please keep in mind that you need qt6-qtwebengine-6.7.3p2 (p2!) if you
want to test it, otherwise you will see qtwebengine-related crashes.
Information for inst:py3-qt6webengine-6.7.0
Comment:
python Qt6WebEngine bindings
Description:
Python bindings for the Qt6 toolkit, QtWebEngine module
Maintainer: The OpenBSD ports mailing-list <ports@openbsd.org>
WWW: https://www.riverbankcomputing.com/software/pyqtwebengine/
diff --git a/www/qutebrowser/Makefile b/www/qutebrowser/Makefile
index 219bc614e66..b8f315d488d 100644
--- a/www/qutebrowser/Makefile
+++ b/www/qutebrowser/Makefile
@@ -2,6 +2,7 @@ COMMENT= keyboard-focused browser with a minimal GUI
MODPY_EGG_VERSION= 3.3.1
DISTNAME= qutebrowser-${MODPY_EGG_VERSION}
+REVISION= 0
HOMEPAGE= https://www.qutebrowser.org/
@@ -18,9 +19,9 @@ MODPY_PYBUILD= setuptools
RUN_DEPENDS= devel/desktop-file-utils \
textproc/py-yaml${MODPY_FLAVOR} \
x11/gtk+4,-guic \
- x11/py-qt5${MODPY_FLAVOR} \
+ x11/py-qt6${MODPY_FLAVOR} \
www/py-jinja2${MODPY_FLAVOR} \
- www/py-qtwebengine${MODPY_FLAVOR}
+ www/py-qt6webengine${MODPY_FLAVOR}
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/applications/
diff --git a/www/qutebrowser/patches/patch-qutebrowser_qt_machinery_py b/www/qutebrowser/patches/patch-qutebrowser_qt_machinery_py
deleted file mode 100644
index 63584d4d7c2..00000000000
--- a/www/qutebrowser/patches/patch-qutebrowser_qt_machinery_py
+++ /dev/null
@@ -1,12 +0,0 @@
-Index: qutebrowser/qt/machinery.py
---- qutebrowser/qt/machinery.py.orig
-+++ qutebrowser/qt/machinery.py
-@@ -38,7 +38,7 @@ from qutebrowser.utils import log
- # sed -i 's/_WRAPPER_OVERRIDE = .*/_WRAPPER_OVERRIDE = "PyQt6"/' qutebrowser/qt/machinery.py
- #
- # Users: Set the QUTE_QT_WRAPPER environment variable to change the default wrapper.
--_WRAPPER_OVERRIDE = None # type: ignore[var-annotated]
-+_WRAPPER_OVERRIDE = "PyQt5" # type: ignore[var-annotated]
-
- WRAPPERS = [
- "PyQt6",
No comments:
Post a Comment