wok-current view qtwebkit/receipt @ rev 21116
Up reiserfsprogs (3.6.27)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Mar 19 19:34:17 2019 +0100 (2019-03-19) |
parents | 109b33639058 |
children | 7c0170dd3ecc |
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://code.qt.io/cgit/qt/qtwebkit.git/"
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 }