30 lines
911 B
Bash
30 lines
911 B
Bash
# Template file for 'kitemviews'
|
|
pkgname=kitemviews
|
|
version=5.50.0
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DBUILD_TESTING=OFF"
|
|
hostmakedepends="extra-cmake-modules"
|
|
makedepends="qt5-devel qt5-tools-devel"
|
|
short_desc="Set of item views extending the Qt model-view framework"
|
|
maintainer="John <johnz@posteo.net>"
|
|
license="LGPL-2.0-only, LGPL-2.0-or-later"
|
|
homepage="https://projects.kde.org/projects/frameworks/kitemviews"
|
|
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
|
|
checksum=c88a91c353d0724c41eef198b65d0eb5889fd2a8a0bc6c5c4e75f6e08adcf071
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" qt5-qmake qt5-host-tools qt5-tools-devel"
|
|
fi
|
|
|
|
kitemviews-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"
|
|
}
|
|
}
|