aboutsummaryrefslogtreecommitdiffstats
path: root/testing/qt-creator/APKBUILD
blob: da49add7a397332fcdb33dd9c3afa2049435a8a8 (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
49
50
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=qt-creator
_pkgname=qt-creator-opensource-src
pkgver=4.9.2
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
	qtcreator.desktop
	"

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="a67a4c53c4b3777bf05151aaa317bb72a46dc3040769e900e72b25458feb42220a68556f63ff75623c873c10a10d882df80fe0d582eedaccd6facb1d9cfa0bf8  qt-creator-opensource-src-4.9.2.tar.gz
0f9e03d73d0c25e9251fd1b323ea353c2b6bd50a3a75fae9cfe5e5d1bc0b201aa5735e0cbff02d00d1f84fe3cc3efea76d95da4b7c164d089e5aa8c705321b42  fix-execinfo.patch
b694063d2c91bfcf1cad25845c32158f35b8659f03ab9beebbadd98d06f01324ceafca682c2145025f6155c4f1d86bcba3bdcae4f54d5b5d71fc813aaf129a48  qtcreator.desktop"