diff options
author | root <root@rshg054.dnsready.net> | 2013-10-24 00:56:32 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-10-24 00:56:32 -0700 |
commit | 94ded0cb27161b972228cfef8ea2e6f60af0f2b2 (patch) | |
tree | 3eeb5098d6fe3d9cad00a0e1df056de10d0464e6 /extra/qt5 | |
parent | 06a76442fa8de4a9975266a4eca7fb2a953f5244 (diff) |
Thu Oct 24 00:55:58 PDT 2013
Diffstat (limited to 'extra/qt5')
-rw-r--r-- | extra/qt5/PKGBUILD | 41 |
1 files changed, 21 insertions, 20 deletions
diff --git a/extra/qt5/PKGBUILD b/extra/qt5/PKGBUILD index 86b1a20bd..1ce2339d3 100644 --- a/extra/qt5/PKGBUILD +++ b/extra/qt5/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 197132 2013-10-22 10:32:29Z andrea $ +# $Id: PKGBUILD 197149 2013-10-23 11:49:27Z andrea $ # Maintainer: Andrea Scarpino <andrea@archlinux.org> pkgbase=qt5 @@ -21,7 +21,7 @@ pkgname=('qt5-base' 'qt5-x11extras' 'qt5-xmlpatterns') pkgver=5.1.1 -pkgrel=4 +pkgrel=5 arch=('i686' 'x86_64') url='http://qt-project.org/' license=('GPL3' 'LGPL' 'FDL' 'custom') @@ -113,7 +113,7 @@ package_qt5-base() { cd ${_pkgfqn}/qtbase make INSTALL_ROOT="${pkgdir}" install - + cd "${srcdir}" install -D -m644 ${_pkgfqn}/qtbase/LGPL_EXCEPTION.txt \ ${pkgdir}/usr/share/licenses/${pkgbase}/LGPL_EXCEPTION.txt @@ -140,11 +140,11 @@ package_qt5-declarative() { cd ${_pkgfqn}/qtdeclarative make INSTALL_ROOT="${pkgdir}" install - + # Fix wrong path in prl files find "${pkgdir}/usr/lib" -type f -name '*.prl' \ -exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d;s/\(QMAKE_PRL_LIBS =\).*/\1/' {} \; - + # Useful symlinks install -d "${pkgdir}"/usr/bin for b in "${pkgdir}"/usr/lib/qt/bin/*; do @@ -189,7 +189,7 @@ package_qt5-xmlpatterns() { # Fix wrong path in prl files find "${pkgdir}/usr/lib" -type f -name '*.prl' \ -exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d;s/\(QMAKE_PRL_LIBS =\).*/\1/' {} \; - + # Useful symlinks install -d "${pkgdir}"/usr/bin for b in "${pkgdir}"/usr/lib/qt/bin/*; do @@ -243,11 +243,11 @@ package_qt5-quick1() { cd ${_pkgfqn}/qtquick1 make INSTALL_ROOT="${pkgdir}" install - + # Fix wrong path in prl files find "${pkgdir}/usr/lib" -type f -name '*.prl' \ -exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d;s/\(QMAKE_PRL_LIBS =\).*/\1/' {} \; - + # Useful symlinks install -d "${pkgdir}"/usr/bin for b in "${pkgdir}"/usr/lib/qt/bin/*; do @@ -270,7 +270,7 @@ package_qt5-script() { cd ${_pkgfqn}/qtscript make INSTALL_ROOT="${pkgdir}" install - + # Fix wrong path in prl files find "${pkgdir}/usr/lib" -type f -name '*.prl' \ -exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d;s/\(QMAKE_PRL_LIBS =\).*/\1/' {} \; @@ -282,7 +282,7 @@ package_qt5-sensors() { cd ${_pkgfqn}/qtsensors make INSTALL_ROOT="${pkgdir}" install - + # Fix wrong path in prl files find "${pkgdir}/usr/lib" -type f -name '*.prl' \ -exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d;s/\(QMAKE_PRL_LIBS =\).*/\1/' {} \; @@ -291,10 +291,10 @@ package_qt5-sensors() { package_qt5-serialport() { pkgdesc='A cross-platform application and UI framework (QtSerialPort)' depends=('qt5-base') - + cd ${_pkgfqn}/qtserialport make INSTALL_ROOT="${pkgdir}" install - + # Fix wrong path in prl files find "${pkgdir}/usr/lib" -type f -name '*.prl' \ -exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d;s/\(QMAKE_PRL_LIBS =\).*/\1/' {} \; @@ -307,12 +307,12 @@ package_qt5-svg() { cd ${_pkgfqn}/qtsvg make INSTALL_ROOT="${pkgdir}" install - + # Fix wrong path in prl files find "${pkgdir}/usr/lib" -type f -name '*.prl' \ -exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d;s/\(QMAKE_PRL_LIBS =\).*/\1/' {} \; } - + package_qt5-tools() { pkgdesc='A cross-platform application and UI framework (Development Tools, QtHelp)' depends=('qt5-webkit' 'desktop-file-utils' 'qt5-translations' 'hicolor-icon-theme' @@ -320,10 +320,11 @@ package_qt5-tools() { optdepends=('qt5-doc: documentation') install='qt5-tools.install' conflicts=('qt') + options=('staticlibs') # libQtUiTools builds as static only$ cd ${_pkgfqn}/qttools make INSTALL_ROOT="${pkgdir}" install - + # 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) @@ -348,12 +349,12 @@ package_qt5-tools() { # Fix wrong path in prl files find "${pkgdir}/usr/lib" -type f -name '*.prl' \ -exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d;s/\(QMAKE_PRL_LIBS =\).*/\1/' {} \; - + # 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 + done } package_qt5-webkit() { @@ -362,7 +363,7 @@ package_qt5-webkit() { cd ${_pkgfqn}/qtwebkit make INSTALL_ROOT="${pkgdir}" install - + # Fix wrong path in prl files find "${pkgdir}/usr/lib" -type f -name '*.prl' \ -exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d;s/\(QMAKE_PRL_LIBS =\).*/\1/' {} \; @@ -374,10 +375,10 @@ package_qt5-webkit() { package_qt5-x11extras() { pkgdesc='A cross-platform application and UI framework (QtX11Extras)' depends=('qt5-base') - + cd ${_pkgfqn}/qtx11extras make INSTALL_ROOT="${pkgdir}" install - + # Fix wrong path in prl files find "${pkgdir}/usr/lib" -type f -name '*.prl' \ -exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d;s/\(QMAKE_PRL_LIBS =\).*/\1/' {} \; |