dev-qt/qtwebengine: rename IUSE=pdf to pdfium (qt6)

This is in part a message to future revdeps that having their
own USE=pdf will not work too well given it is default on
desktop profile and we do not really want to pull webengine
by default unless really wanted. Plus gives a way to disable
globally for arches where qtwebengine is not keyworded.

At worst this will become innacurate if qtpdf changes its
backing library.

IUSE is still in live-only so should not really disrupt.

Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
Ionen Wolkens
2023-09-09 12:07:21 -04:00
parent f31f050dc8
commit 794ccccb83
3 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -13,7 +13,7 @@
<use>
<flag name="designer">Install the QWebEngineView plugin used to add widgets in <pkg>dev-qt/designer</pkg> forms that display web pages.</flag>
<flag name="jumbo-build">Combine source files to speed up build process.</flag>
<flag name="pdf">Build the QtPdf module</flag>
<flag name="pdfium">Build the QtPdf module based on chromium's PDFium library</flag>
<flag name="qml">Build QML/QtQuick bindings and imports</flag>
<flag name="system-icu">Use the system-wide <pkg>dev-libs/icu</pkg> instead of bundled.</flag>
<flag name="widgets">Enable QtWidgets support</flag>
@@ -21,7 +21,7 @@ fi
IUSE="
+alsa bindist custom-cflags designer geolocation +jumbo-build kerberos
opengl pdf pulseaudio qml screencast +system-icu vulkan +widgets
opengl pdfium pulseaudio qml screencast +system-icu vulkan +widgets
"
REQUIRED_USE="
designer? ( qml widgets )
@@ -83,7 +83,7 @@ DEPEND="
x11-base/xorg-proto
x11-libs/libxshmfence
screencast? ( media-libs/libepoxy[egl(+)] )
pdf? ( net-print/cups )
pdfium? ( net-print/cups )
test? (
widgets? ( app-text/poppler[cxx(+)] )
)
@@ -159,7 +159,7 @@ src_prepare() {
src_configure() {
local mycmakeargs=(
$(qt_feature pdf qtpdf_build)
$(qt_feature pdfium qtpdf_build)
$(qt_feature qml qtpdf_quick_build)
$(qt_feature widgets qtpdf_widgets_build)
+3 -3
View File
@@ -21,7 +21,7 @@ fi
IUSE="
+alsa bindist custom-cflags designer geolocation +jumbo-build kerberos
opengl pdf pulseaudio qml screencast +system-icu vulkan +widgets
opengl pdfium pulseaudio qml screencast +system-icu vulkan +widgets
"
REQUIRED_USE="
designer? ( qml widgets )
@@ -83,7 +83,7 @@ DEPEND="
x11-base/xorg-proto
x11-libs/libxshmfence
screencast? ( media-libs/libepoxy[egl(+)] )
pdf? ( net-print/cups )
pdfium? ( net-print/cups )
test? (
widgets? ( app-text/poppler[cxx(+)] )
)
@@ -158,7 +158,7 @@ src_prepare() {
src_configure() {
local mycmakeargs=(
$(qt_feature pdf qtpdf_build)
$(qt_feature pdfium qtpdf_build)
$(qt_feature qml qtpdf_quick_build)
$(qt_feature widgets qtpdf_widgets_build)