[arch-commits] Commit in qt5-tools/repos (12 files)

Antonio Rojas arojas at archlinux.org
Sat Oct 1 08:46:42 UTC 2016


    Date: Saturday, October 1, 2016 @ 08:46:42
  Author: arojas
Revision: 277502

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

Added:
  qt5-tools/repos/testing-i686/
  qt5-tools/repos/testing-i686/PKGBUILD
    (from rev 277501, qt5-tools/trunk/PKGBUILD)
  qt5-tools/repos/testing-i686/assistant.desktop
    (from rev 277501, qt5-tools/trunk/assistant.desktop)
  qt5-tools/repos/testing-i686/designer.desktop
    (from rev 277501, qt5-tools/trunk/designer.desktop)
  qt5-tools/repos/testing-i686/linguist.desktop
    (from rev 277501, qt5-tools/trunk/linguist.desktop)
  qt5-tools/repos/testing-i686/qdbusviewer.desktop
    (from rev 277501, qt5-tools/trunk/qdbusviewer.desktop)
  qt5-tools/repos/testing-x86_64/
  qt5-tools/repos/testing-x86_64/PKGBUILD
    (from rev 277501, qt5-tools/trunk/PKGBUILD)
  qt5-tools/repos/testing-x86_64/assistant.desktop
    (from rev 277501, qt5-tools/trunk/assistant.desktop)
  qt5-tools/repos/testing-x86_64/designer.desktop
    (from rev 277501, qt5-tools/trunk/designer.desktop)
  qt5-tools/repos/testing-x86_64/linguist.desktop
    (from rev 277501, qt5-tools/trunk/linguist.desktop)
  qt5-tools/repos/testing-x86_64/qdbusviewer.desktop
    (from rev 277501, qt5-tools/trunk/qdbusviewer.desktop)

------------------------------------+
 testing-i686/PKGBUILD              |   75 +++++++++++++++++++++++++++++++++++
 testing-i686/assistant.desktop     |    8 +++
 testing-i686/designer.desktop      |   10 ++++
 testing-i686/linguist.desktop      |    9 ++++
 testing-i686/qdbusviewer.desktop   |    9 ++++
 testing-x86_64/PKGBUILD            |   75 +++++++++++++++++++++++++++++++++++
 testing-x86_64/assistant.desktop   |    8 +++
 testing-x86_64/designer.desktop    |   10 ++++
 testing-x86_64/linguist.desktop    |    9 ++++
 testing-x86_64/qdbusviewer.desktop |    9 ++++
 10 files changed, 222 insertions(+)

