ebc9268a91
[ci skip]
29 lines
895 B
Bash
29 lines
895 B
Bash
# Template file for 'kdewebkit'
|
|
pkgname=kdewebkit
|
|
version=5.58.0
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DBUILD_TESTING=OFF"
|
|
hostmakedepends="kcoreaddons extra-cmake-modules"
|
|
makedepends="kparts-devel qt5-webkit-devel"
|
|
short_desc="KDE Integration of the HTML rendering engine WebKit"
|
|
maintainer="John <johnz@posteo.net>"
|
|
license="LGPL-2.0-or-later"
|
|
homepage="https://projects.kde.org/projects/frameworks/kdewebkit"
|
|
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
|
|
checksum=9f0629902e60717ee455f0a3e1201c735794f9c60e2fb6ec55b5983f532a2cbc
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" qt5-host-tools qt5-qmake python"
|
|
fi
|
|
|
|
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"
|
|
}
|
|
}
|