blob: 794d9f3a52149749a53b47463b30c9d848149dc3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=qt-creator
_pkgname=qt-creator-opensource-src
pkgver=4.11.0
pkgrel=0
pkgdesc="Lightweight and cross-platform IDE for Qt"
url="https://qt-project.org/wiki/Category:Tools::QtCreator"
arch="all !ppc64le !s390x"
license="GPL-3.0-only WITH Qt-GPL-exception-1.0"
depends="
qt5-qtbase-sqlite
qt5-qtquickcontrols
qt5-qtquickcontrols2
qt5-qtbase-dev
qt5-qttools-dev
"
makedepends="
cmake
botan-dev
qt5-qtdeclarative-dev
qt5-qtscript-dev
qt5-qtquickcontrols2-dev
"
ldpath="/usr/lib/qtcreator:/usr/lib/qtcreator/plugins"
source="http://download.qt-project.org/official_releases/qtcreator/${pkgver%.*}/$pkgver/$_pkgname-$pkgver.tar.gz
fix-execinfo.patch
"
builddir="$srcdir"/$_pkgname-$pkgver
prepare() {
default_prepare
sed -i qtcreator.pri -e'/CONFIG += c++14/aCONFIG += use_system_botan'
}
build() {
qmake-qt5
make CXX="${CXX:-g++}"
}
package() {
make install INSTALL_ROOT="$pkgdir"/usr
# install -Dm 644 "$srcdir"/qtcreator.desktop \
# "$pkgdir"/usr/share/applications/qtcreator.desktop
}
sha512sums="29e5c72d4002cdddecbdea689dd5048aa8d0b74c980a6b8096b03c3c39f4868e4490c4516ba287a4082eaaa4ec412309c1d498a4f97754720c88ae4ab53d30b8 qt-creator-opensource-src-4.11.0.tar.gz
416bf589487aa0a86df01cb07088d1bf316bb7b765753b870634be8f697c17a47a93c2240258e8f1707fe8e0137b8cbc1a7b85250986ede3bffb87c6c5f75311 fix-execinfo.patch"
|