summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2023-07-06 15:27:59 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2023-07-06 16:21:57 +0200
commit8e62bed30efa6196dd80a51caeb7eefcce309334 (patch)
treea0063fb4a7e8d99605c8803d931ebbe65e3a0ee2 /kde-apps/kate-addons
parentkde-apps/kate: 23.04.3 version bump (diff)
downloadgentoo-8e62bed30efa6196dd80a51caeb7eefcce309334.tar.gz
gentoo-8e62bed30efa6196dd80a51caeb7eefcce309334.tar.bz2
gentoo-8e62bed30efa6196dd80a51caeb7eefcce309334.zip
kde-apps/kate-addons: 23.04.3 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.3.ebuild110
2 files changed, 111 insertions, 0 deletions
diff --git a/kde-apps/kate-addons/Manifest b/kde-apps/kate-addons/Manifest
index 36ce8a2f814a..28861a12dcbc 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.2.tar.xz 7985096 BLAKE2B 7878cf4817661fb6cf30dfd1f5633b6d3270b6bd28563cce8d1ad562965e74b1762228b3ea8fc12f39111f5126d393555e780946b1f696ac66080d1ca73f51cc SHA512 6ae2b675415561876aba0a3a0c0244670271a1a97b60013f90ef2eb02904756a22a1b9d8b3286e99ae8bbff1e7323db45c9826ab7478f4819e328e4c51094793
+DIST kate-23.04.3.tar.xz 7986416 BLAKE2B f819c511f5c11028ad2bba7cf1bc48a8ce817184c763d065e8431c54db9176153187915e90a556e533e49bdb5ab807104e1907ddf63e69f93679b1b92219bf8e SHA512 c472c62387e1594aa5f65d00a82f215254a7ad24993c0bfc9bff50d038887d824aa52b647efbb555c5755c2a1770d5b60454c5e4b39f6dd7d1baf62b5c80d0e2
diff --git a/kde-apps/kate-addons/kate-addons-23.04.3.ebuild b/kde-apps/kate-addons/kate-addons-23.04.3.ebuild
new file mode 100644
index 000000000000..2ade28e38e21
--- /dev/null
+++ b/kde-apps/kate-addons/kate-addons-23.04.3.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
+}