39 lines
1.1 KiB
Bash
39 lines
1.1 KiB
Bash
# Template file for 'kf6-kitemviews'
|
|
pkgname=kf6-kitemviews
|
|
version=6.6.0
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="$(vopt_bool designerplugin BUILD_DESIGNERPLUGIN)"
|
|
hostmakedepends="extra-cmake-modules qt6-tools qt6-base"
|
|
makedepends="qt6-base-devel"
|
|
short_desc="Set of item views extending the Qt model-view framework"
|
|
maintainer="John <me@johnnynator.dev>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="https://invent.kde.org/frameworks/kitemviews"
|
|
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname#kf6-}-${version}.tar.xz"
|
|
checksum=a7a430c0c37b6781774ab7ee0845f9be0901424a5ed51d15e5b5b350d0cbee6e
|
|
|
|
build_options="designerplugin"
|
|
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
build_options_default="designerplugin"
|
|
fi
|
|
|
|
if [ "$build_option_designerplugin" ]; then
|
|
makedepends+=" qt6-tools-devel"
|
|
nocross="yes"
|
|
fi
|
|
|
|
kf6-kitemviews-devel_package() {
|
|
depends="$makedepends ${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/cmake
|
|
vmove "usr/lib/*.so"
|
|
if [ "$build_option_designerplugin" ]; then
|
|
vmove usr/lib/qt6/plugins/designer
|
|
fi
|
|
}
|
|
}
|