Initial import
This commit is contained in:
38
.SRCINFO
Normal file
38
.SRCINFO
Normal file
@@ -0,0 +1,38 @@
|
|||||||
|
# Generated by makepkg 4.2.1
|
||||||
|
# Mon Mar 9 14:53:10 UTC 2015
|
||||||
|
pkgbase = qtcreator-git
|
||||||
|
pkgdesc = Lightweight, cross-platform integrated development environment
|
||||||
|
pkgver = v3.4.0.beta1.r95.gd65d84f
|
||||||
|
pkgrel = 1
|
||||||
|
url = http://qt-project.org/wiki/Category:Tools::QtCreator
|
||||||
|
install = qtcreator-git.install
|
||||||
|
arch = i686
|
||||||
|
arch = x86_64
|
||||||
|
license = LGPL
|
||||||
|
makedepends = git
|
||||||
|
makedepends = mesa
|
||||||
|
makedepends = clang
|
||||||
|
depends = qt5-quick1
|
||||||
|
depends = qt5-tools
|
||||||
|
depends = qt5-quickcontrols
|
||||||
|
optdepends = qt5-doc: for the integrated Qt documentation
|
||||||
|
optdepends = gdb: for the debugger
|
||||||
|
optdepends = cmake: for cmake project support
|
||||||
|
optdepends = openssh-askpass: for ssh support
|
||||||
|
optdepends = git: for git support
|
||||||
|
optdepends = mercurial: for mercurial support
|
||||||
|
optdepends = bzr: for bazaar support
|
||||||
|
optdepends = clang: Clang code model
|
||||||
|
optdepends = valgrind: for analyze support
|
||||||
|
provides = qtcreator
|
||||||
|
conflicts = qtcreator
|
||||||
|
options = docs
|
||||||
|
source = git://code.qt.io/qt-creator/qt-creator.git
|
||||||
|
source = git://code.qt.io/qt-labs/qbs.git
|
||||||
|
source = qtcreator.desktop
|
||||||
|
md5sums = SKIP
|
||||||
|
md5sums = SKIP
|
||||||
|
md5sums = 50880836fd62ccd87550940feb995f06
|
||||||
|
|
||||||
|
pkgname = qtcreator-git
|
||||||
|
|
71
PKGBUILD
Normal file
71
PKGBUILD
Normal file
@@ -0,0 +1,71 @@
|
|||||||
|
# Maintainer: Rodrigo Bezerra <rodrigobezerra21 at gmail dot com>
|
||||||
|
# Contributor: delor <bartekpiech@gmail com>
|
||||||
|
# Contributor: Lukas Jirkovsky <l.jirkovsky@gmail.com>
|
||||||
|
# Contributor: Dan Vratil <progdan@progdansoft.com>
|
||||||
|
# Contributor: thotypous <matiasΘarchlinux-br·org>
|
||||||
|
# Contributor: Imanol Celaya <ornitorrincos@archlinux-es.org>
|
||||||
|
# Contributor: heinz from #qt-creator
|
||||||
|
|
||||||
|
pkgname=qtcreator-git
|
||||||
|
pkgver=v3.4.0.beta1.r95.gd65d84f
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Lightweight, cross-platform integrated development environment"
|
||||||
|
arch=('i686' 'x86_64')
|
||||||
|
url="http://qt-project.org/wiki/Category:Tools::QtCreator"
|
||||||
|
license=('LGPL')
|
||||||
|
depends=('qt5-quick1' 'qt5-tools' 'qt5-quickcontrols')
|
||||||
|
makedepends=('git' 'mesa' 'clang')
|
||||||
|
options=('docs')
|
||||||
|
optdepends=('qt5-doc: for the integrated Qt documentation'
|
||||||
|
'gdb: for the debugger'
|
||||||
|
'cmake: for cmake project support'
|
||||||
|
'openssh-askpass: for ssh support'
|
||||||
|
'git: for git support'
|
||||||
|
'mercurial: for mercurial support'
|
||||||
|
'bzr: for bazaar support'
|
||||||
|
'clang: Clang code model'
|
||||||
|
'valgrind: for analyze support')
|
||||||
|
provides=('qtcreator')
|
||||||
|
conflicts=('qtcreator')
|
||||||
|
install='qtcreator-git.install'
|
||||||
|
source=("git://code.qt.io/qt-creator/qt-creator.git"
|
||||||
|
"git://code.qt.io/qt-labs/qbs.git"
|
||||||
|
'qtcreator.desktop')
|
||||||
|
md5sums=('SKIP'
|
||||||
|
'SKIP'
|
||||||
|
'50880836fd62ccd87550940feb995f06')
|
||||||
|
|
||||||
|
pkgver() {
|
||||||
|
cd qt-creator
|
||||||
|
|
||||||
|
git describe --long | sed -r 's/([^-]*-g)/r\1/;s/-/./g'
|
||||||
|
}
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
cd qt-creator
|
||||||
|
|
||||||
|
git submodule init
|
||||||
|
git config submodule.qbs.url $srcdir/qbs
|
||||||
|
git submodule update
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
[[ -d build ]] && rm -r build
|
||||||
|
mkdir build && cd build
|
||||||
|
|
||||||
|
LLVM_INSTALL_DIR=/usr qmake -r CONFIG+=journald ../qt-creator/qtcreator.pro
|
||||||
|
make
|
||||||
|
make docs -j1
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd build
|
||||||
|
|
||||||
|
make INSTALL_ROOT="${pkgdir}/usr/" install
|
||||||
|
make INSTALL_ROOT="${pkgdir}/usr/" install_docs
|
||||||
|
|
||||||
|
install -Dm644 "${srcdir}/qtcreator.desktop" \
|
||||||
|
"${pkgdir}/usr/share/applications/qtcreator.desktop"
|
||||||
|
install -Dm644 "${srcdir}/qt-creator/LGPL_EXCEPTION.TXT" \
|
||||||
|
"${pkgdir}/usr/share/licenses/qtcreator/LGPL_EXCEPTION.TXT"
|
||||||
|
}
|
12
qtcreator-git.install
Normal file
12
qtcreator-git.install
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
post_install() {
|
||||||
|
update-desktop-database -q
|
||||||
|
gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
|
||||||
|
}
|
||||||
|
|
||||||
|
post_upgrade() {
|
||||||
|
post_install
|
||||||
|
}
|
||||||
|
|
||||||
|
post_remove() {
|
||||||
|
post_install
|
||||||
|
}
|
9
qtcreator.desktop
Normal file
9
qtcreator.desktop
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Exec=/usr/bin/qtcreator
|
||||||
|
Name=Qt Creator
|
||||||
|
GenericName=C++ IDE
|
||||||
|
X-KDE-StartupNotify=true
|
||||||
|
Icon=QtProject-qtcreator.png
|
||||||
|
Terminal=false
|
||||||
|
Type=Application
|
||||||
|
Categories=Qt;Development;
|
Reference in New Issue
Block a user