New package: kate-24.02.2, replaces kate5

This commit is contained in:
John 2024-03-03 15:48:13 +01:00 committed by Đoàn Trần Công Danh
parent 89bae72e9e
commit 565fe71d08
4 changed files with 23 additions and 15 deletions

View File

@ -475,7 +475,7 @@ libfsimage.so.1.0 xen-libs-4.10.0_1
libxenstat.so.4.14 xen-libs-4.14.0_1
libfam.so.0 gamin-0.1.10_1
libgamin-1.so.0 gamin-0.1.10_1
libkateprivate.so.23.08.5 libkate-23.08.5_1
libkateprivate.so.24.02.2 libkate-24.02.2_1
libKF5SyntaxHighlighting.so.5 syntax-highlighting-5.29.0_1
libKPim5Libkleo.so.5 libkleo-23.04.0_1
libKPim5GrantleeTheme.so.5 grantleetheme-23.04.0_1

View File

@ -1,33 +1,34 @@
# Template file for 'kate5'
pkgname=kate5
version=23.08.5
# Template file for 'kate'
pkgname=kate
version=24.02.2
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="extra-cmake-modules pkg-config kcoreaddons gettext"
makedepends="kitemmodels-devel knewstuff-devel ktexteditor-devel
plasma-framework-devel threadweaver-devel"
build_helper=qemu
configure_args="-DBUILD_TESTING=OFF -DKF6_HOST_TOOLING=/usr/lib/cmake
-DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins"
hostmakedepends="extra-cmake-modules pkg-config gettext qt6-tools qt6-base
kf6-kconfig kf6-kdoctools"
makedepends="kf6-kitemmodels-devel kf6-knewstuff-devel kf6-ktexteditor-devel
kf6-threadweaver-devel kf6-kuserfeedback-devel kf6-kdoctools-devel
kf6-kconfig-devel"
depends="hicolor-icon-theme"
short_desc="KDE Text editor"
maintainer="John <me@johnnynator.dev>"
license="GPL-3.0-or-later, LGPL-2.0-or-later, GPL-2.0-or-later"
homepage="https://kde.org/applications/en/utilities/org.kde.kate"
distfiles="${KDE_SITE}/release-service/${version}/src/${pkgname%5}-${version}.tar.xz"
checksum=683c49d9c4b2abd4b4660b607b65249a2adfdc48418b0d18ab90810d1a8f4e37
if [ "$CROSS_BUILD" ]; then
configure_args+=" -DKF5_HOST_TOOLING=/usr/lib/cmake"
hostmakedepends+=" kauth-devel kconfig-devel kcoreaddons-devel
kpackage-devel kdoctools python3 qt5-host-tools qt5-qmake"
fi
checksum=1ddacb0939831a43e2b9c1abd8d7e5afefe76789842333263655370e99f5434d
replaces="kate5>=0"
libkate_package() {
short_desc+=" - libraries"
pkg_install() {
vmove usr/lib/libkateprivate.so.*
}
}
kwrite_package() {
short_desc+=" - kwrite"
pkg_install() {
vmove usr/bin/kwrite
vmove usr/share/applications/org.kde.kwrite.desktop
@ -40,3 +41,9 @@ kwrite_package() {
done
}
}
kate5_package() {
short_desc+=" - (Dummy transitional package)"
build_style=meta
depends="kate-${version}_${revision}"
}

1
srcpkgs/kate5 Symbolic link
View File

@ -0,0 +1 @@
kate