commit:     76e0867ea0fae6205396052c132d77b71a841752
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 24 16:46:40 2025 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Mon Mar 24 16:55:38 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76e0867e

www-client/qutebrowser: add pdfjs upper bound for now

Broken, ideally would need to package the (recommended by upstream)
"legacy" version of pdfjs which probably still works (the legacy
version is not an "old" branch but rather a compatibility edition
that also exists for the latest version)

Non-legacy may possibly work with Qt 6.9.x given chromium-130, but
too early to depend on that.

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 .../{qutebrowser-3.4.0.ebuild => qutebrowser-3.4.0-r1.ebuild}         | 2 +-
 www-client/qutebrowser/qutebrowser-9999.ebuild                        | 4 +++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/www-client/qutebrowser/qutebrowser-3.4.0.ebuild 
b/www-client/qutebrowser/qutebrowser-3.4.0-r1.ebuild
similarity index 99%
rename from www-client/qutebrowser/qutebrowser-3.4.0.ebuild
rename to www-client/qutebrowser/qutebrowser-3.4.0-r1.ebuild
index 81d428f69486..eabfd40f5f79 100644
--- a/www-client/qutebrowser/qutebrowser-3.4.0.ebuild
+++ b/www-client/qutebrowser/qutebrowser-3.4.0-r1.ebuild
@@ -40,7 +40,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-5 )
                widevine? ( www-plugins/chrome-binary-plugins )
        ')
 "

diff --git a/www-client/qutebrowser/qutebrowser-9999.ebuild 
b/www-client/qutebrowser/qutebrowser-9999.ebuild
index 1ce28acc4271..154cb9abbd97 100644
--- a/www-client/qutebrowser/qutebrowser-9999.ebuild
+++ b/www-client/qutebrowser/qutebrowser-9999.ebuild
@@ -28,6 +28,8 @@ LICENSE="GPL-3+"
 SLOT="0"
 IUSE="+adblock pdf widevine"
 
+# TODO: check if pdfjs-5 works again with qtwebengine-6.9.x, or try the
+# (unpackaged) legacy edition of pdfjs-5 meant for old chromium compat.
 RDEPEND="
        $(python_gen_cond_dep '
                dev-python/pyqt6-webengine[${PYTHON_USEDEP},widgets]
@@ -40,7 +42,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-5 )
                widevine? ( www-plugins/chrome-binary-plugins )
        ')
 "

Reply via email to