summaryrefslogtreecommitdiff
path: root/eclass/qt5-build.eclass
diff options
context:
space:
mode:
Diffstat (limited to 'eclass/qt5-build.eclass')
-rw-r--r--eclass/qt5-build.eclass20
1 files changed, 19 insertions, 1 deletions
diff --git a/eclass/qt5-build.eclass b/eclass/qt5-build.eclass
index 3159a409b441..7722e1d4de97 100644
--- a/eclass/qt5-build.eclass
+++ b/eclass/qt5-build.eclass
@@ -135,7 +135,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