summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2024-11-11 19:27:30 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2024-11-11 19:27:30 +0100
commit10631192e25ccf320540e1d4b0bead7e5131a463 (patch)
tree193fa3ad6dd2ea850ba09d5adc260b2cb5c1abe1
parent58b52f0d4af51761836629dddf9b83cfaf14ac16 (diff)
downloadkde-10631192e25ccf320540e1d4b0bead7e5131a463.tar.gz
kde-10631192e25ccf320540e1d4b0bead7e5131a463.tar.bz2
kde-10631192e25ccf320540e1d4b0bead7e5131a463.zip
kde-apps/kate: Add 24.12 stable branch
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
-rw-r--r--kde-apps/kate/kate-24.12.49.9999.ebuild61
1 files changed, 61 insertions, 0 deletions
diff --git a/kde-apps/kate/kate-24.12.49.9999.ebuild b/kde-apps/kate/kate-24.12.49.9999.ebuild
new file mode 100644
index 00000000000..2413c7516a1
--- /dev/null
+++ b/kde-apps/kate/kate-24.12.49.9999.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_HANDBOOK="forceoff"
+KFMIN=6.5.0
+QTMIN=6.7.2
+inherit ecm flag-o-matic gear.kde.org
+
+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=""
+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
+}