Update qtcreator
This commit is contained in:
parent
e00534b3b8
commit
95980f84eb
1 changed files with 13 additions and 21 deletions
|
@ -1,26 +1,18 @@
|
|||
# Maintainer: Antonio Rojas <arojas@archlinux.org>
|
||||
# Contributor: Sven-Hendrik Haase <sh@lutzhaase.com>
|
||||
# Contributor: Imanol Celaya <ornitorrincos@archlinux-es.org>
|
||||
# Contributor: Lukas Jirkovsky <l.jirkovsky@gmail.com>
|
||||
# Contributor: Dan Vratil <progdan@progdansoft.com>
|
||||
# Contributor: thotypous <matiasΘarchlinux-br·org>
|
||||
# Contributor: delor <bartekpiech gmail com>
|
||||
|
||||
pkgname=qtcreator
|
||||
pkgver=7.0.0
|
||||
pkgver=7.0.1
|
||||
_clangver=13.0.1
|
||||
pkgrel=1
|
||||
pkgdesc='Lightweight, cross-platform integrated development environment'
|
||||
arch=(x86_64)
|
||||
url='https://www.qt.io'
|
||||
license=(GPL3)
|
||||
depends=(qt6-tools qt6-svg qt6-quick3d qt6-webengine qt6-serialport qt6-shadertools qt6-5compat
|
||||
license=("Apache-2.0")
|
||||
depends=(qt5-tools qt5-svg qt5-quick3d qt5-webengine qt5-serialport
|
||||
clang=$_clangver clazy yaml-cpp) # syntax-highlighting
|
||||
makedepends=(cmake llvm python)
|
||||
options=(docs)
|
||||
optdepends=('qt6-doc: integrated Qt documentation'
|
||||
'qt6-examples: welcome page examples'
|
||||
'qt6-translations: for other languages'
|
||||
optdepends=('qt5-doc: integrated Qt documentation'
|
||||
'qt5-examples: welcome page examples'
|
||||
'qt5-translations: for other languages'
|
||||
'gdb: debugger'
|
||||
'cmake: cmake project support'
|
||||
'x11-ssh-askpass: ssh support'
|
||||
|
@ -31,20 +23,20 @@ optdepends=('qt6-doc: integrated Qt documentation'
|
|||
'perf: performer analyzer'
|
||||
'mlocate: locator filter')
|
||||
|
||||
source=(https://github.com/qt-creator/qt-creator/archive/refs/tags/v$pkgver.tar.gz
|
||||
"QTCREATORBUG-21681.patch"
|
||||
source=("QTCREATORBUG-21681.patch"
|
||||
"projectmodels.patch")
|
||||
sha256sums=(SKIP
|
||||
SKIP
|
||||
SKIP)
|
||||
|
||||
prepare() {
|
||||
patch -d qt-creator-$pkgver -p1 < QTCREATORBUG-21681.patch
|
||||
patch -d qt-creator-$pkgver -p1 < projectmodels.patch
|
||||
cd $srcdir
|
||||
git clone --branch 7.0 --depth 1 --recurse-submodules git@github.com:qt-creator/qt-creator.git
|
||||
patch -d qt-creator -p1 < QTCREATORBUG-21681.patch
|
||||
patch -d qt-creator -p1 < projectmodels.patch
|
||||
}
|
||||
|
||||
build() {
|
||||
cmake -B build -S qt-creator-$pkgver \
|
||||
cmake -B build -S qt-creator \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_INSTALL_LIBEXECDIR=lib \
|
||||
-DWITH_DOCS=ON \
|
||||
|
@ -61,5 +53,5 @@ package() {
|
|||
# Install docs
|
||||
cp -r build/share/doc "$pkgdir"/usr/share
|
||||
|
||||
install -Dm644 qt-creator-$pkgver/LICENSE.GPL3-EXCEPT "$pkgdir"/usr/share/licenses/qtcreator/LICENSE.GPL3-EXCEPT
|
||||
install -Dm644 qt-creator/LICENSE.GPL3-EXCEPT "$pkgdir"/usr/share/licenses/qtcreator/LICENSE.GPL3-EXCEPT
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue