wok view qtwebkit/receipt @ rev 18682

Add mps-youtube (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Dec 09 18:50:42 2015 +0100 (2015-12-09)
parents
children 109b33639058
line source
1 # SliTaz package receipt.
3 PACKAGE="qtwebkit"
4 VERSION="2.3.4"
5 CATEGORY="network"
6 SHORT_DESC="KDE version of Qt Webkit browser engine."
7 MAINTAINER="psychomaniak@xakep.ru"
8 LICENSE="GPL"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://download.kde.org"
11 WGET_URL="$WEB_SITE/stable/$PACKAGE-${VERSION:0:3}/$VERSION/src/$TARBALL"
13 DEPENDS="libQtCore libQtDBus libQtGui libQtXml libQtNetwork libQtOpenGL \
14 mesa sqlite gstreamer orc gst-plugins-base"
15 BUILD_DEPENDS="Qt4-dev libQtDeclarative qmake bison flex gperf ruby-dev mesa-dev \
16 sqlite-dev libpng-dev jpeg-dev gstreamer-dev gst-plugins-base-dev gst-plugins-base"
18 compile_rules()
19 {
20 QTDIR=/usr QMAKE_CXXFLAGS=$CFLAGS \
21 Tools/Scripts/build-webkit \
22 --qt \
23 --makeargs=$MAKEFLAGS \
24 --prefix=/usr \
25 --no-webkit2 \
26 --no-force-sse2 \
27 DEFINES+=ENABLE_JIT=0 \
28 DEFINES+=ENABLE_YARR_JIT=0 \
29 DEFINES+=ENABLE_ASSEMBLER=0 \
30 DEFINES+=ENABLE_SMOOTH_SCROLLING=1
31 make INSTALL_ROOT=$DESTDIR -C WebKitBuild/Release install
33 }
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib $fs/usr/bin
38 cp -a $src/WebKitBuild/Release/bin/Qt* $fs/usr/bin
39 cp -a $install/usr/lib/*.so* $fs/usr/lib
40 }