diff --git a/srcpkgs/qt-webkit/template b/srcpkgs/qt-webkit/template index 0033584170..cc5980afac 100644 --- a/srcpkgs/qt-webkit/template +++ b/srcpkgs/qt-webkit/template @@ -1,7 +1,7 @@ # Template file for 'qt-webkit' pkgname=qt-webkit version=2.3.4 -revision=2 +revision=3 _qtver=4.8.7 wrksrc="qtwebkit-${version}" create_wrksrc=yes @@ -49,11 +49,15 @@ do_install() { make INSTALL_ROOT="${DESTDIR}" -C WebKitBuild/Release install cd ../qt-everywhere-opensource-src-${_qtver}/tools/designer/src/plugins/qwebview make INSTALL_ROOT="${DESTDIR}" install + + # Remove references to the build directory from .prl and .pc files + sed -i 's| -L.*/*/release||g' ${DESTDIR}/usr/lib/pkgconfig/QtWebKit.pc + sed -i '/^QMAKE_PRL_BUILD_DIR/d' ${DESTDIR}/usr/lib/libQtWebKit.prl } qt-webkit-devel_package() { short_desc+=" - development files" - depends="${sourcepkg}>=${version}_${revision}" + depends="qt-devel ${sourcepkg}>=${version}_${revision}" pkg_install() { vmove usr/include vmove usr/lib/*.so