Copied: qt5-tools/repos/testing-i686/PKGBUILD (from rev 277501, qt5-tools/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2016-10-01 08:46:42 UTC (rev 277502)
@@ -0,0 +1,75 @@
+# $Id: PKGBUILD 240297 2015-06-03 10:22:03Z fyan $
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=qt5-tools
+_qtver=5.7.0
+pkgver=${_qtver/-/}
+pkgrel=2
+arch=('i686' 'x86_64')
+url='http://qt-project.org/'
+license=('GPL3' 'LGPL3' 'FDL' 'custom')
+pkgdesc='A cross-platform application and UI framework (Development Tools, QtHelp)'
+depends=('qt5-base')
+makedepends=('qt5-declarative' 'qt5-webkit')
+optdepends=('qt5-doc: documentation' 'qt5-webkit: for Qt Assistant')
+groups=('qt' 'qt5')
+conflicts=('qtchooser')
+_pkgfqn="${pkgname/5-/}-opensource-src-${_qtver}"
+source=("http://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz"
+        {assistant,designer,linguist,qdbusviewer}.desktop)
+md5sums=('29eb3fd31582b5801e264c62d1158553'
+         '4d5108891a3c0255af29e7640a29caed'
+         'f9a33d1e43ebf4ee9c6feda68feba64a'
+         '521eff2020e1397aa9b22caa17d4ee4b'
+         '05a8324f294da817b2fd3a59863a06f1')
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+
+  qmake ../${_pkgfqn}
+  make
+}
+
+package() {
+  cd build
+  make INSTALL_ROOT="${pkgdir}" install
+
+  cd ../${_pkgfqn}
+  # install missing icons and desktop files
+  for icon in src/linguist/linguist/images/icons/linguist-*-32.png ; do
+    size=$(echo $(basename ${icon}) | cut -d- -f2)
+    install -p -D -m644 ${icon} \
+      "${pkgdir}/usr/share/icons/hicolor/${size}x${size}/apps/linguist.png"
+  done
+
+  install -D -m644 src/assistant/assistant/images/assistant.png \
+    "${pkgdir}/usr/share/icons/hicolor/32x32/apps/assistant.png"
+  install -D -m644 src/assistant/assistant/images/assistant-128.png \
+    "${pkgdir}/usr/share/icons/hicolor/128x128/apps/assistant.png"
+  install -D -m644 src/designer/src/designer/images/designer.png \
+    "${pkgdir}/usr/share/icons/hicolor/128x128/apps/QtProject-designer.png"
+  install -D -m644 src/qdbus/qdbusviewer/images/qdbusviewer.png \
+    "${pkgdir}/usr/share/icons/hicolor/32x32/apps/qdbusviewer.png"
+  install -D -m644 src/qdbus/qdbusviewer/images/qdbusviewer-128.png \
+    "${pkgdir}/usr/share/icons/hicolor/128x128/apps/qdbusviewer.png"
+  install -d "${pkgdir}/usr/share/applications"
+  install -m644 "${srcdir}"/{linguist,designer,assistant,qdbusviewer}.desktop \
+    "${pkgdir}/usr/share/applications/"
+
+  # Symlinks for backwards compatibility
+  for b in "${pkgdir}"/usr/bin/*; do
+    ln -s /usr/bin/$(basename $b) "${pkgdir}"/usr/bin/$(basename $b)-qt5
+  done
+
+  # Drop QMAKE_PRL_BUILD_DIR because reference the build dir
+  find "${pkgdir}/usr/lib" -type f -name '*.prl' \
+    -exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
+
+  install -d "$pkgdir"/usr/share/licenses
+  ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/${pkgname}
+}

Copied: qt5-tools/repos/testing-i686/assistant.desktop (from rev 277501, qt5-tools/trunk/assistant.desktop)
===================================================================
--- testing-i686/assistant.desktop	                        (rev 0)
+++ testing-i686/assistant.desktop	2016-10-01 08:46:42 UTC (rev 277502)
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=Qt Assistant
+Comment=Shows Qt documentation and examples
+Exec=assistant
+Icon=assistant
+Terminal=false
+Type=Application
+Categories=Qt;Development;Documentation;

Copied: qt5-tools/repos/testing-i686/designer.desktop (from rev 277501, qt5-tools/trunk/designer.desktop)
===================================================================
--- testing-i686/designer.desktop	                        (rev 0)
+++ testing-i686/designer.desktop	2016-10-01 08:46:42 UTC (rev 277502)
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Name=Qt Designer
+GenericName=Interface Designer
+Comment=Design GUIs for Qt applications
+Exec=designer
+Icon=QtProject-designer
+MimeType=application/x-designer;
+Terminal=false
+Type=Application
+Categories=Qt;Development;

Copied: qt5-tools/repos/testing-i686/linguist.desktop (from rev 277501, qt5-tools/trunk/linguist.desktop)
===================================================================
--- testing-i686/linguist.desktop	                        (rev 0)
+++ testing-i686/linguist.desktop	2016-10-01 08:46:42 UTC (rev 277502)
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=Qt Linguist
+Comment=Add translations to Qt applications
+Exec=linguist
+Icon=linguist
+MimeType=text/vnd.trolltech.linguist;application/x-linguist;
+Terminal=false
+Type=Application
+Categories=Qt;Development;

Copied: qt5-tools/repos/testing-i686/qdbusviewer.desktop (from rev 277501, qt5-tools/trunk/qdbusviewer.desktop)
===================================================================
--- testing-i686/qdbusviewer.desktop	                        (rev 0)
+++ testing-i686/qdbusviewer.desktop	2016-10-01 08:46:42 UTC (rev 277502)
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=Qt QDbusViewer 
+GenericName=D-Bus Debugger
+Comment=Debug D-Bus applications
+Exec=qdbusviewer
+Icon=qdbusviewer
+Terminal=false
+Type=Application
+Categories=Qt;Development;Debugger;

Copied: qt5-tools/repos/testing-x86_64/PKGBUILD (from rev 277501, qt5-tools/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2016-10-01 08:46:42 UTC (rev 277502)
@@ -0,0 +1,75 @@
+# $Id: PKGBUILD 240297 2015-06-03 10:22:03Z fyan $
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=qt5-tools
+_qtver=5.7.0
+pkgver=${_qtver/-/}
+pkgrel=2
+arch=('i686' 'x86_64')
+url='http://qt-project.org/'
+license=('GPL3' 'LGPL3' 'FDL' 'custom')
+pkgdesc='A cross-platform application and UI framework (Development Tools, QtHelp)'
+depends=('qt5-base')
+makedepends=('qt5-declarative' 'qt5-webkit')
+optdepends=('qt5-doc: documentation' 'qt5-webkit: for Qt Assistant')
+groups=('qt' 'qt5')
+conflicts=('qtchooser')
+_pkgfqn="${pkgname/5-/}-opensource-src-${_qtver}"
+source=("http://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz"
+        {assistant,designer,linguist,qdbusviewer}.desktop)
+md5sums=('29eb3fd31582b5801e264c62d1158553'
+         '4d5108891a3c0255af29e7640a29caed'
+         'f9a33d1e43ebf4ee9c6feda68feba64a'
+         '521eff2020e1397aa9b22caa17d4ee4b'
+         '05a8324f294da817b2fd3a59863a06f1')
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+
+  qmake ../${_pkgfqn}
+  make
+}
+
+package() {
+  cd build
+  make INSTALL_ROOT="${pkgdir}" install
+
+  cd ../${_pkgfqn}
+  # install missing icons and desktop files
+  for icon in src/linguist/linguist/images/icons/linguist-*-32.png ; do
+    size=$(echo $(basename ${icon}) | cut -d- -f2)
+    install -p -D -m644 ${icon} \
+      "${pkgdir}/usr/share/icons/hicolor/${size}x${size}/apps/linguist.png"
+  done
+
+  install -D -m644 src/assistant/assistant/images/assistant.png \
+    "${pkgdir}/usr/share/icons/hicolor/32x32/apps/assistant.png"
+  install -D -m644 src/assistant/assistant/images/assistant-128.png \
+    "${pkgdir}/usr/share/icons/hicolor/128x128/apps/assistant.png"
+  install -D -m644 src/designer/src/designer/images/designer.png \
+    "${pkgdir}/usr/share/icons/hicolor/128x128/apps/QtProject-designer.png"
+  install -D -m644 src/qdbus/qdbusviewer/images/qdbusviewer.png \
+    "${pkgdir}/usr/share/icons/hicolor/32x32/apps/qdbusviewer.png"
+  install -D -m644 src/qdbus/qdbusviewer/images/qdbusviewer-128.png \
+    "${pkgdir}/usr/share/icons/hicolor/128x128/apps/qdbusviewer.png"
+  install -d "${pkgdir}/usr/share/applications"
+  install -m644 "${srcdir}"/{linguist,designer,assistant,qdbusviewer}.desktop \
+    "${pkgdir}/usr/share/applications/"
+
+  # Symlinks for backwards compatibility
+  for b in "${pkgdir}"/usr/bin/*; do
+    ln -s /usr/bin/$(basename $b) "${pkgdir}"/usr/bin/$(basename $b)-qt5
+  done
+
+  # Drop QMAKE_PRL_BUILD_DIR because reference the build dir
+  find "${pkgdir}/usr/lib" -type f -name '*.prl' \
+    -exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
+
+  install -d "$pkgdir"/usr/share/licenses
+  ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/${pkgname}
+}

Copied: qt5-tools/repos/testing-x86_64/assistant.desktop (from rev 277501, qt5-tools/trunk/assistant.desktop)
===================================================================
--- testing-x86_64/assistant.desktop	                        (rev 0)
+++ testing-x86_64/assistant.desktop	2016-10-01 08:46:42 UTC (rev 277502)
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=Qt Assistant
+Comment=Shows Qt documentation and examples
+Exec=assistant
+Icon=assistant
+Terminal=false
+Type=Application
+Categories=Qt;Development;Documentation;

Copied: qt5-tools/repos/testing-x86_64/designer.desktop (from rev 277501, qt5-tools/trunk/designer.desktop)
===================================================================
--- testing-x86_64/designer.desktop	                        (rev 0)
+++ testing-x86_64/designer.desktop	2016-10-01 08:46:42 UTC (rev 277502)
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Name=Qt Designer
+GenericName=Interface Designer
+Comment=Design GUIs for Qt applications
+Exec=designer
+Icon=QtProject-designer
+MimeType=application/x-designer;
+Terminal=false
+Type=Application
+Categories=Qt;Development;

Copied: qt5-tools/repos/testing-x86_64/linguist.desktop (from rev 277501, qt5-tools/trunk/linguist.desktop)
===================================================================
--- testing-x86_64/linguist.desktop	                        (rev 0)
+++ testing-x86_64/linguist.desktop	2016-10-01 08:46:42 UTC (rev 277502)
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=Qt Linguist
+Comment=Add translations to Qt applications
+Exec=linguist
+Icon=linguist
+MimeType=text/vnd.trolltech.linguist;application/x-linguist;
+Terminal=false
+Type=Application
+Categories=Qt;Development;

Copied: qt5-tools/repos/testing-x86_64/qdbusviewer.desktop (from rev 277501, qt5-tools/trunk/qdbusviewer.desktop)
===================================================================
--- testing-x86_64/qdbusviewer.desktop	                        (rev 0)
+++ testing-x86_64/qdbusviewer.desktop	2016-10-01 08:46:42 UTC (rev 277502)
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=Qt QDbusViewer 
+GenericName=D-Bus Debugger
+Comment=Debug D-Bus applications
+Exec=qdbusviewer
+Icon=qdbusviewer
+Terminal=false
+Type=Application
+Categories=Qt;Development;Debugger;



More information about the arch-commits mailing list