2016-10-13 14:00:16 +02:00
|
|
|
# Template file for 'khtml'
|
|
|
|
pkgname=khtml
|
2017-11-14 09:23:55 +01:00
|
|
|
version=5.40.0
|
2016-10-13 14:00:16 +02:00
|
|
|
revision=1
|
|
|
|
build_style=cmake
|
|
|
|
configure_args="-DBUILD_TESTING=OFF"
|
2017-05-14 14:10:21 +02:00
|
|
|
hostmakedepends="extra-cmake-modules gperf"
|
2016-10-13 14:00:16 +02:00
|
|
|
makedepends="kjs-devel kparts-devel jasper-devel giflib-devel libpng-devel"
|
|
|
|
short_desc="KDE HTML rendering engine"
|
|
|
|
maintainer="Denis Revin <denis.revin@gmail.com>"
|
|
|
|
license="LGPL-2"
|
|
|
|
homepage="https://projects.kde.org/projects/frameworks/khtml"
|
|
|
|
distfiles="http://download.kde.org/stable/frameworks/${version%.*}/portingAids/${pkgname}-${version}.tar.xz"
|
2017-11-14 09:23:55 +01:00
|
|
|
checksum=e01faffd13cb1da876e9021609d5db0a8f7b3c23855e3ae069a5dfd7888ae36c
|
2017-05-14 14:10:21 +02:00
|
|
|
|
|
|
|
if [ -n "$CROSS_BUILD" ]; then
|
|
|
|
hostmakedepends+=" qt5-host-tools qt5-qmake python perl kcoreaddons"
|
|
|
|
configure_args+=" -DDESKTOPTOJSON_EXECUTABLE=/usr/bin/desktoptojson"
|
|
|
|
fi
|
2016-10-13 14:00:16 +02:00
|
|
|
|
|
|
|
khtml-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
|
|
|
|
}
|
|
|
|
}
|