wok annotate qtwebkit/receipt @ rev 18271
Up: nginx (1.9.3)
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Fri Aug 07 11:35:59 2015 +0300 (2015-08-07) |
parents | |
children | 109b33639058 |
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" |
psychomaniak@18169 | 10 WEB_SITE="http://download.kde.org" |
psychomaniak@18169 | 11 WGET_URL="$WEB_SITE/stable/$PACKAGE-${VERSION:0:3}/$VERSION/src/$TARBALL" |
psychomaniak@18169 | 12 |
psychomaniak@18169 | 13 DEPENDS="libQtCore libQtDBus libQtGui libQtXml libQtNetwork libQtOpenGL \ |
psychomaniak@18169 | 14 mesa sqlite gstreamer orc gst-plugins-base" |
psychomaniak@18169 | 15 BUILD_DEPENDS="Qt4-dev libQtDeclarative qmake bison flex gperf ruby-dev mesa-dev \ |
psychomaniak@18169 | 16 sqlite-dev libpng-dev jpeg-dev gstreamer-dev gst-plugins-base-dev gst-plugins-base" |
psychomaniak@18169 | 17 |
psychomaniak@18169 | 18 compile_rules() |
psychomaniak@18169 | 19 { |
psychomaniak@18169 | 20 QTDIR=/usr QMAKE_CXXFLAGS=$CFLAGS \ |
psychomaniak@18169 | 21 Tools/Scripts/build-webkit \ |
psychomaniak@18169 | 22 --qt \ |
psychomaniak@18169 | 23 --makeargs=$MAKEFLAGS \ |
psychomaniak@18169 | 24 --prefix=/usr \ |
psychomaniak@18169 | 25 --no-webkit2 \ |
psychomaniak@18169 | 26 --no-force-sse2 \ |
psychomaniak@18169 | 27 DEFINES+=ENABLE_JIT=0 \ |
psychomaniak@18169 | 28 DEFINES+=ENABLE_YARR_JIT=0 \ |
psychomaniak@18169 | 29 DEFINES+=ENABLE_ASSEMBLER=0 \ |
psychomaniak@18169 | 30 DEFINES+=ENABLE_SMOOTH_SCROLLING=1 |
psychomaniak@18169 | 31 make INSTALL_ROOT=$DESTDIR -C WebKitBuild/Release install |
psychomaniak@18169 | 32 |
psychomaniak@18169 | 33 } |
psychomaniak@18169 | 34 |
psychomaniak@18169 | 35 genpkg_rules() |
psychomaniak@18169 | 36 { |
psychomaniak@18169 | 37 mkdir -p $fs/usr/lib $fs/usr/bin |
psychomaniak@18169 | 38 cp -a $src/WebKitBuild/Release/bin/Qt* $fs/usr/bin |
psychomaniak@18169 | 39 cp -a $install/usr/lib/*.so* $fs/usr/lib |
psychomaniak@18169 | 40 } |