diff options
author | bill-auger <mr.j.spam.me@gmail.com> | 2021-12-04 10:43:06 -0500 |
---|---|---|
committer | bill-auger <mr.j.spam.me@gmail.com> | 2021-12-05 07:16:31 -0500 |
commit | 01c50ca0349c3a48da9ff931360a793af6af178c (patch) | |
tree | 51c27f586436b101b412958c16d618bc1fbf5fec /libre/qtcreator | |
parent | 77324f61093de92efba9ca35499c3516fe2c9ac2 (diff) | |
download | abslibre-01c50ca0349c3a48da9ff931360a793af6af178c.tar.gz abslibre-01c50ca0349c3a48da9ff931360a793af6af178c.tar.bz2 abslibre-01c50ca0349c3a48da9ff931360a793af6af178c.zip |
[qtcreator]: upgrade to v6.0.0
Diffstat (limited to 'libre/qtcreator')
-rw-r--r-- | libre/qtcreator/PKGBUILD | 34 |
1 files changed, 20 insertions, 14 deletions
diff --git a/libre/qtcreator/PKGBUILD b/libre/qtcreator/PKGBUILD index 9b86bd0e4..4e1520ac9 100644 --- a/libre/qtcreator/PKGBUILD +++ b/libre/qtcreator/PKGBUILD @@ -11,14 +11,15 @@ # parabola changes and rationale: -# - removed support for qt5-webengine (help GUI is unavailable) +# - removed support for qt5-webengine (help GUI is unavailable) +# - disable 'googletest' tests - requires internet access - libretools does not allow that pkgname=qtcreator -pkgver=5.0.3 +pkgver=6.0.0 _clangver=13.0.0 [[ "${CARCH}" == 'i686' ]] && _clangver=12.0.1 -pkgrel=2 +pkgrel=1 pkgrel+=.parabola1 pkgdesc='Lightweight, cross-platform integrated development environment' pkgdesc+=', without non-free qt5-webengine help viewer' @@ -26,20 +27,18 @@ arch=(x86_64) arch+=(armv7h i686) url='https://www.qt.io' license=(GPL3) -# Note: built against Qt5 because of https://bugreports.qt.io/browse/QTCREATORBUG-26134 -depends=(qt5-tools qt5-quickcontrols2 qt5-svg qt5-quick3d qt5-webengine qt5-serialport syntax-highlighting # qt6-shadertools qt6-5compat - clang=$_clangver clazy yaml-cpp) +depends=(qt6-tools qt6-svg qt6-quick3d qt6-webengine qt6-serialport qt6-shadertools qt6-5compat + clang=$_clangver clazy yaml-cpp) # syntax-highlighting depends=( $( sed -E 's/(qt5-webengine|yaml-cpp)//g' <<<${depends[@]} ) ) makedepends=(cmake llvm python) makedepends_i686=(icu-compat) # makedepends_i686=(icu69) options=(docs) -optdepends=('qt5-doc: integrated Qt documentation' - 'qt5-examples: welcome page examples' - 'qt5-translations: for other languages' +optdepends=('qt6-doc: integrated Qt documentation' + 'qt6-examples: welcome page examples' + 'qt6-translations: for other languages' 'gdb: debugger' 'cmake: cmake project support' - 'qbs: QBS project support' 'x11-ssh-askpass: ssh support' 'git: git support' 'mercurial: mercurial support' @@ -48,7 +47,10 @@ optdepends=('qt5-doc: integrated Qt documentation' 'perf: performer analyzer' 'mlocate: locator filter') source=(https://download.qt.io/official_releases/qtcreator/${pkgver%.*}/$pkgver/qt-creator-opensource-src-$pkgver.tar.xz) -sha256sums=('7fd3b14310bcecee6b134f8cb7f4c0ed2385d7f4cecd48d756c5c1fd650ce2eb') +sha256sums=('6beb7802f6ab339f0ea947530e6902245057ec161b2b6d2ed9053e1bee1be0bf') + +_enable_tests=OFF # 'OFF' or 'ON' - 'ON' requires internet access + build() { cmake -B build -S qt-creator-opensource-src-$pkgver \ @@ -57,15 +59,19 @@ build() { -DWITH_DOCS=ON \ -DBUILD_DEVELOPER_DOCS=ON \ -DBUILD_QBS=OFF \ - -DQTC_CLANG_BUILDMODE_MATCH=ON \ - -DBUILD_HELVIEWERBACKEND_QTWEBENGINE=ON + -DBUILD_TESTING=$_enable_tests \ + -DBUILD_HELPVIEWERBACKEND_QTWEBENGINE=OFF \ + -Wno-dev \ + -DQTC_CLANG_BUILDMODE_MATCH=ON + cmake --build build cmake --build build --target docs } package() { DESTDIR="$pkgdir" cmake --install build -# Install docs + + # Install docs cp -r build/share/doc "$pkgdir"/usr/share install -Dm644 qt-creator-opensource-src-$pkgver/LICENSE.GPL3-EXCEPT "$pkgdir"/usr/share/licenses/qtcreator/LICENSE.GPL3-EXCEPT |