void-packages/srcpkgs/frameworkintegration/template
2019-12-14 20:39:15 +01:00

28 lines
960 B
Bash

# Template file for 'frameworkintegration'
pkgname=frameworkintegration
version=5.65.0
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="kcoreaddons extra-cmake-modules pkg-config"
makedepends="kiconthemes-devel knotifications-devel kpackage-devel knewstuff-devel"
short_desc="Integration of Qt application with KDE workspaces"
maintainer="John <johnz@posteo.net>"
license="LGPL-2.0-or-later"
homepage="https://projects.kde.org/projects/frameworks/frameworkintegration"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=3170f99d4418b25225813822e22a1bdf8d73af87cd00b696089b696b151d43be
if [ "$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"
}
}