2016-10-02 20:52:16 +11:00
|
|
|
# Description: QtWebKit for qt5.
|
2017-02-10 20:11:59 +11:00
|
|
|
# URL: https://www.qt.io/
|
2016-10-02 20:52:16 +11:00
|
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
|
|
|
# Packager: Tsaop, leeroy at cock dot li
|
|
|
|
# Depends on: qt5 ruby icu
|
|
|
|
|
|
|
|
name=qtwebkit
|
2017-08-07 00:13:50 +10:00
|
|
|
version=5.9.0
|
2017-11-20 12:49:43 +11:00
|
|
|
release=2
|
|
|
|
source=(https://download.qt.io/community_releases/${version::3}/$version-final/$name-opensource-src-$version.tar.xz
|
|
|
|
QTBUG-60532.patch)
|
2016-10-02 20:52:16 +11:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-opensource-src-$version
|
|
|
|
|
2017-11-20 12:49:43 +11:00
|
|
|
patch -p1 -i $SRC/QTBUG-60532.patch
|
|
|
|
|
2016-10-02 20:52:16 +11:00
|
|
|
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' {} \;
|
|
|
|
|
|
|
|
}
|