aboutsummaryrefslogtreecommitdiffstats
path: root/testing/qt-creator/APKBUILD
blob: 73cc222ba8ce0dfbd4ab6fe9693b7cff85a3e034 (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.10.1
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="0cba84ecd752f6cc8337c64a8cf8c08f4d1bce164276b95dce8f72453efbd9636e6824b75e98460287490bb992e78371938ec67491bfbeb39d3fbb04c08105b1  qt-creator-opensource-src-4.10.1.tar.gz
0f9e03d73d0c25e9251fd1b323ea353c2b6bd50a3a75fae9cfe5e5d1bc0b201aa5735e0cbff02d00d1f84fe3cc3efea76d95da4b7c164d089e5aa8c705321b42  fix-execinfo.patch
b694063d2c91bfcf1cad25845c32158f35b8659f03ab9beebbadd98d06f01324ceafca682c2145025f6155c4f1d86bcba3bdcae4f54d5b5d71fc813aaf129a48  qtcreator.desktop"