2015-04-27 20:42:47 +02:00
|
|
|
# Template file for 'qtcreator'
|
|
|
|
pkgname=qtcreator
|
|
|
|
version=3.4.0
|
2015-04-28 09:16:45 +02:00
|
|
|
revision=2
|
2015-04-27 20:42:47 +02:00
|
|
|
wrksrc=qt-creator-opensource-src-${version}
|
|
|
|
hostmakedepends="perl python pkg-config"
|
|
|
|
makedepends="qt5-declarative-devel qt5-script-devel qt5-tools-devel"
|
2015-04-28 09:16:45 +02:00
|
|
|
depends="${makedepends}"
|
2015-04-27 20:42:47 +02:00
|
|
|
nocross=yes
|
|
|
|
short_desc="A cross-platform IDE for Qt developers"
|
|
|
|
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
|
|
|
|
license="LGPL-2.1"
|
|
|
|
homepage="http://qt.io/download-open-source/"
|
|
|
|
distfiles="http://download.qt.io/official_releases/qtcreator/${version%.*}/${version}/${wrksrc}.tar.gz"
|
|
|
|
checksum=b80baf5be9b0421b3d951a8a0eb411a65cf008f4c753f5a80d205e90fa4fe112
|
|
|
|
|
|
|
|
do_configure() {
|
|
|
|
qmake
|
|
|
|
}
|
|
|
|
do_install() {
|
2015-04-28 09:16:45 +02:00
|
|
|
make INSTALL_ROOT=${DESTDIR}/usr install
|
2015-04-27 20:42:47 +02:00
|
|
|
# Install the desktop file
|
|
|
|
vinstall ${FILESDIR}/qtcreator.desktop \
|
|
|
|
644 usr/share/applications
|
|
|
|
# Install shared-mime-info files for qmake and cmake projects
|
|
|
|
vinstall ${wrksrc}/src/plugins/qmakeprojectmanager/QmakeProjectManager.mimetypes.xml \
|
|
|
|
644 usr/share/mime/packages
|
|
|
|
vinstall ${wrksrc}/src/plugins/cmakeprojectmanager/CMakeProjectManager.mimetypes.xml \
|
|
|
|
644 usr/share/mime/packages
|
|
|
|
}
|