diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2023-08-25 09:55:48 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2023-08-25 10:26:59 +0200 |
commit | 07f6e54e0a205f361eb85dd8ee150de4f49bcbbb (patch) | |
tree | 3af11199378988eb4b20c2a47e3a471b936fdd80 /kde-apps/kate-addons | |
parent | kde-apps/kate: 23.08.0 version bump (diff) | |
download | gentoo-07f6e54e0a205f361eb85dd8ee150de4f49bcbbb.tar.gz gentoo-07f6e54e0a205f361eb85dd8ee150de4f49bcbbb.tar.bz2 gentoo-07f6e54e0a205f361eb85dd8ee150de4f49bcbbb.zip |
kde-apps/kate-addons: 23.08.0 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps/kate-addons')
-rw-r--r-- | kde-apps/kate-addons/Manifest | 1 | ||||
-rw-r--r-- | kde-apps/kate-addons/kate-addons-23.08.0.ebuild | 107 |
2 files changed, 108 insertions, 0 deletions
diff --git a/kde-apps/kate-addons/Manifest b/kde-apps/kate-addons/Manifest index fc26878d5166..841659998cfe 100644 --- a/kde-apps/kate-addons/Manifest +++ b/kde-apps/kate-addons/Manifest @@ -1,2 +1,3 @@ DIST kate-23.04.1-cmake.patch.xz 1028 BLAKE2B 076d4bcd8916883ac500ea64609a5c38f08f41a48dcc843419b4484b6e4af4bd268806a107c1c9ba89d5ee2a99663f41f5a8c6746097893cdf4ff0fc2323d32d SHA512 260d8e8349d2bb7bc46d444a122fb91b3e045904eecc76d7efaf73e0ad4cc732d6227785b7fff3a1402c863286be35662617c2d7d8b205f55ff03a01a377ff45 DIST kate-23.04.3.tar.xz 7986416 BLAKE2B f819c511f5c11028ad2bba7cf1bc48a8ce817184c763d065e8431c54db9176153187915e90a556e533e49bdb5ab807104e1907ddf63e69f93679b1b92219bf8e SHA512 c472c62387e1594aa5f65d00a82f215254a7ad24993c0bfc9bff50d038887d824aa52b647efbb555c5755c2a1770d5b60454c5e4b39f6dd7d1baf62b5c80d0e2 +DIST kate-23.08.0.tar.xz 8032140 BLAKE2B 2f9fb99d78a6559aba3eab6002ac5839d31717c67002b84d145e93b4341179c59c3d7fa913e2f13034daee47a7d0a99087d14374531ce238a456cd87e5628bbd SHA512 6081286c0c6a12b79b8cbc65ca8d73b8181d33dca1745d0199c567f1d23249da786baea7b0bc3d8dd3153782c6eff660b0e57d4bf8ca9aa8fefb016b19deeddd diff --git a/kde-apps/kate-addons/kate-addons-23.08.0.ebuild b/kde-apps/kate-addons/kate-addons-23.08.0.ebuild new file mode 100644 index 000000000000..4f8716871aad --- /dev/null +++ b/kde-apps/kate-addons/kate-addons-23.08.0.ebuild @@ -0,0 +1,107 @@ +# 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/" + +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 +" + +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 +} |