milis/talimatname/genel/qt5-webkit/talimat

27 lines
719 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.

# Description: Bir WebKit2 tabanlı uygulama sınıfları ve yeni bir QML API'sı
# URL: http://qt-project.org/
# Packager: milisarge
# Depends on: cmake gstreamer1-plugins-base libwebp xorg-libxcomposite libxslt gstreamer1-plugins-good python ruby qt5 hyphen
name=qt5-webkit
_name=qtwebkit
version=5.9.0
release=1
source=(http://download.qt.io/community_releases/5.8/$version-final/$_name-opensource-src-$version.tar.xz
qt5-webkit-icu59.patch)
build() {
cd $_name-opensource-src-$version
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' {} \;
}