Merge pull request #1435 from pullmoll/master
New package: qtcreator-3.4.0
This commit is contained in:
commit
8f2680f6d2
2 changed files with 43 additions and 0 deletions
11
srcpkgs/qtcreator/files/qtcreator.desktop
Normal file
11
srcpkgs/qtcreator/files/qtcreator.desktop
Normal file
|
@ -0,0 +1,11 @@
|
|||
[Desktop Entry]
|
||||
Name=Qt Creator
|
||||
GenericName=Integrated Development Environment for Qt
|
||||
Comment=Develop Qt4 or Qt5 applications
|
||||
TryExec=/usr/bin/qtcreator
|
||||
Exec=/usr/bin/qtcreator
|
||||
Icon=QtProject-qtcreator
|
||||
MimeType=application/vnd.qt.qmakeprofile;
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=Qt;Development;
|
32
srcpkgs/qtcreator/template
Normal file
32
srcpkgs/qtcreator/template
Normal file
|
@ -0,0 +1,32 @@
|
|||
# Template file for 'qtcreator'
|
||||
pkgname=qtcreator
|
||||
version=3.4.0
|
||||
revision=1
|
||||
wrksrc=qt-creator-opensource-src-${version}
|
||||
build_style=gnu-configure
|
||||
hostmakedepends="perl python pkg-config"
|
||||
makedepends="qt5-declarative-devel qt5-script-devel qt5-tools-devel"
|
||||
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() {
|
||||
make INSTALL_ROOT=${PKGDESTDIR}/usr install
|
||||
}
|
||||
post_install() {
|
||||
# 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
|
||||
}
|
Loading…
Reference in a new issue