summaryrefslogtreecommitdiff
path: root/dev-qt
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2023-09-13 10:38:13 -0400
committerIonen Wolkens <ionen@gentoo.org>2023-09-13 12:40:17 -0400
commit46febdd863a0782267b27d3e8f3634891db8ce86 (patch)
tree137123df03c1abaf292ceeb377ab5873b4a55ccf /dev-qt
parentdev-qt/qtbase: update sql options in 6.6+ (diff)
downloadgentoo-46febdd863a0782267b27d3e8f3634891db8ce86.tar.gz
gentoo-46febdd863a0782267b27d3e8f3634891db8ce86.tar.bz2
gentoo-46febdd863a0782267b27d3e8f3634891db8ce86.zip
dev-qt/qtbase: add IUSE=renderdoc in 6.7+
Have not really looked at 6.7+ yet, but happened to see this one. Albeit overall kind of obscure, would've hard disabled if not packaged. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'dev-qt')
-rw-r--r--dev-qt/qtbase/metadata.xml3
-rw-r--r--dev-qt/qtbase/qtbase-6.9999.ebuild5
2 files changed, 6 insertions, 2 deletions
diff --git a/dev-qt/qtbase/metadata.xml b/dev-qt/qtbase/metadata.xml
index 1ed99ac060a1..852224aa2c56 100644
--- a/dev-qt/qtbase/metadata.xml
+++ b/dev-qt/qtbase/metadata.xml
@@ -6,6 +6,7 @@
<name>Gentoo Qt Project</name>
</maintainer>
<use>
+ <flag name="X">Build the XCB platform plugin and enable X11 integration</flag>
<flag name="brotli">Enable support for Brotli decompression</flag>
<flag name="concurrent">Build Qt6Concurrent module</flag>
<flag name="dbus">Build Qt6DBus module</flag>
@@ -17,10 +18,10 @@
<flag name="libinput">Enable support for input devices via <pkg>dev-libs/libinput</pkg></flag>
<flag name="libproxy">Use <pkg>net-libs/libproxy</pkg> for automatic HTTP/SOCKS proxy configuration</flag>
<flag name="network">Build Qt6Network module</flag>
+ <flag name="renderdoc">Enable support for capturing graphic's API calls using <pkg>media-gfx/renderdoc</pkg></flag>
<flag name="sql">Build Qt6Sql module</flag>
<flag name="tslib">Enable support for touchscreen devices via <pkg>x11-libs/tslib</pkg></flag>
<flag name="widgets">Build Qt6Widgets module</flag>
- <flag name="X">Build the XCB platform plugin and enable X11 integration</flag>
</use>
<upstream>
<bugs-to>https://bugreports.qt.io/</bugs-to>
diff --git a/dev-qt/qtbase/qtbase-6.9999.ebuild b/dev-qt/qtbase/qtbase-6.9999.ebuild
index 980755e275ba..b5545709934f 100644
--- a/dev-qt/qtbase/qtbase-6.9999.ebuild
+++ b/dev-qt/qtbase/qtbase-6.9999.ebuild
@@ -18,7 +18,7 @@ declare -A QT6_IUSE=(
[gui]="
+X accessibility eglfs evdev gles2-only +libinput
- opengl tslib vulkan +widgets
+ opengl renderdoc tslib vulkan +widgets
"
[network]="brotli gssapi libproxy sctp"
[sql]="mysql oci8 odbc postgres +sqlite"
@@ -49,6 +49,7 @@ REQUIRED_USE="
# - qtnetwork (src/network/configure.cmake)
# - qtprintsupport (src/printsupport/configure.cmake) [gui+widgets]
# - qtsql (src/plugins/sqldrivers/configure.cmake)
+# dlopen: renderdoc
RDEPEND="
sys-libs/zlib:=
ssl? ( dev-libs/openssl:= )
@@ -86,6 +87,7 @@ RDEPEND="
evdev? ( sys-libs/mtdev )
libinput? ( dev-libs/libinput:= )
opengl? ( media-libs/libglvnd[X?] )
+ renderdoc? ( media-gfx/renderdoc )
tslib? ( x11-libs/tslib )
widgets? (
cups? ( net-print/cups )
@@ -190,6 +192,7 @@ src_configure() {
$(qt_feature libinput)
$(qt_feature opengl)
$(usev !opengl -DINPUT_opengl=no) #913691
+ $(qt_feature renderdoc graphicsframecapture)
$(qt_feature tslib)
$(qt_feature vulkan)
$(qt_feature widgets)