mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
extra/qtcreator to 4.2.1-4
This commit is contained in:
parent
112a5b525f
commit
6d23f31aad
2 changed files with 4 additions and 19 deletions
|
@ -15,7 +15,7 @@ buildarch=12
|
|||
pkgname=qtcreator
|
||||
pkgver=4.2.1
|
||||
_pkgver=v4.2.1
|
||||
pkgrel=3
|
||||
pkgrel=4
|
||||
pkgdesc='Lightweight, cross-platform integrated development environment'
|
||||
arch=('i686' 'x86_64')
|
||||
url='http://qt-project.org'
|
||||
|
@ -28,7 +28,7 @@ optdepends=('qt5-doc: integrated Qt documentation'
|
|||
'qt5-translations: for other languages'
|
||||
'gdb: debugger'
|
||||
'cmake: cmake project support'
|
||||
'openssh-askpass: ssh support'
|
||||
'x11-ssh-askpass: ssh support'
|
||||
'git: git support'
|
||||
'mercurial: mercurial support'
|
||||
'bzr: bazaar support')
|
||||
|
@ -47,7 +47,8 @@ build() {
|
|||
[[ -d build ]] && rm -r build
|
||||
mkdir build && cd build
|
||||
|
||||
LLVM_INSTALL_DIR=/usr QBS_INSTALL_DIR=/usr qmake QMAKE_CFLAGS_ISYSTEM=-I CONFIG+=journald -r ../qt-creator-opensource-src-${pkgver}/qtcreator.pro
|
||||
LLVM_INSTALL_DIR=/usr QBS_INSTALL_DIR=/usr qmake QMAKE_CFLAGS_ISYSTEM=-I \
|
||||
CONFIG+=journald -r ../qt-creator-opensource-src-${pkgver}/qtcreator.pro
|
||||
make
|
||||
make docs -j1
|
||||
}
|
||||
|
@ -58,11 +59,5 @@ package() {
|
|||
make INSTALL_ROOT="${pkgdir}/usr/" install
|
||||
make INSTALL_ROOT="${pkgdir}/usr/" install_docs
|
||||
|
||||
# Workaround for FS#40583
|
||||
mv "${pkgdir}"/usr/bin/qtcreator "${pkgdir}"/usr/bin/qtcreator-bin
|
||||
echo "#!/bin/sh" > "${pkgdir}"/usr/bin/qtcreator
|
||||
echo "QT_LOGGING_TO_CONSOLE=1 qtcreator-bin \$@" >> "${pkgdir}"/usr/bin/qtcreator
|
||||
chmod +x "${pkgdir}"/usr/bin/qtcreator
|
||||
|
||||
install -Dm644 ${srcdir}/qt-creator-opensource-src-${pkgver}/LICENSE.GPL3-EXCEPT ${pkgdir}/usr/share/licenses/qtcreator/LICENSE.GPL3-EXCEPT
|
||||
}
|
||||
|
|
|
@ -1,10 +0,0 @@
|
|||
[Desktop Entry]
|
||||
Type=Application
|
||||
Exec=qtcreator %F
|
||||
Name=Qt Creator
|
||||
GenericName=C++ IDE for developing Qt applications
|
||||
X-KDE-StartupNotify=true
|
||||
Icon=QtProject-qtcreator
|
||||
Terminal=false
|
||||
Categories=Development;IDE;Qt;
|
||||
MimeType=text/x-c++src;text/x-c++hdr;text/x-xsrc;application/x-designer;application/vnd.nokia.qt.qmakeprofile;application/vnd.nokia.xml.qt.resource;
|
Loading…
Reference in a new issue