wok rev 18169

Add: qtwebkit
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Sun Jun 28 20:56:46 2015 +0300 (2015-06-28)
parents ec332cdcdbc1
children 2f33548ee20c
files qtwebkit/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/qtwebkit/receipt	Sun Jun 28 20:56:46 2015 +0300
     1.3 @@ -0,0 +1,40 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="qtwebkit"
     1.7 +VERSION="2.3.4"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="KDE version of Qt Webkit browser engine."
    1.10 +MAINTAINER="psychomaniak@xakep.ru"
    1.11 +LICENSE="GPL"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +WEB_SITE="http://download.kde.org"
    1.14 +WGET_URL="$WEB_SITE/stable/$PACKAGE-${VERSION:0:3}/$VERSION/src/$TARBALL"
    1.15 +
    1.16 +DEPENDS="libQtCore libQtDBus libQtGui libQtXml libQtNetwork libQtOpenGL \
    1.17 +mesa sqlite gstreamer orc gst-plugins-base"
    1.18 +BUILD_DEPENDS="Qt4-dev libQtDeclarative qmake bison flex gperf ruby-dev mesa-dev \
    1.19 +sqlite-dev libpng-dev jpeg-dev gstreamer-dev gst-plugins-base-dev gst-plugins-base"
    1.20 +
    1.21 +compile_rules()
    1.22 +{
    1.23 +	QTDIR=/usr QMAKE_CXXFLAGS=$CFLAGS \
    1.24 +	Tools/Scripts/build-webkit \
    1.25 +		--qt \
    1.26 +		--makeargs=$MAKEFLAGS \
    1.27 +		--prefix=/usr \
    1.28 +		--no-webkit2 \
    1.29 +		--no-force-sse2 \
    1.30 +		DEFINES+=ENABLE_JIT=0 \
    1.31 +		DEFINES+=ENABLE_YARR_JIT=0 \
    1.32 +		DEFINES+=ENABLE_ASSEMBLER=0 \
    1.33 +		DEFINES+=ENABLE_SMOOTH_SCROLLING=1
    1.34 +	make INSTALL_ROOT=$DESTDIR -C WebKitBuild/Release install
    1.35 +
    1.36 +}
    1.37 +
    1.38 +genpkg_rules()
    1.39 +{
    1.40 +	mkdir -p $fs/usr/lib $fs/usr/bin
    1.41 +	cp -a $src/WebKitBuild/Release/bin/Qt* $fs/usr/bin
    1.42 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.43 +}