summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2024-04-14 21:08:24 -0400
committerIonen Wolkens <ionen@gentoo.org>2024-04-14 21:15:38 -0400
commit2d27d585c0f269f0a0e0762917e528e8340d5ea6 (patch)
tree35585a07047ba97bcbf906f8c6bf7b80c0a6eafb /www-client/qutebrowser
parentapp-portage/mirrorselect: enable py3.12 (diff)
downloadgentoo-2d27d585c0f269f0a0e0762917e528e8340d5ea6.tar.gz
gentoo-2d27d585c0f269f0a0e0762917e528e8340d5ea6.tar.bz2
gentoo-2d27d585c0f269f0a0e0762917e528e8340d5ea6.zip
www-client/qutebrowser: limit pdfjs to <4.1 for now
Incompatible with the non-legacy sdist of 4.1.329 and will fail to load any pdf with type errors. Not that 4.1.329 is in-tree yet, just doing it before it breaks (revbumps are cheap for this package) and will revisit later. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'www-client/qutebrowser')
-rw-r--r--www-client/qutebrowser/qutebrowser-3.1.0-r1.ebuild (renamed from www-client/qutebrowser/qutebrowser-3.1.0.ebuild)2
-rw-r--r--www-client/qutebrowser/qutebrowser-9999.ebuild5
2 files changed, 5 insertions, 2 deletions
diff --git a/www-client/qutebrowser/qutebrowser-3.1.0.ebuild b/www-client/qutebrowser/qutebrowser-3.1.0-r1.ebuild
index a8f02d769926..f40f5009dff3 100644
--- a/www-client/qutebrowser/qutebrowser-3.1.0.ebuild
+++ b/www-client/qutebrowser/qutebrowser-3.1.0-r1.ebuild
@@ -41,7 +41,7 @@ RDEPEND="
dev-qt/qtbase:6[icu,sqlite]
dev-python/PyQt6[${PYTHON_USEDEP},dbus,gui,network,opengl,printsupport,qml,sql,widgets]
dev-python/PyQt6-WebEngine[${PYTHON_USEDEP},widgets]
- pdf? ( www-plugins/pdfjs )
+ pdf? ( <www-plugins/pdfjs-4.1 )
)
!qt6? (
dev-qt/qtcore:5[icu]
diff --git a/www-client/qutebrowser/qutebrowser-9999.ebuild b/www-client/qutebrowser/qutebrowser-9999.ebuild
index 63c251546529..c5e8c1d91fae 100644
--- a/www-client/qutebrowser/qutebrowser-9999.ebuild
+++ b/www-client/qutebrowser/qutebrowser-9999.ebuild
@@ -28,6 +28,9 @@ LICENSE="GPL-3+"
SLOT="0"
IUSE="+adblock pdf widevine"
+# TODO: keep an eye on fixes for pdfjs-4.1, may potentially be solved by
+# newer qtwebengine, qutebrowser upstream workarounds, pdfjs changes, or
+# if our pdfjs ebuild ever switch to the legacy sdist
RDEPEND="
$(python_gen_cond_dep '
dev-python/PyQt6-WebEngine[${PYTHON_USEDEP},widgets]
@@ -40,7 +43,7 @@ RDEPEND="
dev-python/zipp[${PYTHON_USEDEP}]
dev-qt/qtbase:6[icu,sqlite]
adblock? ( dev-python/adblock[${PYTHON_USEDEP}] )
- pdf? ( www-plugins/pdfjs )
+ pdf? ( <www-plugins/pdfjs-4.1 )
widevine? ( www-plugins/chrome-binary-plugins )
')
"