Date: Monday, February 29, 2016 @ 13:14:06 Author: arojas Revision: 260387
archrelease: copy trunk to kde-unstable-i686, kde-unstable-x86_64 Added: qt5-tools/repos/ qt5-tools/repos/kde-unstable-i686/ qt5-tools/repos/kde-unstable-i686/PKGBUILD (from rev 260386, qt5-tools/trunk/PKGBUILD) qt5-tools/repos/kde-unstable-i686/assistant.desktop (from rev 260386, qt5-tools/trunk/assistant.desktop) qt5-tools/repos/kde-unstable-i686/designer.desktop (from rev 260386, qt5-tools/trunk/designer.desktop) qt5-tools/repos/kde-unstable-i686/linguist.desktop (from rev 260386, qt5-tools/trunk/linguist.desktop) qt5-tools/repos/kde-unstable-i686/qdbusviewer.desktop (from rev 260386, qt5-tools/trunk/qdbusviewer.desktop) qt5-tools/repos/kde-unstable-x86_64/ qt5-tools/repos/kde-unstable-x86_64/PKGBUILD (from rev 260386, qt5-tools/trunk/PKGBUILD) qt5-tools/repos/kde-unstable-x86_64/assistant.desktop (from rev 260386, qt5-tools/trunk/assistant.desktop) qt5-tools/repos/kde-unstable-x86_64/designer.desktop (from rev 260386, qt5-tools/trunk/designer.desktop) qt5-tools/repos/kde-unstable-x86_64/linguist.desktop (from rev 260386, qt5-tools/trunk/linguist.desktop) qt5-tools/repos/kde-unstable-x86_64/qdbusviewer.desktop (from rev 260386, qt5-tools/trunk/qdbusviewer.desktop) -----------------------------------------+ kde-unstable-i686/PKGBUILD | 76 ++++++++++++++++++++++++++++++ kde-unstable-i686/assistant.desktop | 8 +++ kde-unstable-i686/designer.desktop | 10 +++ kde-unstable-i686/linguist.desktop | 9 +++ kde-unstable-i686/qdbusviewer.desktop | 9 +++ kde-unstable-x86_64/PKGBUILD | 76 ++++++++++++++++++++++++++++++ kde-unstable-x86_64/assistant.desktop | 8 +++ kde-unstable-x86_64/designer.desktop | 10 +++ kde-unstable-x86_64/linguist.desktop | 9 +++ kde-unstable-x86_64/qdbusviewer.desktop | 9 +++ 10 files changed, 224 insertions(+) Copied: qt5-tools/repos/kde-unstable-i686/PKGBUILD (from rev 260386, qt5-tools/trunk/PKGBUILD) =================================================================== --- repos/kde-unstable-i686/PKGBUILD (rev 0) +++ repos/kde-unstable-i686/PKGBUILD 2016-02-29 12:14:06 UTC (rev 260387) @@ -0,0 +1,76 @@ +# $Id: PKGBUILD 240297 2015-06-03 10:22:03Z fyan $ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Andrea Scarpino <and...@archlinux.org> + +pkgname=qt5-tools +_qtver=5.6.0-rc +pkgver=${_qtver/-/} +pkgrel=1 +arch=('i686' 'x86_64') +url='http://qt-project.org/' +license=('GPL3' 'LGPL' 'FDL' 'custom') +pkgdesc='A cross-platform application and UI framework' +depends=('qt5-base') +makedepends=() +optdepends=('qt5-doc: documentation') +conflicts=('qt') +groups=('qt' 'qt5') +_pkgfqn="${pkgname/5-/}-opensource-src-${_qtver}" +source=("http://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.gz" + {assistant,designer,linguist,qdbusviewer}.desktop) +md5sums=('98c8720024a7cb70e0453b9ee993dfbc' + 'b2897dd6a2967bccf8f10e397aafee55' + '76e150b20178d2d43801f7367232e5f7' + '188da8f4c87316e730ebf1c6217bf5a0' + '322b419b16c75d4de0ee7ad0a246caa1') + +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/" + + # 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 + 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/kde-unstable-i686/assistant.desktop (from rev 260386, qt5-tools/trunk/assistant.desktop) =================================================================== --- repos/kde-unstable-i686/assistant.desktop (rev 0) +++ repos/kde-unstable-i686/assistant.desktop 2016-02-29 12:14:06 UTC (rev 260387) @@ -0,0 +1,8 @@ +[Desktop Entry] +Name=Qt Assistant +Comment=Shows Qt documentation and examples +Exec=/usr/lib/qt/bin/assistant +Icon=assistant +Terminal=false +Type=Application +Categories=Qt;Development;Documentation; Copied: qt5-tools/repos/kde-unstable-i686/designer.desktop (from rev 260386, qt5-tools/trunk/designer.desktop) =================================================================== --- repos/kde-unstable-i686/designer.desktop (rev 0) +++ repos/kde-unstable-i686/designer.desktop 2016-02-29 12:14:06 UTC (rev 260387) @@ -0,0 +1,10 @@ +[Desktop Entry] +Name=Qt Designer +GenericName=Interface Designer +Comment=Design GUIs for Qt applications +Exec=/usr/lib/qt/bin/designer +Icon=QtProject-designer +MimeType=application/x-designer; +Terminal=false +Type=Application +Categories=Qt;Development; Copied: qt5-tools/repos/kde-unstable-i686/linguist.desktop (from rev 260386, qt5-tools/trunk/linguist.desktop) =================================================================== --- repos/kde-unstable-i686/linguist.desktop (rev 0) +++ repos/kde-unstable-i686/linguist.desktop 2016-02-29 12:14:06 UTC (rev 260387) @@ -0,0 +1,9 @@ +[Desktop Entry] +Name=Qt Linguist +Comment=Add translations to Qt applications +Exec=/usr/lib/qt/bin/linguist +Icon=linguist +MimeType=text/vnd.trolltech.linguist;application/x-linguist; +Terminal=false +Type=Application +Categories=Qt;Development; Copied: qt5-tools/repos/kde-unstable-i686/qdbusviewer.desktop (from rev 260386, qt5-tools/trunk/qdbusviewer.desktop) =================================================================== --- repos/kde-unstable-i686/qdbusviewer.desktop (rev 0) +++ repos/kde-unstable-i686/qdbusviewer.desktop 2016-02-29 12:14:06 UTC (rev 260387) @@ -0,0 +1,9 @@ +[Desktop Entry] +Name=Qt QDbusViewer +GenericName=D-Bus Debugger +Comment=Debug D-Bus applications +Exec=/usr/lib/qt/bin/qdbusviewer +Icon=qdbusviewer +Terminal=false +Type=Application +Categories=Qt;Development;Debugger; Copied: qt5-tools/repos/kde-unstable-x86_64/PKGBUILD (from rev 260386, qt5-tools/trunk/PKGBUILD) =================================================================== --- repos/kde-unstable-x86_64/PKGBUILD (rev 0) +++ repos/kde-unstable-x86_64/PKGBUILD 2016-02-29 12:14:06 UTC (rev 260387) @@ -0,0 +1,76 @@ +# $Id: PKGBUILD 240297 2015-06-03 10:22:03Z fyan $ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Andrea Scarpino <and...@archlinux.org> + +pkgname=qt5-tools +_qtver=5.6.0-rc +pkgver=${_qtver/-/} +pkgrel=1 +arch=('i686' 'x86_64') +url='http://qt-project.org/' +license=('GPL3' 'LGPL' 'FDL' 'custom') +pkgdesc='A cross-platform application and UI framework' +depends=('qt5-base') +makedepends=() +optdepends=('qt5-doc: documentation') +conflicts=('qt') +groups=('qt' 'qt5') +_pkgfqn="${pkgname/5-/}-opensource-src-${_qtver}" +source=("http://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.gz" + {assistant,designer,linguist,qdbusviewer}.desktop) +md5sums=('98c8720024a7cb70e0453b9ee993dfbc' + 'b2897dd6a2967bccf8f10e397aafee55' + '76e150b20178d2d43801f7367232e5f7' + '188da8f4c87316e730ebf1c6217bf5a0' + '322b419b16c75d4de0ee7ad0a246caa1') + +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/" + + # 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 + 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/kde-unstable-x86_64/assistant.desktop (from rev 260386, qt5-tools/trunk/assistant.desktop) =================================================================== --- repos/kde-unstable-x86_64/assistant.desktop (rev 0) +++ repos/kde-unstable-x86_64/assistant.desktop 2016-02-29 12:14:06 UTC (rev 260387) @@ -0,0 +1,8 @@ +[Desktop Entry] +Name=Qt Assistant +Comment=Shows Qt documentation and examples +Exec=/usr/lib/qt/bin/assistant +Icon=assistant +Terminal=false +Type=Application +Categories=Qt;Development;Documentation; Copied: qt5-tools/repos/kde-unstable-x86_64/designer.desktop (from rev 260386, qt5-tools/trunk/designer.desktop) =================================================================== --- repos/kde-unstable-x86_64/designer.desktop (rev 0) +++ repos/kde-unstable-x86_64/designer.desktop 2016-02-29 12:14:06 UTC (rev 260387) @@ -0,0 +1,10 @@ +[Desktop Entry] +Name=Qt Designer +GenericName=Interface Designer +Comment=Design GUIs for Qt applications +Exec=/usr/lib/qt/bin/designer +Icon=QtProject-designer +MimeType=application/x-designer; +Terminal=false +Type=Application +Categories=Qt;Development; Copied: qt5-tools/repos/kde-unstable-x86_64/linguist.desktop (from rev 260386, qt5-tools/trunk/linguist.desktop) =================================================================== --- repos/kde-unstable-x86_64/linguist.desktop (rev 0) +++ repos/kde-unstable-x86_64/linguist.desktop 2016-02-29 12:14:06 UTC (rev 260387) @@ -0,0 +1,9 @@ +[Desktop Entry] +Name=Qt Linguist +Comment=Add translations to Qt applications +Exec=/usr/lib/qt/bin/linguist +Icon=linguist +MimeType=text/vnd.trolltech.linguist;application/x-linguist; +Terminal=false +Type=Application +Categories=Qt;Development; Copied: qt5-tools/repos/kde-unstable-x86_64/qdbusviewer.desktop (from rev 260386, qt5-tools/trunk/qdbusviewer.desktop) =================================================================== --- repos/kde-unstable-x86_64/qdbusviewer.desktop (rev 0) +++ repos/kde-unstable-x86_64/qdbusviewer.desktop 2016-02-29 12:14:06 UTC (rev 260387) @@ -0,0 +1,9 @@ +[Desktop Entry] +Name=Qt QDbusViewer +GenericName=D-Bus Debugger +Comment=Debug D-Bus applications +Exec=/usr/lib/qt/bin/qdbusviewer +Icon=qdbusviewer +Terminal=false +Type=Application +Categories=Qt;Development;Debugger;