From aff1a8e5f7399b6113d18a6eb24dfc041066abaa Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Thu, 17 Apr 2025 01:09:28 +0200 Subject: [PATCH] kde-apps/kate: 25.04.0 version bump Signed-off-by: Andreas Sturmlechner --- kde-apps/kate/Manifest | 1 + kde-apps/kate/kate-25.04.0.ebuild | 61 +++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) create mode 100644 kde-apps/kate/kate-25.04.0.ebuild diff --git a/kde-apps/kate/Manifest b/kde-apps/kate/Manifest index 6a6c29652b273..73d86e9473ed6 100644 --- a/kde-apps/kate/Manifest +++ b/kde-apps/kate/Manifest @@ -1 +1,2 @@ DIST kate-24.12.3.tar.xz 8317708 BLAKE2B c1a3901d3b1d4b44243f667c6de4d4d3dd877ae633a658235e90d179b82318dce795f7a7d08c4ef4c3a815edf2b71804ebbca4966df6110a4890bcd30c0a448d SHA512 84a2ad1211433fa57f4bcfaed29b22953b9ef7c8efaf897708846f1a34d4be76d1b2a9114a5a53eeb65334648ac83b34ef69360cb3007d9d75cd2d56f02ba161 +DIST kate-25.04.0.tar.xz 8373780 BLAKE2B b280a56d38891eb9252c06ba85dc27ea03feef123d9e65d1524236f5ea859a184bdfab053c216c04aec456ea598478e8c07856a13c7d6ec391a141b627bade13 SHA512 f7db201027c4cee0ae682b6142be2f98b6d68286a6e4f3b96edc2c550a0f6330b10248e2fda5cddffc5160c1961f7873b3eea056a964dd9c8dd379b9344807bc diff --git a/kde-apps/kate/kate-25.04.0.ebuild b/kde-apps/kate/kate-25.04.0.ebuild new file mode 100644 index 0000000000000..cf7d538719df5 --- /dev/null +++ b/kde-apps/kate/kate-25.04.0.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_HANDBOOK="forceoff" +KFMIN=6.9.0 +QTMIN=6.7.2 +inherit ecm flag-o-matic gear.kde.org xdg + +DESCRIPTION="Multi-document editor with network transparency, Plasma integration and more" +HOMEPAGE="https://kate-editor.org/ https://apps.kde.org/kate/" + +LICENSE="GPL-2" # TODO: CHECK +SLOT="6" +KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86" +IUSE="" + +# slot op: Uses Qt6::GuiPrivate for qtx11extras_p.h +# kde-frameworks/kwindowsystem[X]: Unconditional use of KX11Extras +# TODO: replace HAVE_X11 and __has_include with explicit WITH_X11 option +DEPEND=" + >=dev-qt/qtbase-${QTMIN}:6=[dbus,gui,network,widgets,X] + ~kde-apps/kate-lib-${PV}:6 + >=kde-frameworks/kcoreaddons-${KFMIN}:6 + >=kde-frameworks/kdbusaddons-${KFMIN}:6 + >=kde-frameworks/ki18n-${KFMIN}:6 + >=kde-frameworks/kwindowsystem-${KFMIN}:6[X] + virtual/libintl +" +RDEPEND="${DEPEND} + ~kde-apps/kate-addons-${PV}:6 + >=kde-apps/kate-common-${PV} +" + +src_prepare() { + ecm_src_prepare + ecm_punt_po_install + + # these tests are run in kde-apps/kate-lib + cmake_run_in apps/lib cmake_comment_add_subdirectory autotests +} + +src_configure() { + local mycmakeargs=( + -DBUILD_addons=FALSE + -DBUILD_kwrite=FALSE + ) + + # provided by kde-apps/kate-lib + append-libs -lkateprivate + + ecm_src_configure +} + +src_install() { + ecm_src_install + + # provided by kde-apps/kate-lib + rm -v "${ED}"/usr/$(get_libdir)/libkateprivate.so.* || die +}