adding itstool, lightdm build dep, more qt5 work

This commit is contained in:
abveritas 2013-03-10 03:11:05 +00:00
parent 4dbc4a7b84
commit b26881ead9
5 changed files with 45 additions and 17 deletions

30
itstool/PKGBUILD Normal file
View File

@ -0,0 +1,30 @@
# Maintainer: abveritas@chakra-project.org
# Contributor: Michael Pusterhofer <pusterhofer(at)student(dot)tugraz(dot)at>
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
}

View File

@ -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() {

View File

@ -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

View File

@ -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

View File

@ -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