You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
63 lines
1.4 KiB
63 lines
1.4 KiB
3 months ago
|
# Copyright 1999-2024 Gentoo Authors
|
||
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
|
EAPI=8
|
||
|
|
||
|
ECM_HANDBOOK="optional"
|
||
2 months ago
|
KFMIN=6.0.0
|
||
3 months ago
|
QTMIN=6.6.2
|
||
|
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="6"
|
||
|
KEYWORDS="~amd64"
|
||
|
IUSE=""
|
||
|
|
||
2 months ago
|
# slot op: Uses Qt6::GuiPrivate for qtx11extras_p.h
|
||
3 months ago
|
# kde-frameworks/kwindowsystem[X]: Unconditional use of KX11Extras
|
||
|
DEPEND="
|
||
2 months ago
|
>=dev-qt/qtbase-${QTMIN}:6=[dbus,gui,network,widgets]
|
||
3 months ago
|
~kde-apps/kate-lib-${PV}:6
|
||
|
>=kde-frameworks/kcoreaddons-${KFMIN}:6
|
||
|
>=kde-frameworks/kdbusaddons-${KFMIN}:6
|
||
|
>=kde-frameworks/ki18n-${KFMIN}:6
|
||
|
>=kde-frameworks/kwindowsystem-${KFMIN}:6[X]
|
||
|
virtual/libintl
|
||
|
"
|
||
|
RDEPEND="${DEPEND}
|
||
|
~kde-apps/kate-addons-${PV}:6
|
||
|
"
|
||
|
|
||
|
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
|
||
|
rm -f po/*/*.po || die # installed by kde-apps/kate-lib
|
||
|
rm -rf po/*/docs/kwrite || die
|
||
|
}
|
||
|
|
||
|
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
|
||
|
}
|