void-packages/srcpkgs/kdewebkit/template

30 lines
904 B
Bash
Raw Normal View History

2016-10-13 12:55:44 +02:00
# Template file for 'kdewebkit'
pkgname=kdewebkit
2017-08-16 15:38:37 +02:00
version=5.37.0
2016-10-13 12:55:44 +02:00
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="extra-cmake-modules"
makedepends="kparts-devel qt5-webkit-devel"
short_desc="KDE Integration of the HTML rendering engine WebKit"
maintainer="Denis Revin <denis.revin@gmail.com>"
license="LGPL-2"
homepage="https://projects.kde.org/projects/frameworks/kdewebkit"
distfiles="http://download.kde.org/stable/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
2017-08-16 15:38:37 +02:00
checksum=e1c1a1f6514126a07e4ef7fbd4258c4a9ca068774b26b6748582f4c8415103de
2017-05-14 13:15:12 +02:00
if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools qt5-qmake python"
fi
2016-10-13 12:55:44 +02:00
kdewebkit-devel_package() {
short_desc+=" - development"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/qt5/mkspecs
vmove usr/lib/cmake
vmove usr/lib/*.so
}
}