diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2021-11-29 17:02:08 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2021-11-29 17:51:54 +0100 |
commit | d7ff7664c4fd78dcb90d62950af968694b5f54f6 (patch) | |
tree | fab28b432919c5249333179cf7f98447512d818b /kde-apps/kwrite | |
parent | kde-apps/konsole: 21.11.90 version bump (diff) | |
download | gentoo-d7ff7664c4fd78dcb90d62950af968694b5f54f6.tar.gz gentoo-d7ff7664c4fd78dcb90d62950af968694b5f54f6.tar.bz2 gentoo-d7ff7664c4fd78dcb90d62950af968694b5f54f6.zip |
kde-apps/kwrite: 21.11.90 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-21.11.90.ebuild | 59 |
2 files changed, 60 insertions, 0 deletions
diff --git a/kde-apps/kwrite/Manifest b/kde-apps/kwrite/Manifest index 82e28bd4dadc..5033158bd901 100644 --- a/kde-apps/kwrite/Manifest +++ b/kde-apps/kwrite/Manifest @@ -1 +1,2 @@ DIST kate-21.08.3.tar.xz 7291244 BLAKE2B 190f166be207b513f3e2d723b08886fd70711ef1e409f6d52b7fb4ae8a748ce7fb279c081e1a758884622b05243e4bc0044c757a2bb5e17a141823009b8fa9fe SHA512 2977db9224fb5b49b3a210d8789fa5d644614f2a6ff72fa504337718f017f30ee209dcffb990d3aee8e1f322184e62195ca98668700a2d9becf4de9d9dda65b3 +DIST kate-21.11.90.tar.xz 7377248 BLAKE2B bc8df04f926662a08fb5613a231686aeab6ac6f1b28a3677dc7c7af1dbf5aa53191019039927ebc64ede5ddd97a7d00814075d373b52d2031f9a08daebed1662 SHA512 b173d6327e4efbfe0c259596188e960edb4589a86cd34db0b53040533f5a5ce8ee4232834ea8e2a347ddc0a80aed96267b46974e249b4012e22553924bd9cdfc diff --git a/kde-apps/kwrite/kwrite-21.11.90.ebuild b/kde-apps/kwrite/kwrite-21.11.90.ebuild new file mode 100644 index 000000000000..1b946369cf6c --- /dev/null +++ b/kde-apps/kwrite/kwrite-21.11.90.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +KDE_ORG_NAME="kate" +ECM_HANDBOOK="optional" +KFMIN=5.88.0 +QTMIN=5.15.2 +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 +} |