diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2022-05-12 19:46:46 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2022-05-13 21:53:49 +0200 |
commit | bdccd3ffac4cb74c4a497421447765774691d58c (patch) | |
tree | 072456ff7c4a1f927a04d29cbc5bd675d1183e90 /kde-apps/kwrite | |
parent | kde-apps/konsole: 22.04.1 version bump (diff) | |
download | gentoo-bdccd3ffac4cb74c4a497421447765774691d58c.tar.gz gentoo-bdccd3ffac4cb74c4a497421447765774691d58c.tar.bz2 gentoo-bdccd3ffac4cb74c4a497421447765774691d58c.zip |
kde-apps/kwrite: 22.04.1 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps/kwrite')
-rw-r--r-- | kde-apps/kwrite/Manifest | 1 | ||||
-rw-r--r-- | kde-apps/kwrite/kwrite-22.04.1.ebuild | 59 |
2 files changed, 60 insertions, 0 deletions
diff --git a/kde-apps/kwrite/Manifest b/kde-apps/kwrite/Manifest index 236b844c2829..6e3730cd5f4e 100644 --- a/kde-apps/kwrite/Manifest +++ b/kde-apps/kwrite/Manifest @@ -1,2 +1,3 @@ DIST kate-21.12.3.tar.xz 7497692 BLAKE2B 768f8b7055b922b2d10ef93e2935a38f8095f581115fad79760c240a7dc78f49a5b3a096ea173ec464564d7bb692cf1c5ece1a1d2dd4b1e8cbe7efed3524390d SHA512 998256a13896441c0068fa1be166ee373acc5475022badce0accb7123f1b308b7fadd06511d6eb7359f51b0bd72c09dd23cdfb6608dcebb97bcd854aeb941086 DIST kate-22.04.0.tar.xz 7573324 BLAKE2B b157e78071a07c52e04daba136195564b8c78608ce2f32499d5f4520709a1d2470f54d90d33d5a76e8e1d117a9864398e6f02e2330739711dccf228f786af511 SHA512 043cc9d331ba05f240d9e7e48a6dbba8c4de44c679130dd79be9e61df36fff0683c496e24945c9039f6e96deff06d3755365df9b26ec044adccf940467e9c087 +DIST kate-22.04.1.tar.xz 7574272 BLAKE2B b96cddafd17277c56b710907e5151a22f6dcaaa56fcdab748aaae30060843cb8e22cb97bb4bb642f845ea29ecf5706225a233c40d179d8586b5cb7026bb99e23 SHA512 f7cd8605d47578d237f210e5857e1caf6e2aaea56d638be97adcf958a89d8abbf3af50a0f2392dc9e32c076669bac9415d35235f68a1ff7174794aec59f78170 diff --git a/kde-apps/kwrite/kwrite-22.04.1.ebuild b/kde-apps/kwrite/kwrite-22.04.1.ebuild new file mode 100644 index 000000000000..f3873073c47a --- /dev/null +++ b/kde-apps/kwrite/kwrite-22.04.1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +KDE_ORG_NAME="kate" +ECM_HANDBOOK="optional" +KFMIN=5.92.0 +QTMIN=5.15.3 +inherit ecm kde.org + +DESCRIPTION="Simple text editor based on KDE Frameworks" +HOMEPAGE="https://apps.kde.org/kwrite/" + +LICENSE="GPL-2" # TODO: CHECK +SLOT="5" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="activities" + +RDEPEND=" + >=dev-qt/qtgui-${QTMIN}:5 + >=dev-qt/qtwidgets-${QTMIN}: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/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 + activities? ( >=kde-frameworks/kactivities-${KFMIN}:5 ) +" +DEPEND="${RDEPEND} + >=kde-frameworks/ktextwidgets-${KFMIN}:5 +" + +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 +} |