void-packages/srcpkgs/frameworkintegration/template
2017-07-19 17:11:08 +00:00

28 lines
969 B
Bash

# Template file for 'frameworkintegration'
pkgname=frameworkintegration
version=5.36.0
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="extra-cmake-modules pkg-config"
makedepends="kiconthemes-devel knotifications-devel kpackage-devel knewstuff-devel"
short_desc="Integration of Qt application with KDE workspaces"
maintainer="Denis Revin <denis.revin@gmail.com>"
license="LGPL-2"
homepage="https://projects.kde.org/projects/frameworks/frameworkintegration"
distfiles="http://download.kde.org/stable/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=345f6dc25d5f864aaeeffec8b5888c25b3248dcab16210c60663e2a65d1143e1
if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools qt5-qmake python"
fi
frameworkintegration-devel_package() {
short_desc+=" - development"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove usr/lib/*.so
}
}