diff options
Diffstat (limited to 'kde-apps/kate/kate-22.08.0.ebuild')
-rw-r--r-- | kde-apps/kate/kate-22.08.0.ebuild | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/kde-apps/kate/kate-22.08.0.ebuild b/kde-apps/kate/kate-22.08.0.ebuild new file mode 100644 index 000000000000..4756b80fd7a5 --- /dev/null +++ b/kde-apps/kate/kate-22.08.0.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_HANDBOOK="optional" +KFMIN=5.96.0 +QTMIN=5.15.5 +VIRTUALX_REQUIRED="test" +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="5" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="" + +DEPEND=" + >=dev-qt/qtdbus-${QTMIN}:5 + >=dev-qt/qtgui-${QTMIN}:5 + >=dev-qt/qtnetwork-${QTMIN}:5 + >=dev-qt/qtwidgets-${QTMIN}:5 + ~kde-apps/kate-lib-${PV}:5 + >=kde-frameworks/kcoreaddons-${KFMIN}:5 + >=kde-frameworks/kdbusaddons-${KFMIN}:5 + >=kde-frameworks/ki18n-${KFMIN}:5 + >=kde-frameworks/kwindowsystem-${KFMIN}:5 +" +RDEPEND="${DEPEND} + ~kde-apps/kate-addons-${PV}: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 kwrite translations + if [[ ${KDE_BUILD_TYPE} = release ]]; then + rm -f po/*/*.po || die # installed by kde-apps/kate-lib + rm -rf po/*/docs/kwrite || die + fi +} + +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 +} |