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

27 lines
702 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: Bir WebKit2 tabanlı uygulama sınıfları ve yeni bir QML API'sı
# URL: http://qt-project.org/
# Paketçi: milisarge
# Gerekler: cmake gstreamer1-plugins-base libwebp xorg-libxcomposite libxslt gstreamer1-plugins-good python ruby qt5 hyphen
isim=qt5-webkit
_isim=qtwebkit
surum=5.9.0
devir=1
kaynak=(http://download.qt.io/community_releases/5.9/$surum-final/$_name-opensource-src-$surum.tar.xz
qt5-webkit-icu59.patch)
derle() {
cd $_name-opensource-src-$surum
patch -p1 -i $SRC/qt5-webkit-icu59.patch
install -d build
cd build
qmake-qt5 ..
make
make INSTALL_ROOT=$PKG install
find "$PKG/usr/lib" -type f -name '*.prl' \
-exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
}