milis/talimatname/genel/q/qt5-webengine/talimat

35 lines
1.3 KiB
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: Bir WebKit2 tabanlı uygulama sınıfları ve yeni bir QML API'sı
2017-09-20 17:49:47 +02:00
# URL: http://qt-project.org/
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler: ffmpeg jsoncpp libvpx libevent libsrtp xorg-libxdamage protobuf nss gstreamer1-plugins-base libwebp xorg-libxcomposite libxslt gstreamer1-plugins-good python ruby qt5 ninja
2017-09-20 17:49:47 +02:00
2017-10-28 14:10:23 +02:00
isim=qt5-webengine
_isim=qtwebengine
surum=5.9.1
devir=1
2017-09-20 17:49:47 +02:00
2017-10-28 14:10:23 +02:00
#kaynak=(http://download.qt.io/official_releases/qt/5.9/$surum/submodules/$_name-opensource-src-$surum.tar.xz)
kaynak=(http://download.qt.io/official_releases/qt/${surum%.*}/$surum/single/qt-everywhere-opensource-src-$surum.tar.xz
2017-09-20 17:49:47 +02:00
last-commit-position.patch
clip-ft-glyph.diff
harmony-fix.diff
gzip_string.py)
2017-10-27 23:59:41 +02:00
derle() {
2017-10-28 14:10:23 +02:00
cd $SRC/qt-everywhere-opensource-src-$surum/qtwebengine/
2017-09-20 17:49:47 +02:00
#patch -p1 -i $SRC/last-commit-position.patch
patch -d src/3rdparty/chromium/third_party -Np3 < $SRC/clip-ft-glyph.diff
patch -Np1 -i $SRC/harmony-fix.diff
install -d build
cd build
cp -rf $SRC/gzip_string.py $SRC/qt-everywhere-opensource-src-5.9.1/qtwebengine/src/3rdparty/chromium/tools/grit/grit/format/
qmake-qt5 WEBENGINE_CONFIG+="use_proprietary_codecs use_system_ffmpeg use_system_icu" ../qtwebengine.pro
make
make INSTALL_ROOT=$PKG install
find "$PKG/usr/lib" -type f -name '*.prl' \
-exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
}