# Compiling Time: 64.56 SBU
# Maintainer: Marius Cirsta <mcirsta@frugalware.org>

pkgname=qt5-webkit
pkgver=5.7.0
pkgrel=1
depends=('qt5-declarative>=5.6.1' 'libwebp' 'libxcomposite' 'qt5-multimedia>=5.6.1' 'libxslt')
makedepends+=('ruby' 'x11-protos')
Finclude qt5
replaces=('libqt5webkit')
conflicts=("${replaces[@]}")
provides=("${replaces[@]}")
source=("http://download.qt.io/community_releases/${pkgver%.*}/${pkgver}/qtwebkit-opensource-src-${pkgver}.tar.xz")
sha1sums=('62812994831a0e335398a5eb9db906f519d3d6ba')


build()
{
	Fpatchall
	#syncqt.pl-qt5 -version $pkgver Source/sync.profile || Fdie
	if [ "$CARCH" == "i686" ]; then
		unset MAKEFLAGS
		Fcd
		qmake-qt5 || Fdie
		make -j1 || Fdie
		make -j1  INSTALL_ROOT=$Fdestdir install || Fdie
	else
		 build_qt5
	fi

}

# optimization OK
