diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2023-09-11 07:02:28 -0400 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2023-09-11 17:05:46 -0400 |
commit | c44376c0b7aab810ab1e9e1d27063f422f4bd5ab (patch) | |
tree | 3d2039fc89b1441748d33a1eecd6e3f3055e45f5 /eclass/qt6-build.eclass | |
parent | dev-qt/qttranslations: mark ALLARCHES (diff) | |
download | gentoo-c44376c0b7aab810ab1e9e1d27063f422f4bd5ab.tar.gz gentoo-c44376c0b7aab810ab1e9e1d27063f422f4bd5ab.tar.bz2 gentoo-c44376c0b7aab810ab1e9e1d27063f422f4bd5ab.zip |
qt6-build.eclass: include patch version in subslot for >=6.5.3
This matches Qt5 which had been doing the same.
While working on qt-creator bump, noticed that it broke with
qtquick3d-6.5.9999, which turned out because of changes in
private APIs that will land in 6.5.3. In other words, it is
going to need a rebuild when that lands but current SLOT=0/6.5
do not allow this. This could be a one-off issue but let's
stay safer when private APIs are abused.
This also keeps the 9999 in live subslot, so switching
between live and releases will trigger rebuilds too.
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'eclass/qt6-build.eclass')
-rw-r--r-- | eclass/qt6-build.eclass | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/eclass/qt6-build.eclass b/eclass/qt6-build.eclass index c96bc0c1c3c3..2990b41a9e95 100644 --- a/eclass/qt6-build.eclass +++ b/eclass/qt6-build.eclass @@ -66,7 +66,11 @@ readonly QT6_BUILD_TYPE HOMEPAGE="https://www.qt.io/" LICENSE="|| ( GPL-2 GPL-3 LGPL-3 ) FDL-1.3" -SLOT=6/${PV%.*} +if ver_test ${PV} -ge 6.5.3; then + SLOT=6/${PV%%_*} +else + SLOT=6/${PV%.*} # TODO: remove this after <6.5.3 is gone +fi if [[ ${PN} != qttranslations ]]; then IUSE="test" |