From b26881ead90a7cb915252d9955f98a3db7fe7e36 Mon Sep 17 00:00:00 2001 From: abveritas Date: Sun, 10 Mar 2013 03:11:05 +0000 Subject: [PATCH] adding itstool, lightdm build dep, more qt5 work --- itstool/PKGBUILD | 30 ++++++++++++++++++++++++++++++ qt5-doc/PKGBUILD | 9 ++++++--- qt5-tools/PKGBUILD | 15 ++++----------- qt5-translations/PKGBUILD | 2 +- qt5-webkit/PKGBUILD | 6 ++++-- 5 files changed, 45 insertions(+), 17 deletions(-) create mode 100644 itstool/PKGBUILD diff --git a/itstool/PKGBUILD b/itstool/PKGBUILD new file mode 100644 index 000000000..8435e4958 --- /dev/null +++ b/itstool/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: abveritas@chakra-project.org +# Contributor: Michael Pusterhofer + +pkgname=itstool +pkgver=1.2.0 +pkgrel=1 +pkgdesc="XML to PO and back again" +arch=('x86_64') +url="http://itstool.org/" +license=('GPL3') +source=("http://files.itstool.org/itstool/$pkgname-$pkgver.tar.bz2") +depends=('python2' 'libxml2') +md5sum=('46fed63fb89c72dbfc03097b4477084ff05ad6f171212d8f1f1546ea543978aa') + +build() { + cd $pkgname-$pkgver + sed -i '1s|#!/usr/bin/python|&2|' itstool itstool.in + ./configure --prefix=/usr + make +} + +check() { + cd $pkgname-$pkgver + make -k check +} + +package() { + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install +} diff --git a/qt5-doc/PKGBUILD b/qt5-doc/PKGBUILD index f23195260..6bc78f23a 100644 --- a/qt5-doc/PKGBUILD +++ b/qt5-doc/PKGBUILD @@ -19,9 +19,12 @@ source=("http://origin.releases.qt-project.org/qt5/${_pkgver}/submodules_tar/qtd md5sums=('7dfdca73b57bb70032841ab1563ba605') build() { - cd $srcdir/$_pkgfqn/ - - /usr/lib/qt5/bin/qdoc /chakra/platform-testing/qt5-doc/src/qtdoc-opensource-src-5.0.1/doc/config/qtdoc.qdocconf -outputdir html + cd $srcdir/$_pkgfqn + cd doc/qtdoc + /usr/lib/qt5/bin/qmake + + make docs + #/usr/lib/qt5/bin/qdoc /chakra/platform-testing/qt5-doc/src/qtdoc-opensource-src-5.0.1/doc/config/qtdoc.qdocconf -outputdir html } package() { diff --git a/qt5-tools/PKGBUILD b/qt5-tools/PKGBUILD index 2ba819671..41fcf4a73 100644 --- a/qt5-tools/PKGBUILD +++ b/qt5-tools/PKGBUILD @@ -8,24 +8,17 @@ pkgdesc=('A cross-platform application and UI framework, development tools and h arch=('x86_64') url='http://qt.nokia.com/' license=('GPL3' 'LGPL') -depends=('qt5-webkit' 'qt5-translations') +depends=('qt5-webkit') optdepends=('qt5-doc: offline help documentation') groups=('qt5') options=('!libtool') _pkgfqn="qttools-opensource-src-${_pkgver}" source=("http://origin.releases.qt-project.org/qt5/${_pkgver}/submodules_tar/qttools-opensource-src-${_pkgver}.tar.xz" - 'assistant.desktop' 'designer.desktop' 'linguist.desktop' 'qtconfig.desktop') -md5sums=('00a577bd88e682d1b4d01d41d1d699cf' + 'assistant.desktop' 'designer.desktop' 'linguist.desktop') +md5sums=('f3cc602d4b720a847f4ab0953a82d8ef' 'fc211414130ab2764132e7370f8e5caa' '85179f5e0437514f8639957e1d8baf62' - 'f11852b97583610f3dbb669ebc3e21bc' - '6b771c8a81dd90b45e8a79afa0e5bbfd' - '85fc45501d232c8104cbff218d88199b' - 'f24376558f74f1f97ab236db4ca5c616' - '3b7ea368a2700dc61bc22fc78e759b1c' - '188ece1d836c7ad5fd354c72d2f4c424' - 'a43297d33bfd05f8d47ed161254c18f0' - 'ee9108cd20761a193c0c69d158b091ac') + 'f11852b97583610f3dbb669ebc3e21bc') build() { cd $srcdir/$_pkgfqn diff --git a/qt5-translations/PKGBUILD b/qt5-translations/PKGBUILD index 56fd5982e..baf25d18b 100644 --- a/qt5-translations/PKGBUILD +++ b/qt5-translations/PKGBUILD @@ -13,7 +13,7 @@ groups=('qt5') options=('!libtool') _pkgfqn="qttranslations-opensource-src-${_pkgver}" source=("http://origin.releases.qt-project.org/qt5/${_pkgver}/submodules_tar/qttranslations-opensource-src-${_pkgver}.tar.xz") -md5sums=('00a577bd88e682d1b4d01d41d1d699cf') +md5sums=('de27f8384296e366e454754b69197634') build() { cd $srcdir/$_pkgfqn diff --git a/qt5-webkit/PKGBUILD b/qt5-webkit/PKGBUILD index 7b59b0cdb..e2090a7cd 100644 --- a/qt5-webkit/PKGBUILD +++ b/qt5-webkit/PKGBUILD @@ -26,14 +26,16 @@ build() { --qmake=/usr/lib/qt5/bin/qmake \ --install-libs=/usr/lib/qt5 \ --release \ - --no-webkit2 \ --qmakearg="WEBKIT_CONFIG-=build_test_npapi" \ --qmakearg="WEBKIT_CONFIG-=build_tests" \ - --qmakearg="WEBKIT_CONFIG-=have_qttestsupport" + --qmakearg="WEBKIT_CONFIG-=have_qttestsupport" \ + --qmakearg="WEBKIT_CONFIG-=build_minibrowser" } package() { cd $srcdir/$_pkgfqn + mkdir -p ${pkgdir}/usr/lib/qt5/plugins/webkit + mkdir -p ${pkgdir}/usr/lib/qt5/bin make INSTALL_ROOT="${pkgdir}" -C WebKitBuild/Release install mkdir -p ${pkgdir}/usr/bin