New package: kf6-kitemviews-6.1.0

This commit is contained in:
Luciogi 2024-04-18 09:49:34 +05:00 committed by Đoàn Trần Công Danh
parent 9533db2f32
commit a71e810f9b
3 changed files with 40 additions and 0 deletions

View File

@ -1958,6 +1958,7 @@ libKF6I18nLocaleData.so.6 kf6-ki18n-6.0.0_1
libKF6I18n.so.6 kf6-ki18n-6.0.0_1
libKF6IconThemes.so.6 kf6-kiconthemes-6.0.0_1
libKF6IconWidgets.so.6 kf6-kiconthemes-6.0.0_1
libKF6ItemViews.so.6 kf6-kitemviews-6.0.0_1
libKF6Package.so.6 kf6-kpackage-6.0.0_1
libKF6Service.so.6 kf6-kservice-6.0.0_1
libKF6Solid.so.6 kf6-solid-6.0.0_1

View File

@ -0,0 +1 @@
kf6-kitemviews

View File

@ -0,0 +1,38 @@
# Template file for 'kf6-kitemviews'
pkgname=kf6-kitemviews
version=6.1.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=e9e86c2aa49278c38959b1804fe1c6c2057f3e9be896091f898fb81692b20a4d
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
}
}