wok-next view qtwebkit/receipt @ rev 20204
libjreen: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 03 22:50:48 2017 +0100 (2017-11-03) |
parents | d62fe91a106a |
children | 41f56649ce60 |
line source
1 # SliTaz package receipt.
3 PACKAGE="qtwebkit"
4 VERSION="5.212.0-alpha2"
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.xz"
10 WEB_SITE="http://code.qt.io/cgit/qt/qtwebkit.git/"
11 WEB_SITE_2="https://github.com/annulen/webkit/"
12 WGET_URL="${WEB_SITE_2}releases/download/${TARBALL/.tar*/}/$TARBALL"
14 PROVIDE="libQtWebkit"
16 DEPENDS="qt5 sqlite3 hyphen libxslt" # gstreamer1 gst1-plugins-base
17 BUILD_DEPENDS="qt5-dev cmake bison flex gperf ruby-dev xorg-dev mesa17-dev \
18 freetype-dev fontconfig-dev sqlite3-dev libpng-dev libjpeg-turbo-dev icu-dev \
19 glib-dev zlib-dev libxslt-python libxslt-dev gstreamer1-dev \
20 gst1-plugins-base-dev hyphen-dev "
22 compile_rules()
23 {
24 mkdir -p WebKitBuild/Release
25 cd WebKitBuild/Release
26 export CFLAGS=${CFLAGS/486 -Os/686 -O2}
27 export CXXFLAGS=${CXXFLAGS/486 -Os/686 -O2}
28 QMAKE_CFLAGS=$CFLAGS QMAKE_CXXFLAGS=$CXXFLAGS \
29 cmake -DPORT=Qt \
30 -DCMAKE_BUILD_TYPE=Release \
31 -DENABLE_API_TESTS=OFF \
32 -DENABLE_WEBKIT2=OFF \
33 -DENABLE_JIT=OFF \
34 -DENABLE_DFG_JIT=OFF \
35 -DENABLE_FTL_JIT=OFF \
36 -DENABLE_OPENGL=OFF \
37 -DENABLE_GAMEPAD_DEPRECATED=OFF \
38 -DENABLE_GEOLOCATION=OFF \
39 -DENABLE_SMOOTH_SCROLLING=1 \
40 -DENABLE_WEB_AUDIO=OFF \
41 -DENABLE_LEGACY_WEB_AUDIO=OFF \
42 -DENABLE_DEVICE_ORIENTATION=OFF \
43 -DENABLE_MEDIA_SOURCE=OFF \
44 -DUSE_GSTREAMER=OFF \
45 ../..
46 make && make install
47 }
49 genpkg_rules()
50 {
51 # qtwebkit
52 mkdir -p $fs/usr/lib $fs/usr/bin $fs/usr/share/applications
53 # cp -a $src/WebKitBuild/Release/bin/QtTestBrowser $fs/usr/bin
54 # cp -a $install/usr/lib/*.so* $fs/usr/lib
55 cat > $fs/usr/share/applications/QtTestBrowser.desktop <<EOT
56 [Desktop Entry]
57 Type=Application
58 Name=QtTestBrowser
59 Exec=QtTestBrowser
60 Categories=Network;WebBrowser;
61 EOT
64 # qtwebkit + qtwebkit-dev:
65 cp -a $install/* $fs
67 }