diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2023-08-24 20:02:27 -0400 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2023-09-05 09:01:08 -0400 |
commit | 349d599c0fa3dfc93991ee42f83127a3a28a95a5 (patch) | |
tree | 161e526dca6bfae7c0a185adcb22dcd5976ac544 /eclass | |
parent | dev-qt/qtwayland: make qml optional (qt6) (diff) | |
download | gentoo-349d599c0fa3dfc93991ee42f83127a3a28a95a5.tar.gz gentoo-349d599c0fa3dfc93991ee42f83127a3a28a95a5.tar.bz2 gentoo-349d599c0fa3dfc93991ee42f83127a3a28a95a5.zip |
dev-qt/qtbase: refactor use/dependences handling
Lot of changes here give a full review and re-organizing,
so unfortunately not going to talk about everything.
For IUSE removals:
* freetds (disabled): was a no-op, upstream has the subdir
commented out with a "TODO"
* jpeg (enabled): we already do this for png and IMO should be
extended to jpeg as about anyone with USE=gui will have
libjpeg-turbo either way and it saves headaches for revdeps
* egl (enabled with USE=opengl): same dependency as USE=opengl
and if we try to force egl without opengl (like we were despite
upstream otherwise auto-disables) this results in a build failure
* vnc+tuio (enabled with USE="gui network"): being a USE made
more sense in qt5 given needed to depend on qtnetwork
Notable REQUIRED_USE changes:
* add wayland as an alternative to X and eglfs, eglfs is intended
for embedded devices (without a WM) and is not necessary for
normal wayland to work (technically this requirement is still
not entirely right given other options exists, a postinst to
warn when have nothing set could be an alternative)
* drop || ( evdev libinput ) as a requirement, normally Qt does not
need to handle mouse&keyboard events by itself and this again is for
embedded devices (however keeping libinput by default as I believe
it may be needed for gamepads and other special devices)
Tried to make this bit easier to maintain by making the split between
groups clearer, and also removed some options and left them to
Qt to set based on others (there is a *lot* that could be passed
and it'd be unmaintainable -- can always consider specifics if
users need something special though).
About options, -DFEATURE_reduce_relocations=ON is notably better
removed as it can apparently break things on some arches if forced.
wrt bug #899546, libglvnd is now optional (with [X?] too), and this
removes gtk-update-icon-cache altegether. Latter is only used by one
sub-test (unimportant and auto-skipped if missing), albeit qtgui can
use icon cache if *other* packages used this command which means it
really belong in their IDEPEND (xdg.eclass does this for EAPI=8).
Closes: https://bugs.gentoo.org/899546
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'eclass')
0 files changed, 0 insertions, 0 deletions