Remove qbs and use build reciept from release PKGBUILD
This commit is contained in:
28
.SRCINFO
28
.SRCINFO
@@ -1,43 +1,41 @@
|
|||||||
pkgbase = qtcreator-git
|
pkgbase = qtcreator-git
|
||||||
pkgdesc = Lightweight, cross-platform integrated development environment
|
pkgdesc = Lightweight, cross-platform integrated development environment
|
||||||
pkgver = v6.0.0.r260.ga3af941adf
|
pkgver = v6.0.1.r219.g57381ab358
|
||||||
pkgrel = 1
|
pkgrel = 1
|
||||||
url = https://www.qt.io
|
url = https://www.qt.io
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
license = LGPL
|
license = LGPL
|
||||||
makedepends = git
|
makedepends = cmake
|
||||||
makedepends = llvm
|
makedepends = llvm
|
||||||
makedepends = mesa
|
|
||||||
makedepends = python
|
makedepends = python
|
||||||
|
depends = qt6-tools
|
||||||
|
depends = qt6-svg
|
||||||
|
depends = qt6-quick3d
|
||||||
|
depends = qt6-webengine
|
||||||
|
depends = qt6-serialport
|
||||||
|
depends = qt6-shadertools
|
||||||
|
depends = qt6-5compat
|
||||||
depends = clang
|
depends = clang
|
||||||
depends = clazy
|
depends = clazy
|
||||||
depends = qt5-quickcontrols
|
depends = yaml-cpp
|
||||||
depends = qt5-quickcontrols2
|
|
||||||
depends = qt5-script
|
|
||||||
depends = qt5-tools
|
|
||||||
depends = qt5-webengine
|
|
||||||
optdepends = bzr: bazaar support
|
optdepends = bzr: bazaar support
|
||||||
optdepends = cmake: cmake project support
|
optdepends = cmake: cmake project support
|
||||||
optdepends = cvs: cvs support
|
optdepends = cvs: cvs support
|
||||||
optdepends = gdb: debugger
|
optdepends = gdb: debugger
|
||||||
optdepends = git: git support
|
optdepends = git: git support
|
||||||
optdepends = mercurial: mercurial support
|
optdepends = mercurial: mercurial support
|
||||||
optdepends = qt5-doc: integrated Qt documentation
|
optdepends = qt6-doc: integrated Qt documentation
|
||||||
optdepends = qt5-examples: welcome page examples
|
optdepends = qt6-examples: welcome page examples
|
||||||
optdepends = qt5-translations: other languages
|
optdepends = qt6-translations: other languages
|
||||||
optdepends = subversion: subversion support
|
optdepends = subversion: subversion support
|
||||||
optdepends = valgrind: analyze support
|
optdepends = valgrind: analyze support
|
||||||
optdepends = x11-ssh-askpass: ssh support
|
optdepends = x11-ssh-askpass: ssh support
|
||||||
provides = qtcreator
|
provides = qtcreator
|
||||||
provides = qbs
|
|
||||||
conflicts = qtcreator
|
conflicts = qtcreator
|
||||||
conflicts = qbs
|
|
||||||
options = docs
|
options = docs
|
||||||
source = git+https://code.qt.io/qt-creator/qt-creator.git
|
source = git+https://code.qt.io/qt-creator/qt-creator.git
|
||||||
source = git+https://code.qt.io/qbs/qbs.git
|
|
||||||
source = org.qt-project.qtcreator.desktop
|
source = org.qt-project.qtcreator.desktop
|
||||||
sha256sums = SKIP
|
sha256sums = SKIP
|
||||||
sha256sums = SKIP
|
|
||||||
sha256sums = 90addb552923db0897f7096d166c2d1bf1c3390ae9c79687fc4ce7c4e57ee810
|
sha256sums = 90addb552923db0897f7096d166c2d1bf1c3390ae9c79687fc4ce7c4e57ee810
|
||||||
|
|
||||||
pkgname = qtcreator-git
|
pkgname = qtcreator-git
|
||||||
|
43
PKGBUILD
43
PKGBUILD
@@ -8,14 +8,15 @@
|
|||||||
# Contributor: Tobias Hunger <tobias dot hunger at gmail dot com>
|
# Contributor: Tobias Hunger <tobias dot hunger at gmail dot com>
|
||||||
|
|
||||||
pkgname=qtcreator-git
|
pkgname=qtcreator-git
|
||||||
pkgver=v6.0.0.r260.ga3af941adf
|
pkgver=v6.0.1.r219.g57381ab358
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc='Lightweight, cross-platform integrated development environment'
|
pkgdesc='Lightweight, cross-platform integrated development environment'
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
url='https://www.qt.io'
|
url='https://www.qt.io'
|
||||||
license=(LGPL)
|
license=(LGPL)
|
||||||
depends=(clang clazy qt5-quickcontrols qt5-quickcontrols2 qt5-script qt5-tools qt5-webengine)
|
depends=(qt6-tools qt6-svg qt6-quick3d qt6-webengine qt6-serialport qt6-shadertools qt6-5compat
|
||||||
makedepends=(git llvm mesa python)
|
clang clazy yaml-cpp) # syntax-highlighting
|
||||||
|
makedepends=(cmake llvm python)
|
||||||
options=(docs)
|
options=(docs)
|
||||||
optdepends=('bzr: bazaar support'
|
optdepends=('bzr: bazaar support'
|
||||||
'cmake: cmake project support'
|
'cmake: cmake project support'
|
||||||
@@ -23,19 +24,17 @@ optdepends=('bzr: bazaar support'
|
|||||||
'gdb: debugger'
|
'gdb: debugger'
|
||||||
'git: git support'
|
'git: git support'
|
||||||
'mercurial: mercurial support'
|
'mercurial: mercurial support'
|
||||||
'qt5-doc: integrated Qt documentation'
|
'qt6-doc: integrated Qt documentation'
|
||||||
'qt5-examples: welcome page examples'
|
'qt6-examples: welcome page examples'
|
||||||
'qt5-translations: other languages'
|
'qt6-translations: other languages'
|
||||||
'subversion: subversion support'
|
'subversion: subversion support'
|
||||||
'valgrind: analyze support'
|
'valgrind: analyze support'
|
||||||
'x11-ssh-askpass: ssh support')
|
'x11-ssh-askpass: ssh support')
|
||||||
provides=(qtcreator qbs)
|
provides=(qtcreator)
|
||||||
conflicts=(qtcreator qbs)
|
conflicts=(qtcreator)
|
||||||
source=('git+https://code.qt.io/qt-creator/qt-creator.git'
|
source=('git+https://code.qt.io/qt-creator/qt-creator.git'
|
||||||
'git+https://code.qt.io/qbs/qbs.git'
|
|
||||||
'org.qt-project.qtcreator.desktop')
|
'org.qt-project.qtcreator.desktop')
|
||||||
sha256sums=('SKIP'
|
sha256sums=('SKIP'
|
||||||
'SKIP'
|
|
||||||
'90addb552923db0897f7096d166c2d1bf1c3390ae9c79687fc4ce7c4e57ee810')
|
'90addb552923db0897f7096d166c2d1bf1c3390ae9c79687fc4ce7c4e57ee810')
|
||||||
|
|
||||||
pkgver() {
|
pkgver() {
|
||||||
@@ -51,26 +50,28 @@ prepare() {
|
|||||||
|
|
||||||
# fix hardcoded libexec path
|
# fix hardcoded libexec path
|
||||||
sed -e 's|libexec\/qtcreator|lib\/qtcreator|g' -i qtcreator.pri
|
sed -e 's|libexec\/qtcreator|lib\/qtcreator|g' -i qtcreator.pri
|
||||||
|
|
||||||
# Do *NOT* use system Qbs: qt creator master is *NOT* compatible with any released Qbs!
|
|
||||||
( cd src/shared && rm -rf qbs && ln -s ../../../qbs qbs )
|
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd build
|
cd build
|
||||||
|
|
||||||
qmake LLVM_INSTALL_DIR=/usr CONFIG+=journald QMAKE_CFLAGS_ISYSTEM=-I \
|
cmake -B . -S "${srcdir}/qt-creator" \
|
||||||
"${srcdir}/qt-creator/qtcreator.pro"
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
|
-DCMAKE_INSTALL_LIBEXECDIR=lib \
|
||||||
make
|
-DWITH_DOCS=ON \
|
||||||
make docs
|
-DBUILD_DEVELOPER_DOCS=ON \
|
||||||
|
-DBUILD_QBS=OFF \
|
||||||
|
-DQTC_CLANG_BUILDMODE_MATCH=ON
|
||||||
|
cmake --build .
|
||||||
|
cmake --build . --target docs
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd build
|
cd build
|
||||||
|
|
||||||
make INSTALL_ROOT="${pkgdir}/usr/" install
|
DESTDIR="$pkgdir" cmake --install .
|
||||||
make INSTALL_ROOT="${pkgdir}/usr/" install_docs
|
# Install docs
|
||||||
|
cp -r share/doc "$pkgdir"/usr/share
|
||||||
|
|
||||||
install -Dm644 "${srcdir}/qt-creator/LICENSE.GPL3-EXCEPT" \
|
install -Dm644 "${srcdir}/qt-creator/LICENSE.GPL3-EXCEPT" \
|
||||||
"${pkgdir}/usr/share/licenses/qtcreator/LICENSE.GPL3-EXCEPT"
|
"${pkgdir}/usr/share/licenses/qtcreator/LICENSE.GPL3-EXCEPT"
|
||||||
|
Reference in New Issue
Block a user