mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
extra/qtcreator fix
This commit is contained in:
parent
af6fe542bf
commit
0d3aed77ae
2 changed files with 5 additions and 5019 deletions
|
@ -7,7 +7,7 @@
|
|||
# Contributor: delor <bartekpiech gmail com>
|
||||
|
||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
# - patch to upgrade included botan version so it builds on ARM
|
||||
# - depend on botan, configure with USE_SYSTEM_BOTAN=1
|
||||
|
||||
pkgname=qtcreator
|
||||
pkgver=3.2.0
|
||||
|
@ -17,7 +17,7 @@ pkgdesc='Lightweight, cross-platform integrated development environment'
|
|||
arch=('i686' 'x86_64')
|
||||
url='http://qt-project.org'
|
||||
license=('LGPL')
|
||||
depends=('qt5-quick1' 'qt5-tools' 'qt5-quickcontrols')
|
||||
depends=('qt5-quick1' 'qt5-tools' 'qt5-quickcontrols' 'botan')
|
||||
makedepends=('git' 'clang')
|
||||
options=('docs')
|
||||
optdepends=('qt5-doc: for the integrated Qt documentation'
|
||||
|
@ -32,26 +32,23 @@ optdepends=('qt5-doc: for the integrated Qt documentation'
|
|||
install=qtcreator.install
|
||||
source=("git://gitorious.org/qt-creator/qt-creator.git#tag=${_pkgver}"
|
||||
"git://gitorious.org/qt-labs/qbs.git"
|
||||
'qtcreator.desktop'
|
||||
'botan-upgrade.patch')
|
||||
'qtcreator.desktop')
|
||||
md5sums=('SKIP'
|
||||
'SKIP'
|
||||
'50880836fd62ccd87550940feb995f06'
|
||||
'7d71e58bdb7a918adb779b0e527fbba5')
|
||||
'50880836fd62ccd87550940feb995f06')
|
||||
|
||||
prepare() {
|
||||
cd qt-creator
|
||||
git submodule init
|
||||
git config submodule.qbs.url $srcdir/qbs
|
||||
git submodule update
|
||||
patch -p1 -i "${srcdir}"/botan-upgrade.patch
|
||||
}
|
||||
|
||||
build() {
|
||||
[[ -d build ]] && rm -r build
|
||||
mkdir build && cd build
|
||||
|
||||
LLVM_INSTALL_DIR=/usr qmake -r ../qt-creator/qtcreator.pro
|
||||
LLVM_INSTALL_DIR=/usr qmake -r ../qt-creator/qtcreator.pro USE_SYSTEM_BOTAN=1
|
||||
make
|
||||
make docs -j1
|
||||
}
|
||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue