diff options
Diffstat (limited to 'kde-apps/kwrite')
-rw-r--r-- | kde-apps/kwrite/Manifest | 1 | ||||
-rw-r--r-- | kde-apps/kwrite/kwrite-19.12.0.ebuild | 57 | ||||
-rw-r--r-- | kde-apps/kwrite/metadata.xml | 3 |
3 files changed, 61 insertions, 0 deletions
diff --git a/kde-apps/kwrite/Manifest b/kde-apps/kwrite/Manifest index 98b40f4eadcc..693303788623 100644 --- a/kde-apps/kwrite/Manifest +++ b/kde-apps/kwrite/Manifest @@ -1 +1,2 @@ DIST kate-19.08.3.tar.xz 5844532 BLAKE2B 34aaceab92783a869de616be9290887f75eba5ef6198e93d90a71d62b441a907a7893916c72ac85c46d6156330322d5297c60c8c9b43cbcd615c05b51cdd0000 SHA512 0a0b33858bd4856bdf29d354603d33541b2c0aab134025db3014aa31cf3231fa2bcc244252872c0b51c28b7cd715556966d9049ce85a8ad614e1f552479c1bc8 +DIST kate-19.12.0.tar.xz 5695096 BLAKE2B 8b783c86879ccf49d8d028b02eb5ff89e85ff061605e1fd46e0d5952611455a1832a20fba2158eff61617617f95207a158a6e36975602fb4ff0dcd7147928f8a SHA512 37106b3db09c302d69922cb81a425b2a74bc7bac8cc7d767d6efa59d60b5e80b4f1d2e20dc1e87a2cc57b534fdaefd58b40ce463894f58b56d8ec9a229487db8 diff --git a/kde-apps/kwrite/kwrite-19.12.0.ebuild b/kde-apps/kwrite/kwrite-19.12.0.ebuild new file mode 100644 index 000000000000..0862c397eb87 --- /dev/null +++ b/kde-apps/kwrite/kwrite-19.12.0.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +KDE_ORG_NAME="kate" +ECM_HANDBOOK="optional" +KFMIN=5.63.0 +QTMIN=5.12.3 +inherit ecm kde.org + +DESCRIPTION="Simple text editor based on KDE Frameworks" +HOMEPAGE="https://kde.org/applications/utilities/org.kde.kwrite" + +LICENSE="GPL-2" # TODO: CHECK +SLOT="5" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="activities" + +DEPEND=" + >=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/ki18n-${KFMIN}:5 + >=kde-frameworks/kio-${KFMIN}:5 + >=kde-frameworks/kjobwidgets-${KFMIN}:5 + >=kde-frameworks/kparts-${KFMIN}:5 + >=kde-frameworks/ktexteditor-${KFMIN}:5 + >=kde-frameworks/kwidgetsaddons-${KFMIN}:5 + >=kde-frameworks/kxmlgui-${KFMIN}:5 + >=dev-qt/qtgui-${QTMIN}:5 + >=dev-qt/qtwidgets-${QTMIN}:5 + activities? ( >=kde-frameworks/kactivities-${KFMIN}:5 ) +" +RDEPEND="${DEPEND}" + +src_prepare() { + ecm_src_prepare + # delete colliding kate translations + if [[ ${KDE_BUILD_TYPE} = release ]]; then + find po -type f -name "*po" -and -not -name "kwrite*" -delete || die + rm -rf po/*/docs/kate* || die + fi +} + +src_configure() { + local mycmakeargs=( + $(cmake_use_find_package activities KF5Activities) + -DBUILD_addons=FALSE + -DBUILD_kate=FALSE + ) + use handbook && mycmakeargs+=( -DBUILD_katepart=FALSE ) + + ecm_src_configure +} diff --git a/kde-apps/kwrite/metadata.xml b/kde-apps/kwrite/metadata.xml index 2fdbf33d963d..e86df5ddbf6b 100644 --- a/kde-apps/kwrite/metadata.xml +++ b/kde-apps/kwrite/metadata.xml @@ -5,4 +5,7 @@ <email>kde@gentoo.org</email> <name>Gentoo KDE Project</name> </maintainer> + <use> + <flag name="activities">Enable Plasma Activities support via <pkg>kde-frameworks/kactivities</pkg></flag> + </use> </pkgmetadata> |