wok-next view qtwebkit/receipt @ rev 21722

efivar: typo in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 10:31:46 2020 +0000 (2020-09-01)
parents d5aab818505e
children
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 WEB_SITE="http://code.qt.io/cgit/qt/qtwebkit.git/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WEB_SITE_2="https://github.com/annulen/webkit/"
13 WGET_URL="${WEB_SITE_2}releases/download/${TARBALL/.tar*/}/$TARBALL"
15 BUILD_DEPENDS="qt5-dev cmake bison flex gperf ruby-dev xorg-dev mesa-dev \
16 freetype-dev fontconfig-dev sqlite3-dev libpng-dev libjpeg-turbo-dev icu-dev \
17 glib-dev zlib-dev libxslt-python libxslt-dev gstreamer1-dev \
18 gst1-plugins-base-dev hyphen-dev "
20 compile_rules() {
21 mkdir -p WebKitBuild/Release
22 cd WebKitBuild/Release
24 export CFLAGS=${CFLAGS/486 -Os/686 -O0}
25 export CXXFLAGS=${CXXFLAGS/486 -Os/686 -O0}
26 QMAKE_CFLAGS=$CFLAGS QMAKE_CXXFLAGS=$CXXFLAGS \
27 cmake \
28 -DPORT=Qt \
29 -DCMAKE_BUILD_TYPE=Release \
30 -DENABLE_API_TESTS=OFF \
31 -DENABLE_WEBKIT2=OFF \
32 -DENABLE_JIT=OFF \
33 -DENABLE_DFG_JIT=OFF \
34 -DENABLE_FTL_JIT=OFF \
35 -DENABLE_OPENGL=OFF \
36 -DENABLE_GAMEPAD_DEPRECATED=OFF \
37 -DENABLE_GEOLOCATION=OFF \
38 -DENABLE_SMOOTH_SCROLLING=1 \
39 -DENABLE_WEB_AUDIO=OFF \
40 -DENABLE_LEGACY_WEB_AUDIO=OFF \
41 -DENABLE_DEVICE_ORIENTATION=OFF \
42 -DENABLE_MEDIA_SOURCE=OFF \
43 -DUSE_GSTREAMER=OFF \
44 ../..
45 make &&
46 make install
47 }
49 genpkg_rules() {
50 # qtwebkit
51 mkdir -p $fs/usr/lib $fs/usr/bin $fs/usr/share/applications
52 cp -a $src/WebKitBuild/Release/bin/QtTestBrowser $fs/usr/bin
53 # cp -a $install/usr/lib/*.so* $fs/usr/lib
54 cat > $fs/usr/share/applications/QtTestBrowser.desktop <<EOT
55 [Desktop Entry]
56 Type=Application
57 Name=QtTestBrowser
58 Exec=QtTestBrowser
59 Categories=Network;WebBrowser;
60 EOT
63 # qtwebkit + qtwebkit-dev:
64 cp -a $install/* $fs
65 DEPENDS="qt5-base qt5-location qt5-sensors qt5-webchannel sqlite3 hyphen \
66 libxslt" # gstreamer1 gst1-plugins-base
67 }