qtcreator: update to 3.5.0
+ Fix parallel build issue by sequentially building subdirs first
This commit is contained in:
parent
73a44fd46a
commit
170f6fccc7
2 changed files with 21 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'qtcreator'
|
# Template file for 'qtcreator'
|
||||||
pkgname=qtcreator
|
pkgname=qtcreator
|
||||||
version=3.4.1
|
version=3.5.0
|
||||||
revision=1
|
revision=1
|
||||||
wrksrc=qt-creator-opensource-src-${version}
|
wrksrc=qt-creator-opensource-src-${version}
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
|
@ -14,12 +14,28 @@ nocross=yes
|
||||||
short_desc="A cross-platform IDE for Qt developers"
|
short_desc="A cross-platform IDE for Qt developers"
|
||||||
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
|
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
|
||||||
license="LGPL-2.1"
|
license="LGPL-2.1"
|
||||||
homepage="http://qt.io/download-open-source/"
|
homepage="http://wiki.qt.io/Category:Tools::QtCreator"
|
||||||
distfiles="http://download.qt.io/official_releases/qtcreator/${version%.*}/${version}/${wrksrc}.tar.gz"
|
distfiles="http://download.qt.io/official_releases/qtcreator/${version%.*}/${version}/${wrksrc}.tar.gz"
|
||||||
checksum=029e22307e79c4fb3a34be854dedddaa56476c6c6374c312125b9302bcbc0fd9
|
checksum=5dc35f81b50d65243a6ae046125061051d03c3d50937a37e29e0669384bb0eb6
|
||||||
|
|
||||||
|
# Currently fails with parallel build :/
|
||||||
|
# disable_parallel_build=yes
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
MAKEFLAGS=${makejobs} qmake
|
qmake
|
||||||
|
}
|
||||||
|
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
|
||||||
|
cd ..
|
||||||
|
# ... and eventually the main Makefile
|
||||||
|
make ${makejobs}
|
||||||
}
|
}
|
||||||
post_install() {
|
post_install() {
|
||||||
# Install the desktop file
|
# Install the desktop file
|
||||||
|
|
1
srcpkgs/qtcreator/update
Normal file
1
srcpkgs/qtcreator/update
Normal file
|
@ -0,0 +1 @@
|
||||||
|
site="http://www.qt.io/download-open-source/"
|
Loading…
Reference in a new issue