wok-current annotate qtwebkit/receipt @ rev 21833

updated rcs (5.7 -> 5.9.4)
author Hans-G?nter Theisgen
date Sat Sep 14 09:40:07 2019 +0100 (2019-09-14)
parents 109b33639058
children 7c0170dd3ecc
rev   line source
psychomaniak@18169 1 # SliTaz package receipt.
psychomaniak@18169 2
psychomaniak@18169 3 PACKAGE="qtwebkit"
psychomaniak@18169 4 VERSION="2.3.4"
psychomaniak@18169 5 CATEGORY="network"
psychomaniak@18169 6 SHORT_DESC="KDE version of Qt Webkit browser engine."
psychomaniak@18169 7 MAINTAINER="psychomaniak@xakep.ru"
psychomaniak@18169 8 LICENSE="GPL"
psychomaniak@18169 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@20679 10 WEB_SITE="http://code.qt.io/cgit/qt/qtwebkit.git/"
psychomaniak@18169 11 WGET_URL="$WEB_SITE/stable/$PACKAGE-${VERSION:0:3}/$VERSION/src/$TARBALL"
psychomaniak@18169 12
psychomaniak@18865 13 PROVIDE="libQtWebkit"
psychomaniak@18865 14 CONFIG_FILES="/etc/fonts/conf.d/10-QtWebkit-monospace.conf"
psychomaniak@18865 15
psychomaniak@18169 16 DEPENDS="libQtCore libQtDBus libQtGui libQtXml libQtNetwork libQtOpenGL \
psychomaniak@18169 17 mesa sqlite gstreamer orc gst-plugins-base"
psychomaniak@18169 18 BUILD_DEPENDS="Qt4-dev libQtDeclarative qmake bison flex gperf ruby-dev mesa-dev \
psychomaniak@18169 19 sqlite-dev libpng-dev jpeg-dev gstreamer-dev gst-plugins-base-dev gst-plugins-base"
psychomaniak@18169 20
psychomaniak@18169 21 compile_rules()
psychomaniak@18169 22 {
psychomaniak@18865 23 sed 's|FixedFont, default.*$|FixedFont, QLatin1String("monospace"));|' -i \
psychomaniak@18865 24 $src/Source/WebKit/qt/Api/qwebsettings.cpp
psychomaniak@18169 25 QTDIR=/usr QMAKE_CXXFLAGS=$CFLAGS \
psychomaniak@18169 26 Tools/Scripts/build-webkit \
psychomaniak@18169 27 --qt \
psychomaniak@18169 28 --makeargs=$MAKEFLAGS \
psychomaniak@18169 29 --prefix=/usr \
psychomaniak@18169 30 --no-webkit2 \
psychomaniak@18169 31 --no-force-sse2 \
psychomaniak@18169 32 DEFINES+=ENABLE_JIT=0 \
psychomaniak@18169 33 DEFINES+=ENABLE_YARR_JIT=0 \
psychomaniak@18169 34 DEFINES+=ENABLE_ASSEMBLER=0 \
psychomaniak@18169 35 DEFINES+=ENABLE_SMOOTH_SCROLLING=1
psychomaniak@18169 36 make INSTALL_ROOT=$DESTDIR -C WebKitBuild/Release install
psychomaniak@18169 37
psychomaniak@18169 38 }
psychomaniak@18169 39
psychomaniak@18169 40 genpkg_rules()
psychomaniak@18169 41 {
psychomaniak@18865 42 mkdir -p $fs/usr/lib $fs/usr/bin $fs/etc/fonts/conf.d
psychomaniak@18865 43 cat > $fs/etc/fonts/conf.d/10-QtWebkit-monospace.conf <<EOT
psychomaniak@18865 44 <fontconfig><alias>
psychomaniak@18865 45 <family>monospace</family>
psychomaniak@18865 46 <prefer>
psychomaniak@18865 47 <family>DejaVu Sans Mono</family>
psychomaniak@18865 48 </prefer>
psychomaniak@18865 49 </alias></fontconfig>
psychomaniak@18865 50 EOT
psychomaniak@18169 51 cp -a $src/WebKitBuild/Release/bin/Qt* $fs/usr/bin
psychomaniak@18169 52 cp -a $install/usr/lib/*.so* $fs/usr/lib
psychomaniak@18169 53 }