[arch-commits] Commit in qtcreator/repos (8 files)

Sven-Hendrik Haase svenstaro at archlinux.org
Sat Nov 28 00:11:47 UTC 2015


    Date: Saturday, November 28, 2015 @ 01:11:47
  Author: svenstaro
Revision: 252012

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  qtcreator/repos/community-testing-i686/
  qtcreator/repos/community-testing-i686/PKGBUILD
    (from rev 252011, qtcreator/trunk/PKGBUILD)
  qtcreator/repos/community-testing-i686/qtcreator.desktop
    (from rev 252011, qtcreator/trunk/qtcreator.desktop)
  qtcreator/repos/community-testing-i686/qtcreator.install
    (from rev 252011, qtcreator/trunk/qtcreator.install)
  qtcreator/repos/community-testing-x86_64/
  qtcreator/repos/community-testing-x86_64/PKGBUILD
    (from rev 252011, qtcreator/trunk/PKGBUILD)
  qtcreator/repos/community-testing-x86_64/qtcreator.desktop
    (from rev 252011, qtcreator/trunk/qtcreator.desktop)
  qtcreator/repos/community-testing-x86_64/qtcreator.install
    (from rev 252011, qtcreator/trunk/qtcreator.install)

--------------------------------------------+
 community-testing-i686/PKGBUILD            |   73 +++++++++++++++++++++++++++
 community-testing-i686/qtcreator.desktop   |   10 +++
 community-testing-i686/qtcreator.install   |   12 ++++
 community-testing-x86_64/PKGBUILD          |   73 +++++++++++++++++++++++++++
 community-testing-x86_64/qtcreator.desktop |   10 +++
 community-testing-x86_64/qtcreator.install |   12 ++++
 6 files changed, 190 insertions(+)

Copied: qtcreator/repos/community-testing-i686/PKGBUILD (from rev 252011, qtcreator/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD	                        (rev 0)
+++ community-testing-i686/PKGBUILD	2015-11-28 00:11:47 UTC (rev 252012)
@@ -0,0 +1,73 @@
+# $Id$
+# 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.6.0rc1
+_pkgver=v3.6.0-rc1
+pkgrel=1
+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
+
+  # Debugger: Allow LLDB-MI to be used as debugger
+  # https://bugreports.qt.io/browse/QTCREATORBUG-15131
+  # https://code.qt.io/cgit/qt-creator/qt-creator.git/commit/?id=97e9f113879c
+  # https://code.qt.io/cgit/qt-creator/qt-creator.git/commit/?id=e57b0db0f959
+  git cherry-pick -n 97e9f113879c e57b0db0f959
+}
+
+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/community-testing-i686/qtcreator.desktop (from rev 252011, qtcreator/trunk/qtcreator.desktop)
===================================================================
--- community-testing-i686/qtcreator.desktop	                        (rev 0)
+++ community-testing-i686/qtcreator.desktop	2015-11-28 00:11:47 UTC (rev 252012)
@@ -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/community-testing-i686/qtcreator.install (from rev 252011, qtcreator/trunk/qtcreator.install)
===================================================================
--- community-testing-i686/qtcreator.install	                        (rev 0)
+++ community-testing-i686/qtcreator.install	2015-11-28 00:11:47 UTC (rev 252012)
@@ -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/community-testing-x86_64/PKGBUILD (from rev 252011, qtcreator/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2015-11-28 00:11:47 UTC (rev 252012)
@@ -0,0 +1,73 @@
+# $Id$
+# 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.6.0rc1
+_pkgver=v3.6.0-rc1
+pkgrel=1
+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
+
+  # Debugger: Allow LLDB-MI to be used as debugger
+  # https://bugreports.qt.io/browse/QTCREATORBUG-15131
+  # https://code.qt.io/cgit/qt-creator/qt-creator.git/commit/?id=97e9f113879c
+  # https://code.qt.io/cgit/qt-creator/qt-creator.git/commit/?id=e57b0db0f959
+  git cherry-pick -n 97e9f113879c e57b0db0f959
+}
+
+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/community-testing-x86_64/qtcreator.desktop (from rev 252011, qtcreator/trunk/qtcreator.desktop)
===================================================================
--- community-testing-x86_64/qtcreator.desktop	                        (rev 0)
+++ community-testing-x86_64/qtcreator.desktop	2015-11-28 00:11:47 UTC (rev 252012)
@@ -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/community-testing-x86_64/qtcreator.install (from rev 252011, qtcreator/trunk/qtcreator.install)
===================================================================
--- community-testing-x86_64/qtcreator.install	                        (rev 0)
+++ community-testing-x86_64/qtcreator.install	2015-11-28 00:11:47 UTC (rev 252012)
@@ -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