summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-11-27 23:47:33 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2022-03-21 12:03:17 +0100
commit6c4b088ba69db9d432ac85e896566cf0f52d7cf9 (patch)
treec65a756e3a43eca4917b8034c031b565dbcc4ddb /eclass
parentqt5-build.eclass: New helper function: qt5_symlink_binary_to_path() (diff)
downloadgentoo-6c4b088ba69db9d432ac85e896566cf0f52d7cf9.tar.gz
gentoo-6c4b088ba69db9d432ac85e896566cf0f52d7cf9.tar.bz2
gentoo-6c4b088ba69db9d432ac85e896566cf0f52d7cf9.zip
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@gentoo.org>
Diffstat (limited to '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