talimat 1.3 KB

123456789101112131415161718192021222324252627282930313233343536
  1. # Tanım: Bir WebKit2 tabanlı uygulama sınıfları ve yeni bir QML API'sı
  2. # URL: http://qt-project.org/
  3. # Paketçi: milisarge
  4. # Gerekler: ffmpeg jsoncpp libvpx libevent libsrtp xorg-libxdamage protobuf nss gstreamer1-plugins-base libwebp xorg-libxcomposite libxslt gstreamer1-plugins-good python ruby qt5 ninja
  5. # Grup: ağ geliştirme
  6. isim=qt5-webengine
  7. _isim=qtwebengine
  8. surum=5.9.1
  9. devir=1
  10. #kaynak=(http://download.qt.io/official_releases/qt/5.9/$surum/submodules/$_name-opensource-src-$surum.tar.xz)
  11. kaynak=(http://download.qt.io/official_releases/qt/${surum%.*}/$surum/single/qt-everywhere-opensource-src-$surum.tar.xz
  12. last-commit-position.patch
  13. clip-ft-glyph.diff
  14. harmony-fix.diff
  15. gzip_string.py)
  16. derle() {
  17. cd $SRC/qt-everywhere-opensource-src-$surum/qtwebengine/
  18. #patch -p1 -i $SRC/last-commit-position.patch
  19. patch -d src/3rdparty/chromium/third_party -Np3 < $SRC/clip-ft-glyph.diff
  20. patch -Np1 -i $SRC/harmony-fix.diff
  21. install -d build
  22. cd build
  23. cp -rf $SRC/gzip_string.py $SRC/qt-everywhere-opensource-src-5.9.1/qtwebengine/src/3rdparty/chromium/tools/grit/grit/format/
  24. qmake-qt5 WEBENGINE_CONFIG+="use_proprietary_codecs use_system_ffmpeg use_system_icu" ../qtwebengine.pro
  25. make
  26. make INSTALL_ROOT=$PKG install
  27. find "$PKG/usr/lib" -type f -name '*.prl' \
  28. -exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
  29. }