diff options
| -rw-r--r-- | kde-apps/kwrite/kwrite-25.12.49.9999.ebuild | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/kde-apps/kwrite/kwrite-25.12.49.9999.ebuild b/kde-apps/kwrite/kwrite-25.12.49.9999.ebuild new file mode 100644 index 00000000000..15384982439 --- /dev/null +++ b/kde-apps/kwrite/kwrite-25.12.49.9999.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +KDE_ORG_NAME="kate" +ECM_HANDBOOK="forceoff" +KFMIN=6.19.0 +QTMIN=6.9.1 +inherit ecm flag-o-matic gear.kde.org xdg + +DESCRIPTION="Simple text editor based on KDE Frameworks" +HOMEPAGE="https://apps.kde.org/kwrite/" + +LICENSE="GPL-2" # TODO: CHECK +SLOT="6" +KEYWORDS="" +IUSE="" + +DEPEND=" + >=dev-qt/qtbase-${QTMIN}:6[gui,widgets] + ~kde-apps/kate-lib-${PV}:6 + >=kde-frameworks/kcoreaddons-${KFMIN}:6 + >=kde-frameworks/kdbusaddons-${KFMIN}:6 + >=kde-frameworks/ki18n-${KFMIN}:6 + virtual/libintl +" +RDEPEND="${DEPEND} + >=kde-apps/kate-common-${PV} +" + +src_prepare() { + ecm_src_prepare + ecm_punt_po_install + + # these tests are run in kde-apps/kate-lib + cmake_comment_add_subdirectory -f apps/lib autotests + + # Don't build kio plugin + cmake_comment_add_subdirectory -f apps/lib io +} + +src_configure() { + local mycmakeargs=( + -DBUILD_addons=FALSE + -DBUILD_kate=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 + rm -v "${ED}"/usr/bin/exec_inspect.sh || die +} |
