2014-02-06 22:21:49 +08:00
|
|
|
# Maintainer: Francesco Marinucci <franzmari[at]chakra-project[dot]it>
|
2010-06-01 03:21:31 +08:00
|
|
|
|
|
|
|
pkgname=qtcreator
|
2014-05-04 20:22:34 +08:00
|
|
|
pkgver=3.1.0
|
2014-05-19 22:44:08 +08:00
|
|
|
pkgrel=3
|
2011-11-30 10:20:33 +08:00
|
|
|
pkgdesc="Lightweight, cross-platform integrated development environment."
|
2012-12-31 04:23:09 +08:00
|
|
|
arch=('x86_64')
|
|
|
|
url="http://qt.digia.com/"
|
2010-06-01 03:21:31 +08:00
|
|
|
license=('LGPL')
|
2014-05-19 22:44:08 +08:00
|
|
|
makedepends=('qt5-private-headers' 'qt5-base' 'git' 'mesa' 'clang')
|
|
|
|
depends=('qt5-tools' 'qt5-quick1' 'qt5-quickcontrols')
|
2011-06-15 11:46:15 +08:00
|
|
|
optdepends=('qt-docs: for the integrated Qt documentation'
|
2011-09-30 03:24:36 +08:00
|
|
|
'gdb: for the debugger'
|
|
|
|
'cmake: for cmake project suppport'
|
2012-03-01 05:27:50 +08:00
|
|
|
'ksshaskpass: for ssh support'
|
2011-09-30 03:24:36 +08:00
|
|
|
'git: for git support'
|
|
|
|
'mercurial: for mercurial support'
|
2013-05-28 02:51:52 +08:00
|
|
|
'bzr: for bazaar support'
|
|
|
|
'valgrind: for analyze support')
|
2012-03-16 22:51:37 +08:00
|
|
|
categories=('programming')
|
2012-05-09 23:53:29 +08:00
|
|
|
screenshot=("http://qt.nokia.com/images/products/qt-creator-breakdown-screenshot")
|
2010-06-01 03:21:31 +08:00
|
|
|
options=(docs)
|
2014-05-04 20:22:34 +08:00
|
|
|
#source=("http://download.qt-project.org/official_releases/qtcreator/3.1/${pkgver}/qt-creator-opensource-src${pkgver}-src.tar.gz"
|
|
|
|
source=("http://ftp.fau.de/qtproject/official_releases/${pkgname}/3.1/${pkgver}/qt-creator-opensource-src-${pkgver}.tar.gz"
|
2012-12-31 04:23:09 +08:00
|
|
|
'qtcreator.desktop')
|
2014-05-04 20:22:34 +08:00
|
|
|
sha256sums=('c8c648f4988b707393e0f1958a8868718f27e59263f05f3b6599fa62290c2bbf'
|
2013-07-13 23:14:58 +08:00
|
|
|
'1f70efa02ea457a4df21243d3e8d68b6c66ad194400beb1f26f954536d4e7c90')
|
|
|
|
|
2010-06-01 03:21:31 +08:00
|
|
|
|
|
|
|
build() {
|
2011-11-30 10:20:33 +08:00
|
|
|
cd "${srcdir}"
|
|
|
|
[ -d build ] && rm -r build
|
2011-06-15 11:46:15 +08:00
|
|
|
mkdir build
|
|
|
|
cd build
|
2010-10-04 10:00:59 +08:00
|
|
|
|
2014-05-19 22:44:08 +08:00
|
|
|
qmake-qt5 "${srcdir}/qt-creator-opensource-src-${pkgver}/qtcreator.pro"
|
2013-05-28 02:51:52 +08:00
|
|
|
make
|
|
|
|
make docs -j1
|
2010-10-04 10:00:59 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2011-11-30 10:20:33 +08:00
|
|
|
cd "${srcdir}/build"
|
2010-10-04 10:00:59 +08:00
|
|
|
|
2011-11-30 10:20:33 +08:00
|
|
|
make INSTALL_ROOT="${pkgdir}/usr" install
|
2013-05-28 02:51:52 +08:00
|
|
|
make INSTALL_ROOT="${pkgdir}/usr/" install_docs
|
2010-10-04 10:00:59 +08:00
|
|
|
|
2011-11-30 10:20:33 +08:00
|
|
|
install -Dm644 "${srcdir}/qtcreator.desktop" \
|
|
|
|
"${pkgdir}/usr/share/applications/qtcreator.desktop"
|
2013-12-13 04:35:55 +08:00
|
|
|
install -Dm644 "${srcdir}/qt-creator-opensource-src-${pkgver}/LGPL_EXCEPTION.TXT" \
|
2011-11-30 10:20:33 +08:00
|
|
|
"${pkgdir}/usr/share/licenses/qtcreator/LGPL_EXCEPTION.TXT"
|
2010-06-01 03:21:31 +08:00
|
|
|
}
|