diff --git a/srcpkgs/qt5-webkit/template b/srcpkgs/qt5-webkit/template index 444b186589c..f65c206864b 100644 --- a/srcpkgs/qt5-webkit/template +++ b/srcpkgs/qt5-webkit/template @@ -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}"