31 lines
988 B
Bash
31 lines
988 B
Bash
# Template file for 'kreport'
|
|
pkgname=kreport
|
|
version=3.1.0
|
|
revision=1
|
|
build_style=cmake
|
|
hostmakedepends="extra-cmake-modules qt5-qmake"
|
|
makedepends="ecm-devel kconfig-devel kcoreaddons-devel kguiaddons-devel kproperty-devel
|
|
kwidgetsaddons-devel qt5-declarative-devel"
|
|
short_desc="Reports creation and generation framework for multiple formats"
|
|
maintainer="John <johnz@posteo.net>"
|
|
license="LGPL-2.0-or-later"
|
|
homepage="https://community.kde.org/KReport"
|
|
distfiles="https://download.kde.org/stable/kreport/src/kreport-${version}.tar.xz"
|
|
checksum=3b6485629b5e4343b7ddf42efb1927310d60b143a22afe79925147d0ddcdf36c
|
|
|
|
if [ "$CROSS_BUILD" ];then
|
|
hostmakedepends+=" qt5-qmake qt5-host-tools python3"
|
|
fi
|
|
|
|
kreport-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision} kproperty-devel qt5-declarative-devel"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/cmake
|
|
vmove usr/lib/qt5/mkspecs
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|
|
|