New package: kf6-kwidgetsaddons-6.1.0

This commit is contained in:
John 2024-02-29 22:25:30 +01:00 committed by Đoàn Trần Công Danh
parent 6047d480dc
commit a8a7e59174
3 changed files with 46 additions and 0 deletions

View File

@ -1952,6 +1952,7 @@ libKF6I18nLocaleData.so.6 kf6-ki18n-6.0.0_1
libKF6I18n.so.6 kf6-ki18n-6.0.0_1
libKF6Package.so.6 kf6-kpackage-6.0.0_1
libKF6Solid.so.6 kf6-solid-6.0.0_1
libKF6WidgetsAddons.so.6 kf6-kwidgetsaddons-6.0.0_1
libKF6WindowSystem.so.6 kf6-kwindowsystem-6.0.0_1
liblxqt-qt5.so.0 liblxqt-0.8.0_1
liblxqt-globalkeys-qt5.so.0 lxqt-globalkeys-0.8.0_1

View File

@ -0,0 +1 @@
kf6-kwidgetsaddons

View File

@ -0,0 +1,44 @@
# Template file for 'kf6-kwidgetsaddons'
pkgname=kf6-kwidgetsaddons
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="KWidgetsAddons"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://invent.kde.org/frameworks/kwidgetsaddons"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname#kf6-}-${version}.tar.xz"
checksum=81225d7ec2d6ea738ded55fe41978deb639c3f77a2daad0eb2e5423aa046e4ce
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
do_check() {
cd build
# disable failing tests
ctest -E "ktooltipwidgettest|kwidgetsaddons-kcolumnresizertest"
}
kf6-kwidgetsaddons-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
}
}