wok-next annotate qtwebkit/receipt @ rev 20559
rrdtool: syntax error
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Apr 07 17:41:33 2018 +0300 (2018-04-07) |
parents | dd145c435e4b |
children | d5aab818505e |
rev | line source |
---|---|
psychomaniak@18169 | 1 # SliTaz package receipt. |
psychomaniak@18169 | 2 |
psychomaniak@18169 | 3 PACKAGE="qtwebkit" |
psychomaniak@19993 | 4 VERSION="5.212.0-alpha2" |
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@19993 | 9 TARBALL="$PACKAGE-$VERSION.tar.xz" |
psychomaniak@19993 | 10 WEB_SITE="http://code.qt.io/cgit/qt/qtwebkit.git/" |
psychomaniak@19993 | 11 WEB_SITE_2="https://github.com/annulen/webkit/" |
psychomaniak@19993 | 12 WGET_URL="${WEB_SITE_2}releases/download/${TARBALL/.tar*/}/$TARBALL" |
psychomaniak@18169 | 13 |
psychomaniak@20380 | 14 DEPENDS="qt5-base qt5-location qt5-sensors qt5-webchannel sqlite3 hyphen libxslt" # gstreamer1 gst1-plugins-base |
al@20502 | 15 BUILD_DEPENDS="qt5-dev cmake bison flex gperf ruby-dev xorg-dev mesa-dev \ |
al@20454 | 16 freetype-dev fontconfig-dev sqlite3-dev libpng16-dev libjpeg-turbo-dev icu-dev \ |
psychomaniak@19996 | 17 glib-dev zlib-dev libxslt-python libxslt-dev gstreamer1-dev \ |
psychomaniak@19996 | 18 gst1-plugins-base-dev hyphen-dev " |
psychomaniak@18169 | 19 |
psychomaniak@18169 | 20 compile_rules() |
psychomaniak@18169 | 21 { |
psychomaniak@20066 | 22 mkdir -p WebKitBuild/Release |
psychomaniak@20066 | 23 cd WebKitBuild/Release |
psychomaniak@20380 | 24 export CFLAGS=${CFLAGS/486 -Os/686 -O0} |
psychomaniak@20380 | 25 export CXXFLAGS=${CXXFLAGS/486 -Os/686 -O0} |
psychomaniak@20066 | 26 QMAKE_CFLAGS=$CFLAGS QMAKE_CXXFLAGS=$CXXFLAGS \ |
psychomaniak@20066 | 27 cmake -DPORT=Qt \ |
psychomaniak@20066 | 28 -DCMAKE_BUILD_TYPE=Release \ |
psychomaniak@20070 | 29 -DENABLE_API_TESTS=OFF \ |
psychomaniak@20070 | 30 -DENABLE_WEBKIT2=OFF \ |
psychomaniak@20066 | 31 -DENABLE_JIT=OFF \ |
psychomaniak@20069 | 32 -DENABLE_DFG_JIT=OFF \ |
psychomaniak@20069 | 33 -DENABLE_FTL_JIT=OFF \ |
psychomaniak@20069 | 34 -DENABLE_OPENGL=OFF \ |
psychomaniak@20069 | 35 -DENABLE_GAMEPAD_DEPRECATED=OFF \ |
psychomaniak@20069 | 36 -DENABLE_GEOLOCATION=OFF \ |
psychomaniak@20066 | 37 -DENABLE_SMOOTH_SCROLLING=1 \ |
psychomaniak@20070 | 38 -DENABLE_WEB_AUDIO=OFF \ |
psychomaniak@20070 | 39 -DENABLE_LEGACY_WEB_AUDIO=OFF \ |
psychomaniak@20070 | 40 -DENABLE_DEVICE_ORIENTATION=OFF \ |
psychomaniak@20070 | 41 -DENABLE_MEDIA_SOURCE=OFF \ |
psychomaniak@20070 | 42 -DUSE_GSTREAMER=OFF \ |
psychomaniak@20066 | 43 ../.. |
psychomaniak@20069 | 44 make && make install |
psychomaniak@18169 | 45 } |
psychomaniak@18169 | 46 |
psychomaniak@18169 | 47 genpkg_rules() |
psychomaniak@18169 | 48 { |
psychomaniak@20069 | 49 # qtwebkit |
psychomaniak@20069 | 50 mkdir -p $fs/usr/lib $fs/usr/bin $fs/usr/share/applications |
psychomaniak@20380 | 51 cp -a $src/WebKitBuild/Release/bin/QtTestBrowser $fs/usr/bin |
psychomaniak@20069 | 52 # cp -a $install/usr/lib/*.so* $fs/usr/lib |
psychomaniak@20069 | 53 cat > $fs/usr/share/applications/QtTestBrowser.desktop <<EOT |
psychomaniak@20069 | 54 [Desktop Entry] |
psychomaniak@20069 | 55 Type=Application |
psychomaniak@20069 | 56 Name=QtTestBrowser |
psychomaniak@20069 | 57 Exec=QtTestBrowser |
psychomaniak@20069 | 58 Categories=Network;WebBrowser; |
psychomaniak@18865 | 59 EOT |
psychomaniak@20069 | 60 |
psychomaniak@20069 | 61 |
psychomaniak@20069 | 62 # qtwebkit + qtwebkit-dev: |
psychomaniak@20069 | 63 cp -a $install/* $fs |
psychomaniak@20069 | 64 |
psychomaniak@18169 | 65 } |