diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2020-04-23 12:14:47 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2020-04-24 00:06:55 +0200 |
commit | 676a79636007840dd187ee278f14c416d27c03fe (patch) | |
tree | cb720563f718dd6463117035261bc709a5bc1ce0 /kde-apps/kwrite | |
parent | profiles: use.desc: Add 'telemetry' (diff) | |
download | gentoo-676a79636007840dd187ee278f14c416d27c03fe.tar.gz gentoo-676a79636007840dd187ee278f14c416d27c03fe.tar.bz2 gentoo-676a79636007840dd187ee278f14c416d27c03fe.zip |
kde-apps: Add KDE Release Service 20.04.0
Package-Manager: Portage-2.3.99, Repoman-2.3.22
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-20.04.0.ebuild | 57 |
2 files changed, 58 insertions, 0 deletions
diff --git a/kde-apps/kwrite/Manifest b/kde-apps/kwrite/Manifest index 9f2d1e31d28a..ff1a9ef73e27 100644 --- a/kde-apps/kwrite/Manifest +++ b/kde-apps/kwrite/Manifest @@ -1 +1,2 @@ DIST kate-19.12.3.tar.xz 5795816 BLAKE2B 567b0c37f0b50533eeb19a527f7527ae050b62c8a50d46bbfac06226f109cd024b7626abc7defa32b9a654e231f6f04246a3410ace92f40fc25fb22a6f893c82 SHA512 aa6a2c44a8c5892e61ac80df676da6059e61dd93f5e2934e0547040d89379f9f3ae90f46b8e043edf463228ef5b0ab3f795b8ab3dd6c488d0ba0c55cf20bd817 +DIST kate-20.04.0.tar.xz 5825200 BLAKE2B f4ef5411c321cd8188ac048ddf718e0d85b1df2d548b275b8ed876f3fe8a8bef38fcb6384eeab0e8500f3d95ae25d0a55fbab5b8d5c6c1e75fa06fc340672142 SHA512 839ffb2fc6ff8c07178672f44ec4b138f68ac44717263dc32b4251cdc4fb4d86429cf2db57d6677d33a8fae2da2e6b8b79e3909d425481d1db2e4586a15c7141 diff --git a/kde-apps/kwrite/kwrite-20.04.0.ebuild b/kde-apps/kwrite/kwrite-20.04.0.ebuild new file mode 100644 index 000000000000..23aba06688c9 --- /dev/null +++ b/kde-apps/kwrite/kwrite-20.04.0.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +KDE_ORG_NAME="kate" +ECM_HANDBOOK="optional" +KFMIN=5.69.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 ~ppc64" +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 +} |