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

Antonio Rojas arojas at archlinux.org
Thu Nov 19 19:09:09 UTC 2020


    Date: Thursday, November 19, 2020 @ 19:09:09
  Author: arojas
Revision: 401409

archrelease: copy trunk to staging-x86_64

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

---------------------+
 PKGBUILD            |   74 ++++++++++++++++++++++++++++++++++++++++++++++++++
 assistant.desktop   |    8 +++++
 designer.desktop    |   10 ++++++
 linguist.desktop    |    9 ++++++
 qdbusviewer.desktop |    9 ++++++
 5 files changed, 110 insertions(+)

Copied: qt5-tools/repos/staging-x86_64/PKGBUILD (from rev 401408, qt5-tools/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-11-19 19:09:09 UTC (rev 401409)
@@ -0,0 +1,74 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=qt5-tools
+_qtver=5.15.2
+pkgver=${_qtver/-/}
+pkgrel=1
+arch=('x86_64')
+url='https://www.qt.io'
+license=('GPL3' 'LGPL3' 'FDL' 'custom')
+pkgdesc='A cross-platform application and UI framework (Development Tools, QtHelp)'
+depends=('qt5-base' 'hicolor-icon-theme')
+makedepends=('qt5-declarative' 'vulkan-headers' 'clang' 'qt5-webkit')
+optdepends=('clang: for qdoc' 'qt5-webkit: for Qt Assistant')
+groups=('qt' 'qt5')
+conflicts=('qtchooser')
+_pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}"
+source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz"
+        {assistant,designer,linguist,qdbusviewer}.desktop)
+sha256sums=('c189d0ce1ff7c739db9a3ace52ac3e24cb8fd6dbf234e49f075249b38f43c1cc'
+            '8092d6d846e39632107b14726fa112862d800e929ef10f05f2a284dbda9b53c4'
+            '92f3e5dc8bc416e02893c38a05287238853e0c20732df1e62d6a672744a34e7c'
+            '15781519115e36d2c67c12ee6bc636425cd445072f43cb8bdd1364cfacbe4c45'
+            'cd94367e35f99ab85277aa95985bbde292a9cc82db2c04c4efdaed5799aa16db')
+
+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 $(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/staging-x86_64/assistant.desktop (from rev 401408, qt5-tools/trunk/assistant.desktop)
===================================================================
--- staging-x86_64/assistant.desktop	                        (rev 0)
+++ staging-x86_64/assistant.desktop	2020-11-19 19:09:09 UTC (rev 401409)
@@ -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/staging-x86_64/designer.desktop (from rev 401408, qt5-tools/trunk/designer.desktop)
===================================================================
--- staging-x86_64/designer.desktop	                        (rev 0)
+++ staging-x86_64/designer.desktop	2020-11-19 19:09:09 UTC (rev 401409)
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Name=Qt Designer
+GenericName=Interface Designer
+Comment=Design GUIs for Qt applications
+Exec=designer %F
+Icon=QtProject-designer
+MimeType=application/x-designer;
+Terminal=false
+Type=Application
+Categories=Qt;Development;

Copied: qt5-tools/repos/staging-x86_64/linguist.desktop (from rev 401408, qt5-tools/trunk/linguist.desktop)
===================================================================
--- staging-x86_64/linguist.desktop	                        (rev 0)
+++ staging-x86_64/linguist.desktop	2020-11-19 19:09:09 UTC (rev 401409)
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=Qt Linguist
+Comment=Add translations to Qt applications
+Exec=linguist %F
+Icon=linguist
+MimeType=text/vnd.trolltech.linguist;application/x-linguist;
+Terminal=false
+Type=Application
+Categories=Qt;Development;

Copied: qt5-tools/repos/staging-x86_64/qdbusviewer.desktop (from rev 401408, qt5-tools/trunk/qdbusviewer.desktop)
===================================================================
--- staging-x86_64/qdbusviewer.desktop	                        (rev 0)
+++ staging-x86_64/qdbusviewer.desktop	2020-11-19 19:09:09 UTC (rev 401409)
@@ -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