summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2023-06-08 12:31:40 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2023-06-08 13:35:22 +0200
commitca2adda7560971e8ba874b9052929f8cb1133ebb (patch)
tree830cfba4e81ed14b171d2ba07fee1b8be5753c7a /kde-apps/kate-addons
parentkde-apps/kate: 23.04.2 version bump (diff)
downloadgentoo-ca2adda7560971e8ba874b9052929f8cb1133ebb.tar.gz
gentoo-ca2adda7560971e8ba874b9052929f8cb1133ebb.tar.bz2
gentoo-ca2adda7560971e8ba874b9052929f8cb1133ebb.zip
kde-apps/kate-addons: 23.04.2 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps/kate-addons')
-rw-r--r--kde-apps/kate-addons/Manifest1
-rw-r--r--kde-apps/kate-addons/kate-addons-23.04.2.ebuild110
2 files changed, 111 insertions, 0 deletions
diff --git a/kde-apps/kate-addons/Manifest b/kde-apps/kate-addons/Manifest
index 43a3160628c6..60334fb1c25e 100644
--- a/kde-apps/kate-addons/Manifest
+++ b/kde-apps/kate-addons/Manifest
@@ -1,3 +1,4 @@
DIST kate-22.12.3.tar.xz 7888764 BLAKE2B 2f33b4d1e2659ba40239229a4425df3035285cd806a90cdbeeecd205acc9e2101eaf86f515710e3708eb8d46942caf3dc9ffe86620c829c3bbd56826d9aae2f4 SHA512 c89be9f06759ac1cfb74bb095c1d5e7094f03de2c3127fc5eaf126710d8cd0b3f9dc9822e31ddc0eb49686784d8d32db1ecb055ff36e62c0c89db6eb7c2beffc
DIST kate-23.04.1-cmake.patch.xz 1028 BLAKE2B 076d4bcd8916883ac500ea64609a5c38f08f41a48dcc843419b4484b6e4af4bd268806a107c1c9ba89d5ee2a99663f41f5a8c6746097893cdf4ff0fc2323d32d SHA512 260d8e8349d2bb7bc46d444a122fb91b3e045904eecc76d7efaf73e0ad4cc732d6227785b7fff3a1402c863286be35662617c2d7d8b205f55ff03a01a377ff45
DIST kate-23.04.1.tar.xz 7984480 BLAKE2B 2a28184a02594817e82a20aebd128c3f1db7f227e70afccebc85976d95284e8da86a2da50a8b48c255768a799ea1d75e96cbd19af716f9a47f8630a6a3c31da5 SHA512 6d104955dc1016f8d13b7c30f25f97834809b880fe8fabaa1f8e68daf43012e2bfc35a0f5ece62c0f9092e4e222fd8ce257c3267da6b4580c4dea80d67df4af4
+DIST kate-23.04.2.tar.xz 7985096 BLAKE2B 7878cf4817661fb6cf30dfd1f5633b6d3270b6bd28563cce8d1ad562965e74b1762228b3ea8fc12f39111f5126d393555e780946b1f696ac66080d1ca73f51cc SHA512 6ae2b675415561876aba0a3a0c0244670271a1a97b60013f90ef2eb02904756a22a1b9d8b3286e99ae8bbff1e7323db45c9826ab7478f4819e328e4c51094793
diff --git a/kde-apps/kate-addons/kate-addons-23.04.2.ebuild b/kde-apps/kate-addons/kate-addons-23.04.2.ebuild
new file mode 100644
index 000000000000..2ade28e38e21
--- /dev/null
+++ b/kde-apps/kate-addons/kate-addons-23.04.2.ebuild
@@ -0,0 +1,110 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+KDE_ORG_CATEGORY="utilities"
+KDE_ORG_NAME="kate"
+ECM_TEST="true"
+KFMIN=5.106.0
+QTMIN=5.15.9
+inherit ecm flag-o-matic gear.kde.org optfeature
+
+DESCRIPTION="Addons used by Kate"
+HOMEPAGE="https://kate-editor.org/ https://apps.kde.org/kate/"
+SRC_URI+=" https://dev.gentoo.org/~asturm/distfiles/${KDE_ORG_NAME}-23.04.1-cmake.patch.xz"
+
+LICENSE="LGPL-2 LGPL-2+ MIT"
+SLOT="5"
+KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86"
+IUSE="+filebrowser lspclient +projects +snippets sql"
+
+DEPEND="
+ >=dev-qt/qtconcurrent-${QTMIN}:5
+ >=dev-qt/qtdbus-${QTMIN}:5
+ >=dev-qt/qtgui-${QTMIN}:5
+ >=dev-qt/qtnetwork-${QTMIN}:5
+ >=dev-qt/qtwidgets-${QTMIN}:5
+ >=dev-qt/qtxml-${QTMIN}:5
+ ~kde-apps/kate-lib-${PV}:5
+ >=kde-frameworks/kcodecs-${KFMIN}:5
+ >=kde-frameworks/kcompletion-${KFMIN}:5
+ >=kde-frameworks/kconfig-${KFMIN}:5
+ >=kde-frameworks/kconfigwidgets-${KFMIN}:5
+ >=kde-frameworks/kcoreaddons-${KFMIN}:5
+ >=kde-frameworks/kcrash-${KFMIN}:5
+ >=kde-frameworks/kdbusaddons-${KFMIN}:5
+ >=kde-frameworks/kguiaddons-${KFMIN}:5
+ >=kde-frameworks/ki18n-${KFMIN}:5
+ >=kde-frameworks/kiconthemes-${KFMIN}:5
+ >=kde-frameworks/kio-${KFMIN}:5
+ >=kde-frameworks/kitemviews-${KFMIN}:5
+ >=kde-frameworks/kjobwidgets-${KFMIN}:5
+ >=kde-frameworks/kparts-${KFMIN}:5
+ >=kde-frameworks/kservice-${KFMIN}:5
+ >=kde-frameworks/ktexteditor-${KFMIN}:5
+ >=kde-frameworks/kwidgetsaddons-${KFMIN}:5
+ >=kde-frameworks/kwindowsystem-${KFMIN}:5
+ >=kde-frameworks/kxmlgui-${KFMIN}:5
+ >=kde-frameworks/syntax-highlighting-${KFMIN}:5
+ filebrowser? ( >=kde-frameworks/kbookmarks-${KFMIN}:5 )
+ lspclient? ( >=kde-frameworks/kitemmodels-${KFMIN}:5 )
+ projects? (
+ >=kde-frameworks/knewstuff-${KFMIN}:5
+ >=kde-frameworks/threadweaver-${KFMIN}:5
+ )
+ snippets? ( >=kde-frameworks/knewstuff-${KFMIN}:5 )
+ sql? (
+ >=dev-qt/qtsql-${QTMIN}:5
+ >=kde-frameworks/kwallet-${KFMIN}:5
+ )
+"
+RDEPEND="${DEPEND}
+ !<kde-apps/kate-22.08.0:5
+"
+
+PATCHES=( "${WORKDIR}/${KDE_ORG_NAME}-23.04.1-cmake.patch" ) # KDE-bug 905709
+
+src_prepare() {
+ ecm_src_prepare
+
+ # these tests are run in kde-apps/kate-lib
+ cmake_run_in apps/lib cmake_comment_add_subdirectory autotests
+
+ # delete colliding libkate/kwrite translations
+ find po -type f -name "*po" -and \( -name "kwrite*" -or -name "kate.po" \) -delete || die
+ rm -rf po/*/docs || die
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_kate=FALSE
+ -DBUILD_kwrite=FALSE
+ -DCMAKE_DISABLE_FIND_PACKAGE_KF5DocTools=ON # docs in kate/kwrite
+ -DBUILD_filebrowser=$(usex filebrowser)
+ -DBUILD_lspclient=$(usex lspclient)
+ -DBUILD_project=$(usex projects)
+ -DBUILD_snippets=$(usex snippets)
+ -DBUILD_katesql=$(usex sql)
+ )
+
+ # 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
+}
+
+pkg_postinst() {
+ if [[ -z "${REPLACING_VERSIONS}" ]]; then
+ optfeature "Markdown text previews" "kde-misc/markdownpart:${SLOT}"
+ optfeature "DOT graph file previews" "media-gfx/kgraphviewer"
+ fi
+ ecm_pkg_postinst
+}