commit:     f3a504e74a8b24fb181e766fad19bdf565896021
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu Dec  6 12:20:35 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Dec  8 20:07:01 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3a504e7

qt5-build.eclass: Drop obsolete pre-Qt-5.11 quirks

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 eclass/qt5-build.eclass | 31 +++++++------------------------
 1 file changed, 7 insertions(+), 24 deletions(-)

diff --git a/eclass/qt5-build.eclass b/eclass/qt5-build.eclass
index ef104429f00..83f66220c73 100644
--- a/eclass/qt5-build.eclass
+++ b/eclass/qt5-build.eclass
@@ -80,26 +80,14 @@ case ${PV} in
        *_alpha*|*_beta*|*_rc*)
                # development release
                QT5_BUILD_TYPE="release"
-
-               if [[ ${QT5_MINOR_VERSION} -ge 10 ]]; then
-                       MY_P=${QT5_MODULE}-everywhere-src-${PV/_/-}
-               else
-                       MY_P=${QT5_MODULE}-opensource-src-${PV/_/-}
-               fi
-
+               MY_P=${QT5_MODULE}-everywhere-src-${PV/_/-}
                
SRC_URI="https://download.qt.io/development_releases/qt/${PV%.*}/${PV/_/-}/submodules/${MY_P}.tar.xz";
                S=${WORKDIR}/${MY_P}
                ;;
        *)
                # official stable release
                QT5_BUILD_TYPE="release"
-
-               if [[ ${QT5_MINOR_VERSION} -ge 10 ]]; then
-                       MY_P=${QT5_MODULE}-everywhere-src-${PV}
-               else
-                       MY_P=${QT5_MODULE}-opensource-src-${PV}
-               fi
-
+               MY_P=${QT5_MODULE}-everywhere-src-${PV}
                
SRC_URI="https://download.qt.io/official_releases/qt/${PV%.*}/${PV}/submodules/${MY_P}.tar.xz";
                S=${WORKDIR}/${MY_P}
                ;;
@@ -535,13 +523,11 @@ qt5_base_configure() {
                                echo -platform freebsd-clang
                        fi
                fi)
-               $(if [[ ${QT5_MINOR_VERSION} -ge 10 ]]; then
-                       if use kernel_linux; then
-                               if tc-is-gcc; then
-                                       echo -platform linux-g++
-                               elif tc-is-clang; then
-                                       echo -platform linux-clang
-                               fi
+               $(if use kernel_linux; then
+                       if tc-is-gcc; then
+                               echo -platform linux-g++
+                       elif tc-is-clang; then
+                               echo -platform linux-clang
                        fi
                fi)
 
@@ -571,9 +557,6 @@ qt5_base_configure() {
                -no-sql-db2 -no-sql-ibase -no-sql-mysql -no-sql-oci -no-sql-odbc
                -no-sql-psql -no-sql-sqlite -no-sql-sqlite2 -no-sql-tds
 
-               # ensure the QML debugging support (qmltooling) is built in 
qtdeclarative
-               $([[ ${QT5_MINOR_VERSION} -lt 11 ]] && echo -qml-debug)
-
                # MIPS DSP instruction set extensions
                $(is-flagq -mno-dsp   && echo -no-mips_dsp)
                $(is-flagq -mno-dspr2 && echo -no-mips_dspr2)

Reply via email to