qt-webkit: remove references to $wrksrc from .prl and .pc files
Add missing qt-devel to -devel depends.
This commit is contained in:
parent
ebaec0b8cc
commit
d0d0747a2b
1 changed files with 6 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue