From 4969c1b936f67446a6276c59467fc20291266836 Mon Sep 17 00:00:00 2001 From: John Date: Thu, 29 Feb 2024 22:25:39 +0100 Subject: [PATCH] New package: kf6-sonnet-6.1.0 --- common/shlibs | 2 ++ srcpkgs/kf6-sonnet-devel | 1 + srcpkgs/kf6-sonnet/template | 41 +++++++++++++++++++++++++++++++++++++ 3 files changed, 44 insertions(+) create mode 120000 srcpkgs/kf6-sonnet-devel create mode 100644 srcpkgs/kf6-sonnet/template diff --git a/common/shlibs b/common/shlibs index 8d5867ff980..7c8ec9a59a0 100644 --- a/common/shlibs +++ b/common/shlibs @@ -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 diff --git a/srcpkgs/kf6-sonnet-devel b/srcpkgs/kf6-sonnet-devel new file mode 120000 index 00000000000..c7496f5ea4c --- /dev/null +++ b/srcpkgs/kf6-sonnet-devel @@ -0,0 +1 @@ +kf6-sonnet \ No newline at end of file diff --git a/srcpkgs/kf6-sonnet/template b/srcpkgs/kf6-sonnet/template new file mode 100644 index 00000000000..0ec59284a78 --- /dev/null +++ b/srcpkgs/kf6-sonnet/template @@ -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 " +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 + } +}