[arch-commits] Commit in qt5-tools/trunk (5 files)

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


    Date: Saturday, October 1, 2016 @ 08:46:05
  Author: arojas
Revision: 277501

Install binaries to the standard location

Modified:
  qt5-tools/trunk/PKGBUILD
  qt5-tools/trunk/assistant.desktop
  qt5-tools/trunk/designer.desktop
  qt5-tools/trunk/linguist.desktop
  qt5-tools/trunk/qdbusviewer.desktop

---------------------+
 PKGBUILD            |   18 +++++++++---------
 assistant.desktop   |    2 +-
 designer.desktop    |    2 +-
 linguist.desktop    |    2 +-
 qdbusviewer.desktop |    2 +-
 5 files changed, 13 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-10-01 08:42:34 UTC (rev 277500)
+++ PKGBUILD	2016-10-01 08:46:05 UTC (rev 277501)
@@ -5,7 +5,7 @@
 pkgname=qt5-tools
 _qtver=5.7.0
 pkgver=${_qtver/-/}
-pkgrel=1
+pkgrel=2
 arch=('i686' 'x86_64')
 url='http://qt-project.org/'
 license=('GPL3' 'LGPL3' 'FDL' 'custom')
@@ -14,14 +14,15 @@
 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'
-         'b2897dd6a2967bccf8f10e397aafee55'
-         '76e150b20178d2d43801f7367232e5f7'
-         '188da8f4c87316e730ebf1c6217bf5a0'
-         '322b419b16c75d4de0ee7ad0a246caa1')
+         '4d5108891a3c0255af29e7640a29caed'
+         'f9a33d1e43ebf4ee9c6feda68feba64a'
+         '521eff2020e1397aa9b22caa17d4ee4b'
+         '05a8324f294da817b2fd3a59863a06f1')
 
 prepare() {
   mkdir -p build
@@ -60,10 +61,9 @@
   install -m644 "${srcdir}"/{linguist,designer,assistant,qdbusviewer}.desktop \
     "${pkgdir}/usr/share/applications/"
 
-  # Useful symlinks
-  install -d "${pkgdir}"/usr/bin
-  for b in "${pkgdir}"/usr/lib/qt/bin/*; do
-    ln -s /usr/lib/qt/bin/$(basename $b) "${pkgdir}"/usr/bin/$(basename $b)-qt5
+  # 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

Modified: assistant.desktop
===================================================================
--- assistant.desktop	2016-10-01 08:42:34 UTC (rev 277500)
+++ assistant.desktop	2016-10-01 08:46:05 UTC (rev 277501)
@@ -1,7 +1,7 @@
 [Desktop Entry]
 Name=Qt Assistant
 Comment=Shows Qt documentation and examples
-Exec=/usr/lib/qt/bin/assistant
+Exec=assistant
 Icon=assistant
 Terminal=false
 Type=Application

Modified: designer.desktop
===================================================================
--- designer.desktop	2016-10-01 08:42:34 UTC (rev 277500)
+++ designer.desktop	2016-10-01 08:46:05 UTC (rev 277501)
@@ -2,7 +2,7 @@
 Name=Qt Designer
 GenericName=Interface Designer
 Comment=Design GUIs for Qt applications
-Exec=/usr/lib/qt/bin/designer
+Exec=designer
 Icon=QtProject-designer
 MimeType=application/x-designer;
 Terminal=false

Modified: linguist.desktop
===================================================================
--- linguist.desktop	2016-10-01 08:42:34 UTC (rev 277500)
+++ linguist.desktop	2016-10-01 08:46:05 UTC (rev 277501)
@@ -1,7 +1,7 @@
 [Desktop Entry]
 Name=Qt Linguist
 Comment=Add translations to Qt applications
-Exec=/usr/lib/qt/bin/linguist
+Exec=linguist
 Icon=linguist
 MimeType=text/vnd.trolltech.linguist;application/x-linguist;
 Terminal=false

Modified: qdbusviewer.desktop
===================================================================
--- qdbusviewer.desktop	2016-10-01 08:42:34 UTC (rev 277500)
+++ qdbusviewer.desktop	2016-10-01 08:46:05 UTC (rev 277501)
@@ -2,7 +2,7 @@
 Name=Qt QDbusViewer 
 GenericName=D-Bus Debugger
 Comment=Debug D-Bus applications
-Exec=/usr/lib/qt/bin/qdbusviewer
+Exec=qdbusviewer
 Icon=qdbusviewer
 Terminal=false
 Type=Application



More information about the arch-commits mailing list