[arch-commits] Commit in qtcreator/repos (4 files)
Antonio Rojas
arojas at archlinux.org
Fri Sep 8 11:23:01 UTC 2017
Date: Friday, September 8, 2017 @ 11:23:00
Author: arojas
Revision: 305060
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
qtcreator/repos/staging-i686/
qtcreator/repos/staging-i686/PKGBUILD
(from rev 305059, qtcreator/trunk/PKGBUILD)
qtcreator/repos/staging-x86_64/
qtcreator/repos/staging-x86_64/PKGBUILD
(from rev 305059, qtcreator/trunk/PKGBUILD)
-------------------------+
staging-i686/PKGBUILD | 59 ++++++++++++++++++++++++++++++++++++++++++++++
staging-x86_64/PKGBUILD | 59 ++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 118 insertions(+)
Copied: qtcreator/repos/staging-i686/PKGBUILD (from rev 305059, qtcreator/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2017-09-08 11:23:00 UTC (rev 305060)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Imanol Celaya <ornitorrincos at archlinux-es.org>
+# Contributor: Lukas Jirkovsky <l.jirkovsky at gmail.com>
+# Contributor: Dan Vratil <progdan at progdansoft.com>
+# Contributor: thotypous <matiasΘarchlinux-br·org>
+# Contributor: delor <bartekpiech gmail com>
+
+pkgname=qtcreator
+pkgver=4.4.0
+pkgrel=2
+pkgdesc='Lightweight, cross-platform integrated development environment'
+arch=('i686' 'x86_64')
+url='http://qt-project.org'
+license=('LGPL')
+depends=('qt5-tools' 'qt5-quickcontrols' 'qt5-quickcontrols2' 'qt5-webengine' 'clang' 'qbs')
+makedepends=('git' 'mesa' 'llvm')
+options=('docs')
+optdepends=('qt5-doc: integrated Qt documentation'
+ 'qt5-examples: welcome page examples'
+ 'qt5-translations: for other languages'
+ 'gdb: debugger'
+ 'cmake: cmake project support'
+ 'x11-ssh-askpass: ssh support'
+ 'git: git support'
+ 'mercurial: mercurial support'
+ 'bzr: bazaar support'
+ 'valgrind: analyze support')
+source=("http://download.qt.io/official_releases/qtcreator/${pkgver%.*}/${pkgver}/qt-creator-opensource-src-${pkgver}.tar.xz")
+sha512sums=('918b167cbc0d04f38f6cb693f481c9a6f724260a4e35000570b05f7be9bec9ae220bc914ea0fcda265a374c132c0edb7d76335803291f7a511f280fee00af63c')
+
+prepare() {
+ [[ -d build ]] && rm -r build
+ mkdir build
+
+ # fix hardcoded libexec path
+ sed -e 's|libexec\/qtcreator|lib\/qtcreator|g' -i qt-creator-opensource-src-${pkgver}/qtcreator.pri
+ # use system qbs
+ rm -r qt-creator-opensource-src-${pkgver}/src/shared/qbs
+}
+
+build() {
+ cd build
+
+ qmake LLVM_INSTALL_DIR=/usr QBS_INSTALL_DIR=/usr CONFIG+=journald QMAKE_CFLAGS_ISYSTEM=-I \
+ DEFINES+=QBS_ENABLE_PROJECT_FILE_UPDATES "$srcdir"/qt-creator-opensource-src-${pkgver}/qtcreator.pro
+ make
+ make docs
+}
+
+package() {
+ cd build
+
+ make INSTALL_ROOT="${pkgdir}/usr/" install
+ make INSTALL_ROOT="${pkgdir}/usr/" install_docs
+
+ install -Dm644 ${srcdir}/qt-creator-opensource-src-${pkgver}/LICENSE.GPL3-EXCEPT ${pkgdir}/usr/share/licenses/qtcreator/LICENSE.GPL3-EXCEPT
+}
Copied: qtcreator/repos/staging-x86_64/PKGBUILD (from rev 305059, qtcreator/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2017-09-08 11:23:00 UTC (rev 305060)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Imanol Celaya <ornitorrincos at archlinux-es.org>
+# Contributor: Lukas Jirkovsky <l.jirkovsky at gmail.com>
+# Contributor: Dan Vratil <progdan at progdansoft.com>
+# Contributor: thotypous <matiasΘarchlinux-br·org>
+# Contributor: delor <bartekpiech gmail com>
+
+pkgname=qtcreator
+pkgver=4.4.0
+pkgrel=2
+pkgdesc='Lightweight, cross-platform integrated development environment'
+arch=('i686' 'x86_64')
+url='http://qt-project.org'
+license=('LGPL')
+depends=('qt5-tools' 'qt5-quickcontrols' 'qt5-quickcontrols2' 'qt5-webengine' 'clang' 'qbs')
+makedepends=('git' 'mesa' 'llvm')
+options=('docs')
+optdepends=('qt5-doc: integrated Qt documentation'
+ 'qt5-examples: welcome page examples'
+ 'qt5-translations: for other languages'
+ 'gdb: debugger'
+ 'cmake: cmake project support'
+ 'x11-ssh-askpass: ssh support'
+ 'git: git support'
+ 'mercurial: mercurial support'
+ 'bzr: bazaar support'
+ 'valgrind: analyze support')
+source=("http://download.qt.io/official_releases/qtcreator/${pkgver%.*}/${pkgver}/qt-creator-opensource-src-${pkgver}.tar.xz")
+sha512sums=('918b167cbc0d04f38f6cb693f481c9a6f724260a4e35000570b05f7be9bec9ae220bc914ea0fcda265a374c132c0edb7d76335803291f7a511f280fee00af63c')
+
+prepare() {
+ [[ -d build ]] && rm -r build
+ mkdir build
+
+ # fix hardcoded libexec path
+ sed -e 's|libexec\/qtcreator|lib\/qtcreator|g' -i qt-creator-opensource-src-${pkgver}/qtcreator.pri
+ # use system qbs
+ rm -r qt-creator-opensource-src-${pkgver}/src/shared/qbs
+}
+
+build() {
+ cd build
+
+ qmake LLVM_INSTALL_DIR=/usr QBS_INSTALL_DIR=/usr CONFIG+=journald QMAKE_CFLAGS_ISYSTEM=-I \
+ DEFINES+=QBS_ENABLE_PROJECT_FILE_UPDATES "$srcdir"/qt-creator-opensource-src-${pkgver}/qtcreator.pro
+ make
+ make docs
+}
+
+package() {
+ cd build
+
+ make INSTALL_ROOT="${pkgdir}/usr/" install
+ make INSTALL_ROOT="${pkgdir}/usr/" install_docs
+
+ install -Dm644 ${srcdir}/qt-creator-opensource-src-${pkgver}/LICENSE.GPL3-EXCEPT ${pkgdir}/usr/share/licenses/qtcreator/LICENSE.GPL3-EXCEPT
+}
More information about the arch-commits
mailing list