qtcreator: update to 4.2.0

This commit is contained in:
Juergen Buchmueller 2016-12-15 22:34:55 +01:00
parent b14d189218
commit b02965fcac

View file

@ -1,6 +1,6 @@
# Template file for 'qtcreator'
pkgname=qtcreator
version=4.1.0
version=4.2.0
revision=1
wrksrc=qt-creator-opensource-src-${version}
build_style=qmake
@ -8,26 +8,25 @@ make_install_args="INSTALL_ROOT=\${DESTDIR}/usr"
hostmakedepends="perl python pkg-config"
makedepends="qt5-declarative-devel qt5-script-devel qt5-tools-devel"
depends="qt5-declarative-devel qt5-quickcontrols qt5-plugin-sqlite"
nocross=yes
nocross="Requires system botan-devel for the target architecture"
short_desc="A cross-platform IDE for Qt developers"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="LGPL-2.1"
homepage="http://wiki.qt.io/Category:Tools::QtCreator"
distfiles="http://download.qt.io/official_releases/qtcreator/${version%.*}/${version}/${wrksrc}.tar.gz"
checksum=412c0223dbfd86983b39e10e2c7cb42b530995cfe2f3aa3529ea3f1b00ffb403
checksum=0e05783bbc3a38aa935dd1b17191bcbc2af3cf6f7197865ee089fe094d0cf27b
do_build() {
# Note: A simple "make ${makejobs}" fails after libs because
# of files being removed and symlinked asynchronously.
# Fix this parallel build issue by first sequentially making subdirs
cd src
make ${makejobs} libs
make ${makejobs} app
make ${makejobs} plugins
make ${makejobs} tools
for _target in libs app plugins tools; do
make ${makejobs} ${make_build_args} ${_target}
done
cd ..
# ... and eventually the main Makefile
make ${makejobs}
# ... and eventually make using the main Makefile
make ${makejobs} ${make_build_args}
}
post_install() {
# Install the desktop file