void-packages/srcpkgs/kdeclarative/template
2018-08-13 11:30:49 +02:00

29 lines
946 B
Bash

# Template file for 'kdeclarative'
pkgname=kdeclarative
version=5.49.0
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="extra-cmake-modules pkg-config"
makedepends="kio-devel kpackage-devel libepoxy-devel"
short_desc="KDE Integration of QML and KDE work spaces"
maintainer="Denis Revin <denis.revin@gmail.com>"
license="LGPL-2.0-or-later, LGPL-2.1-or-later"
homepage="https://projects.kde.org/projects/frameworks/kdeclarative"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=49bbdf17f1ba3212b96ab8ebfbc31c78b3772b04b2f3c9c4b49a74c7d1e2ea4d
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools qt5-qmake python kconfig"
fi
kdeclarative-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"
}
}