wok view qtwebkit/receipt @ rev 19728
libt4k_common, openbox-imlib2: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Feb 17 07:56:36 2017 +0100 (2017-02-17) |
parents | 1ce9f5dd01a4 |
children | 6135577f4d08 |
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 PROVIDE="libQtWebkit"
14 CONFIG_FILES="/etc/fonts/conf.d/10-QtWebkit-monospace.conf"
16 DEPENDS="libQtCore libQtDBus libQtGui libQtXml libQtNetwork libQtOpenGL \
17 mesa sqlite gstreamer orc gst-plugins-base"
18 BUILD_DEPENDS="Qt4-dev libQtDeclarative qmake bison flex gperf ruby-dev mesa-dev \
19 sqlite-dev libpng-dev jpeg-dev gstreamer-dev gst-plugins-base-dev gst-plugins-base"
21 compile_rules()
22 {
23 sed 's|FixedFont, default.*$|FixedFont, QLatin1String("monospace"));|' -i \
24 $src/Source/WebKit/qt/Api/qwebsettings.cpp
25 QTDIR=/usr QMAKE_CXXFLAGS=$CFLAGS \
26 Tools/Scripts/build-webkit \
27 --qt \
28 --makeargs=$MAKEFLAGS \
29 --prefix=/usr \
30 --no-webkit2 \
31 --no-force-sse2 \
32 DEFINES+=ENABLE_JIT=0 \
33 DEFINES+=ENABLE_YARR_JIT=0 \
34 DEFINES+=ENABLE_ASSEMBLER=0 \
35 DEFINES+=ENABLE_SMOOTH_SCROLLING=1
36 make INSTALL_ROOT=$DESTDIR -C WebKitBuild/Release install
38 }
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/lib $fs/usr/bin $fs/etc/fonts/conf.d
43 cat > $fs/etc/fonts/conf.d/10-QtWebkit-monospace.conf <<EOT
44 <fontconfig><alias>
45 <family>monospace</family>
46 <prefer>
47 <family>DejaVu Sans Mono</family>
48 </prefer>
49 </alias></fontconfig>
50 EOT
51 cp -a $src/WebKitBuild/Release/bin/Qt* $fs/usr/bin
52 cp -a $install/usr/lib/*.so* $fs/usr/lib
53 }