wok-next view qtwebkit/receipt @ rev 19979
Up libdrm (2.4.82), wayland (1.14.0)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Oct 18 03:31:51 2017 +0300 (2017-10-18) |
parents | 0e8dadf052b9 |
children | 00ca06310c5e |
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 gstreamer0 orc gst0-plugins-base"
18 BUILD_DEPENDS="Qt4-dev libQtDeclarative qmake bison flex gperf ruby-dev mesa-dev \
19 sqlite-dev libpng-dev jpeg-dev gstreamer0-dev gst0-plugins-base-dev gst0-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 }