New package: kf6-sonnet-6.1.0

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

View File

@ -2003,6 +2003,8 @@ libQuickChartsControls.so.1 kf6-kquickcharts-6.0.0_1
libKF6Runner.so.6 kf6-krunner-6.0.0_1
libKF6Service.so.6 kf6-kservice-6.0.0_1
libKF6Solid.so.6 kf6-solid-6.0.0_1
libKF6SonnetUi.so.6 kf6-sonnet-6.0.0_1
libKF6SonnetCore.so.6 kf6-sonnet-6.0.0_1
libKF6StatusNotifierItem.so.6 kf6-kstatusnotifieritem-6.0.0_1
libKF6Style.so.6 kf6-frameworkintegration-6.0.0_1
libKF6Su.so.6 kf6-kdesu-6.0.0_1

1
srcpkgs/kf6-sonnet-devel Symbolic link
View File

@ -0,0 +1 @@
kf6-sonnet

View File

@ -0,0 +1,41 @@
# Template file for 'kf6-sonnet'
pkgname=kf6-sonnet
version=6.1.0
revision=1
build_style=cmake
configure_args="$(vopt_bool designerplugin BUILD_DESIGNERPLUGIN)
-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="qt6-declarative-devel aspell-devel hunspell-devel"
short_desc="Spelling framework for Qt"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://invent.kde.org/frameworks/sonnet"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname#kf6-}-${version}.tar.xz"
checksum=c13ceb4826ac4fd027bb08524aa73393cd8aa0c6719af8b6314d0bd180a2ebfe
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-sonnet-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
}
}