qt5-webkit: link agains ligbst* libraries

Closes #4355
This commit is contained in:
Jürgen Buchmüller 2016-06-23 00:42:17 +02:00
parent 672a365433
commit d7ace52e69
1 changed files with 9 additions and 3 deletions

View File

@ -1,12 +1,12 @@
# Template file for 'qt5-webkit'
pkgname=qt5-webkit
version=5.6.1
revision=1
revision=2
build_style=qmake
wrksrc=qtwebkit-opensource-src-${version}
hostmakedepends="bison flex gperf perl python ruby pkg-config gst-plugins-good qt5-qmake"
makedepends="libwebp-devel libxslt-devel libXcomposite-devel sqlite-devel
qt5-declarative-devel qt5-location-devel qt5-sensors-devel qt5-webchannel-devel"
makedepends="libwebp-devel libxslt-devel libXcomposite-devel gst-plugins-base-devel sqlite-devel
qt5-declarative-devel qt5-location-devel qt5-multimedia-devel qt5-sensors-devel qt5-webchannel-devel"
depends="qt5>=5.6.0 gst-plugins-good"
nocross=yes
short_desc="A cross-platform application and UI framework (QT5) - WebKit2"
@ -21,6 +21,12 @@ pre_configure() {
syncqt.pl-qt5 -version 5.6.0 Source/sync.profile
}
post_install() {
# QMAKE_PRL_BUILD_DIR contains a reference the build dir; drop it
find ${DESTDIR}/usr/lib -type f -name '*.prl' -exec \
sed -i "{}" -e "/^QMAKE_PRL_BUILD_DIR/d" \;
}
qt5-webkit-devel_package() {
short_desc+=" (development)"
depends="${sourcepkg}>=${version}_${revision}"