diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2022-07-17 16:55:24 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2022-07-23 13:23:16 +0200 |
commit | e15399ee86607f962caa65b638bf181403340f0c (patch) | |
tree | b2140d500ff9140b35f95eeebafab3c21aa74ecf | |
parent | dev-qt/qtwebengine: Switch IUSE pulseaudio to media-libs/libpulse (diff) | |
download | qt-e15399ee86607f962caa65b638bf181403340f0c.tar.gz qt-e15399ee86607f962caa65b638bf181403340f0c.tar.bz2 qt-e15399ee86607f962caa65b638bf181403340f0c.zip |
qt5-build.eclass: Merge _QT5_GENTOOPATCHSET_REV handling into main block
Dropping pre-5.15.5 SRC_URI support.
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
-rw-r--r-- | eclass/qt5-build.eclass | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/eclass/qt5-build.eclass b/eclass/qt5-build.eclass index 86082a07..872357ec 100644 --- a/eclass/qt5-build.eclass +++ b/eclass/qt5-build.eclass @@ -107,11 +107,15 @@ if [[ ${PN} != qtwebengine ]]; then *9999 ) inherit kde.org # kde/5.15 branch ;; - 5.15.[3-9]* | 5.15.??* ) + 5.15.[5-9]* | 5.15.??* ) # official stable release _QT5_P=${QT5_MODULE}-everywhere-opensource-src-${PV} HOMEPAGE="https://www.qt.io/" SRC_URI="https://download.qt.io/official_releases/qt/${PV%.*}/${PV}/submodules/${_QT5_P}.tar.xz" + if [[ ${QT5_MODULE} == qtbase ]]; then + _QT5_GENTOOPATCHSET_REV=1 + SRC_URI+=" https://dev.gentoo.org/~asturm/distfiles/qtbase-5.15-gentoo-patchset-${_QT5_GENTOOPATCHSET_REV}.tar.xz" + fi # KDE Qt5PatchCollection on top of tag v${PV}-lts-lgpl if [[ -n ${QT5_KDEPATCHSET_REV} ]]; then HOMEPAGE+=" https://invent.kde.org/qt/qt/${QT5_MODULE} https://community.kde.org/Qt5PatchCollection" @@ -122,11 +126,6 @@ if [[ ${PN} != qtwebengine ]]; then esac fi -if [[ ${QT5_MODULE} == qtbase ]] && [[ ${PV} == 5.15.[5-9]* ]]; then - _QT5_GENTOOPATCHSET_REV=1 - SRC_URI+=" https://dev.gentoo.org/~asturm/distfiles/qtbase-5.15-gentoo-patchset-${_QT5_GENTOOPATCHSET_REV}.tar.xz" -fi - # @ECLASS_VARIABLE: QT5_BUILD_DIR # @OUTPUT_VARIABLE # @DESCRIPTION: |