2015-04-27 20:42:47 +02:00
|
|
|
# Template file for 'qtcreator'
|
|
|
|
pkgname=qtcreator
|
2015-06-26 13:47:09 +02:00
|
|
|
version=3.4.1
|
|
|
|
revision=1
|
2015-04-27 20:42:47 +02:00
|
|
|
wrksrc=qt-creator-opensource-src-${version}
|
2015-06-26 13:47:09 +02:00
|
|
|
build_style=gnu-makefile
|
|
|
|
build_pie=yes
|
|
|
|
make_build_args="INSTALL_ROOT=\${DESTDIR}/usr"
|
|
|
|
make_install_args="${make_build_args}"
|
2015-04-27 20:42:47 +02:00
|
|
|
hostmakedepends="perl python pkg-config"
|
|
|
|
makedepends="qt5-declarative-devel qt5-script-devel qt5-tools-devel"
|
2015-06-26 13:47:09 +02:00
|
|
|
depends="qt5-declarative-devel qt5-quickcontrols qt5-plugin-sqlite"
|
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"
|
2015-06-26 13:47:09 +02:00
|
|
|
checksum=029e22307e79c4fb3a34be854dedddaa56476c6c6374c312125b9302bcbc0fd9
|
2015-04-27 20:42:47 +02:00
|
|
|
|
|
|
|
do_configure() {
|
2015-05-11 21:20:27 +02:00
|
|
|
MAKEFLAGS=${makejobs} qmake
|
2015-04-27 20:42:47 +02:00
|
|
|
}
|
2015-06-26 13:47:09 +02:00
|
|
|
post_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
|
|
|
|
}
|
2015-06-26 13:47:09 +02:00
|
|
|
|
|
|
|
qtcreator-full_package() {
|
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
|
|
short_desc+=" - full dependencies"
|
|
|
|
depends+=" qt5-connectivity-devel qt5-declarative-devel qt5-enginio-devel qt5-graphicaleffects
|
|
|
|
qt5-location-devel qt5-multimedia-devel qt5-quick1-devel qt5-script-devel qt5-sensors-devel
|
|
|
|
qt5-serialport-devel qt5-svg-devel qt5-tools-devel qt5-wayland-devel qt5-webchannel-devel
|
|
|
|
qt5-webengine-devel qt5-webkit-devel qt5-websockets-devel qt5-x11extras-devel qt5-xmlpatterns-devel
|
|
|
|
qt5-declarative-devel qt5-script-devel qt5-tools-devel qt5-doc qt5-plugin-gtk
|
|
|
|
qt5-plugin-mysql qt5-plugin-odbc qt5-plugin-pgsql qt5-plugin-sqlite"
|
|
|
|
pkg_install() {
|
|
|
|
echo "Just the dependencies"
|
|
|
|
}
|
|
|
|
}
|