commit: f747303f5f8c53cc2d6566d2c50a500788019db5
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 27 22:47:33 2020 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Mar 21 10:04:45 2022 +0000
URL: https://gitweb.gentoo.org/proj/qt.git/commit/?id=f747303f
qt5-build.eclass: Change SLOTing in 5.15.3
- 0 for binary only (user-facing) tools not tied to specific Qt major version
- 5 (clean) for binary only/unversioned plugins/files-only/non-private headers
- 5/$(ver_cut 1-2) for everything else; unless overridden by ebuild
- No change for 5.15.2 ebuilds
dev-qt/qtxmlpatterns was added to clean "5" slot because development is dead.
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
eclass/qt5-build.eclass | 20 +++++++++++++++++++-
1 file changed, 19 insertions(+), 1 deletion(-)
diff --git a/eclass/qt5-build.eclass b/eclass/qt5-build.eclass
index 921f4f27..0a5a7ff3 100644
--- a/eclass/qt5-build.eclass
+++ b/eclass/qt5-build.eclass
@@ -124,7 +124,25 @@ fi
: ${QT5_BUILD_DIR:=${S}_build}
LICENSE="|| ( GPL-2 GPL-3 LGPL-3 ) FDL-1.3"
-SLOT=5/$(ver_cut 1-2)
+
+case ${PV} in
+ 5.15.2*)
+ SLOT=5/$(ver_cut 1-2)
+ ;;
+ *)
+ case ${PN} in
+ assistant|linguist|qdbus|qdbusviewer|pixeltool)
+ SLOT=0 ;;
+
linguist-tools|qdoc|qtdiag|qtgraphicaleffects|qtimageformats| \
+ qtpaths|qtplugininfo|qtquickcontrols|qtquicktimeline| \
+ qttranslations|qtwaylandscanner|qtxmlpatterns)
+ SLOT=5 ;;
+ *)
+ SLOT=5/$(ver_cut 1-2) ;;
+ esac
+ ;;
+esac
+
IUSE="debug test"
if [[ ${QT5_BUILD_TYPE} == release ]]; then