[arch-commits] Commit in qtcreator/repos (8 files)
Sven-Hendrik Haase
svenstaro at archlinux.org
Wed Sep 16 19:24:12 UTC 2015
Date: Wednesday, September 16, 2015 @ 21:24:11
Author: svenstaro
Revision: 246412
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
qtcreator/repos/staging-i686/
qtcreator/repos/staging-i686/PKGBUILD
(from rev 246411, qtcreator/trunk/PKGBUILD)
qtcreator/repos/staging-i686/qtcreator.desktop
(from rev 246411, qtcreator/trunk/qtcreator.desktop)
qtcreator/repos/staging-i686/qtcreator.install
(from rev 246411, qtcreator/trunk/qtcreator.install)
qtcreator/repos/staging-x86_64/
qtcreator/repos/staging-x86_64/PKGBUILD
(from rev 246411, qtcreator/trunk/PKGBUILD)
qtcreator/repos/staging-x86_64/qtcreator.desktop
(from rev 246411, qtcreator/trunk/qtcreator.desktop)
qtcreator/repos/staging-x86_64/qtcreator.install
(from rev 246411, qtcreator/trunk/qtcreator.install)
----------------------------------+
staging-i686/PKGBUILD | 67 +++++++++++++++++++++++++++++++++++++
staging-i686/qtcreator.desktop | 10 +++++
staging-i686/qtcreator.install | 12 ++++++
staging-x86_64/PKGBUILD | 67 +++++++++++++++++++++++++++++++++++++
staging-x86_64/qtcreator.desktop | 10 +++++
staging-x86_64/qtcreator.install | 12 ++++++
6 files changed, 178 insertions(+)
Copied: qtcreator/repos/staging-i686/PKGBUILD (from rev 246411, qtcreator/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2015-09-16 19:24:11 UTC (rev 246412)
@@ -0,0 +1,67 @@
+# $Id: PKGBUILD 101820 2013-12-02 00:06:01Z svenstaro $
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# 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=3.5.0
+_pkgver=v3.5.0
+pkgrel=2
+pkgdesc='Lightweight, cross-platform integrated development environment'
+arch=('i686' 'x86_64')
+url='http://qt-project.org'
+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')
+install=qtcreator.install
+source=("git://code.qt.io/qt-creator/qt-creator.git#tag=${_pkgver}"
+ "git://code.qt.io/qt-labs/qbs.git"
+ 'qtcreator.desktop')
+md5sums=('SKIP'
+ 'SKIP'
+ '800c94165c547b64012a207d9830250a')
+
+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 CONFIG+=journald -r ../qt-creator/qtcreator.pro
+ make
+ make docs -j1
+}
+
+package() {
+ cd build
+
+ 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}/qtcreator.desktop ${pkgdir}/usr/share/applications/qtcreator.desktop
+ install -Dm644 ${srcdir}/qt-creator/LGPL_EXCEPTION.TXT ${pkgdir}/usr/share/licenses/qtcreator/LGPL_EXCEPTION.TXT
+}
Copied: qtcreator/repos/staging-i686/qtcreator.desktop (from rev 246411, qtcreator/trunk/qtcreator.desktop)
===================================================================
--- staging-i686/qtcreator.desktop (rev 0)
+++ staging-i686/qtcreator.desktop 2015-09-16 19:24:11 UTC (rev 246412)
@@ -0,0 +1,10 @@
+[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;
Copied: qtcreator/repos/staging-i686/qtcreator.install (from rev 246411, qtcreator/trunk/qtcreator.install)
===================================================================
--- staging-i686/qtcreator.install (rev 0)
+++ staging-i686/qtcreator.install 2015-09-16 19:24:11 UTC (rev 246412)
@@ -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
+}
Copied: qtcreator/repos/staging-x86_64/PKGBUILD (from rev 246411, qtcreator/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2015-09-16 19:24:11 UTC (rev 246412)
@@ -0,0 +1,67 @@
+# $Id: PKGBUILD 101820 2013-12-02 00:06:01Z svenstaro $
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# 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=3.5.0
+_pkgver=v3.5.0
+pkgrel=2
+pkgdesc='Lightweight, cross-platform integrated development environment'
+arch=('i686' 'x86_64')
+url='http://qt-project.org'
+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')
+install=qtcreator.install
+source=("git://code.qt.io/qt-creator/qt-creator.git#tag=${_pkgver}"
+ "git://code.qt.io/qt-labs/qbs.git"
+ 'qtcreator.desktop')
+md5sums=('SKIP'
+ 'SKIP'
+ '800c94165c547b64012a207d9830250a')
+
+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 CONFIG+=journald -r ../qt-creator/qtcreator.pro
+ make
+ make docs -j1
+}
+
+package() {
+ cd build
+
+ 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}/qtcreator.desktop ${pkgdir}/usr/share/applications/qtcreator.desktop
+ install -Dm644 ${srcdir}/qt-creator/LGPL_EXCEPTION.TXT ${pkgdir}/usr/share/licenses/qtcreator/LGPL_EXCEPTION.TXT
+}
Copied: qtcreator/repos/staging-x86_64/qtcreator.desktop (from rev 246411, qtcreator/trunk/qtcreator.desktop)
===================================================================
--- staging-x86_64/qtcreator.desktop (rev 0)
+++ staging-x86_64/qtcreator.desktop 2015-09-16 19:24:11 UTC (rev 246412)
@@ -0,0 +1,10 @@
+[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;
Copied: qtcreator/repos/staging-x86_64/qtcreator.install (from rev 246411, qtcreator/trunk/qtcreator.install)
===================================================================
--- staging-x86_64/qtcreator.install (rev 0)
+++ staging-x86_64/qtcreator.install 2015-09-16 19:24:11 UTC (rev 246412)
@@ -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
+}
More information about the arch-commits
mailing list