diff --git a/srcpkgs/kate5/patches/fix-po-build.patch b/srcpkgs/kate5/patches/fix-po-build.patch new file mode 100644 index 00000000000..d367df23d09 --- /dev/null +++ b/srcpkgs/kate5/patches/fix-po-build.patch @@ -0,0 +1,10 @@ +--- CMakeLists.txt ++++ CMakeLists.txt +@@ -55,6 +55,7 @@ if(${ECM_VERSION} VERSION_GREATER "5.63.0") + file(GLOB_RECURSE ALL_CLANG_FORMAT_SOURCE_FILES *.cpp *.h) + kde_clang_format(${ALL_CLANG_FORMAT_SOURCE_FILES}) + endif() ++find_package(KF5 COMPONENTS I18n DocTools) + ki18n_install(po) + if (KF5DocTools_FOUND) + kdoctools_install(po) diff --git a/srcpkgs/kate5/template b/srcpkgs/kate5/template index 3e5330a0200..e12660d86c5 100644 --- a/srcpkgs/kate5/template +++ b/srcpkgs/kate5/template @@ -1,11 +1,11 @@ # Template file for 'kate5' pkgname=kate5 -version=19.12.0 +version=19.12.1 revision=1 wrksrc="${pkgname%5}-${version}" build_style=cmake configure_args="-DBUILD_TESTING=OFF" -hostmakedepends="extra-cmake-modules pkg-config kcoreaddons" +hostmakedepends="extra-cmake-modules pkg-config kcoreaddons gettext" makedepends="kitemmodels-devel knewstuff-devel ktexteditor-devel plasma-framework-devel threadweaver-devel" depends="hicolor-icon-theme" @@ -14,7 +14,7 @@ maintainer="John " license="GPL-3.0-or-later, LGPL-2.0-or-later, GPL-2.0-or-later" homepage="https://projects.kde.org/projects/applications/kate" distfiles="${KDE_SITE}/release-service/${version}/src/${pkgname%5}-${version}.tar.xz" -checksum=7e3d9a83508a77adb5262b58411004ade37599d36f6207b20af7ba3ff81ba153 +checksum=9d2401907e5b163d5af0af5b4d28383896ef709bcde7f6ee2234e1a3adc28a47 if [ "$CROSS_BUILD" ]; then configure_args+=" -DKF5_HOST_TOOLING=/usr/lib/cmake"