New package: kf6-qqc2-desktop-style-6.1.0

This commit is contained in:
John 2024-02-29 22:25:38 +01:00 committed by Đoàn Trần Công Danh
parent 2d2add499d
commit 70ff85ed12
2 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1 @@
kf6-qqc2-desktop-style

View File

@ -0,0 +1,29 @@
# Template file for 'kf6-qqc2-desktop-style'
pkgname=kf6-qqc2-desktop-style
version=6.1.0
revision=1
build_style=cmake
configure_args="-DKDE_INSTALL_QMLDIR=lib/qt6/qml
-DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins"
hostmakedepends="extra-cmake-modules qt6-tools qt6-base
qt6-declarative-host-tools"
makedepends="kf6-kcolorscheme-devel kf6-kiconthemes-devel kf6-kirigami-devel"
short_desc="Qt Quick Controls 2: Desktop Style"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://invent.kde.org/frameworks/qqc2-desktop-style"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname#kf6-}-${version}.tar.xz"
checksum=e91d9abcf9169eca357e7dc8b7fc504a3b7e5eff324feaa6ffecc8091e1622d9
do_check() {
cd build
ctest -E "animationspeedmodifiertest|TextFieldContextMenuTest"
}
kf6-qqc2-desktop-style-devel_package() {
depends="$makedepends ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/lib/cmake
}
}