Created
October 30, 2016 11:03
-
-
Save asergi/47ad89c61b4ca5f4152c16cc24b16b5b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/srcpkgs/qt-webkit/template b/srcpkgs/qt-webkit/template | |
index 0033584..cc5980a 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment