summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2022-01-07 12:14:25 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2022-01-07 14:49:50 +0100
commitc5446d06f61e09478a9c8e02543e130bc637c2fe (patch)
tree3a7b411294091d20925d201b22087d2b831eaee9 /kde-apps/kwrite
parentkde-apps/konsole: 21.12.1 version bump (diff)
downloadgentoo-c5446d06f61e09478a9c8e02543e130bc637c2fe.tar.gz
gentoo-c5446d06f61e09478a9c8e02543e130bc637c2fe.tar.bz2
gentoo-c5446d06f61e09478a9c8e02543e130bc637c2fe.zip
kde-apps/kwrite: 21.12.1 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps/kwrite')
-rw-r--r--kde-apps/kwrite/Manifest1
-rw-r--r--kde-apps/kwrite/kwrite-21.12.1.ebuild59
2 files changed, 60 insertions, 0 deletions
diff --git a/kde-apps/kwrite/Manifest b/kde-apps/kwrite/Manifest
index c527f2ce2dcc..c4565a3fd12a 100644
--- a/kde-apps/kwrite/Manifest
+++ b/kde-apps/kwrite/Manifest
@@ -1,2 +1,3 @@
DIST kate-21.08.3.tar.xz 7291244 BLAKE2B 190f166be207b513f3e2d723b08886fd70711ef1e409f6d52b7fb4ae8a748ce7fb279c081e1a758884622b05243e4bc0044c757a2bb5e17a141823009b8fa9fe SHA512 2977db9224fb5b49b3a210d8789fa5d644614f2a6ff72fa504337718f017f30ee209dcffb990d3aee8e1f322184e62195ca98668700a2d9becf4de9d9dda65b3
DIST kate-21.12.0.tar.xz 7381344 BLAKE2B 8b50d107f5ed5ab2a15073b68bbaebbaf37dca9866d92f5a6a7a17d295bde442f8fe72a6c7244d82e604c15fad5dc783829c294e0f53610b2b6c897a47770bc0 SHA512 40d188621425c04bc2b21c5d446491dd40106acf3e9a44a22a34c0737bf03f4ded0b5f32df20dc52ba360f492510deee2cae0a1a954c21f8314265f9b3adea54
+DIST kate-21.12.1.tar.xz 7392532 BLAKE2B 4e9093af47b8300cfa29ab6206452b271c103a69cb81f50fe7d92d5a7cf5fbd34c591183a6359bb9932cf90864c31cea311f9232d7a59f38a71838558094050f SHA512 994bd9c003d3ed772ecf5bc93872addfab40aa845f6ad1dd42043494739dfca723c1ecbf16220dd5a867c141acaaf4b7ca83acddb7d2d27ef9262d67cc414ea0
diff --git a/kde-apps/kwrite/kwrite-21.12.1.ebuild b/kde-apps/kwrite/kwrite-21.12.1.ebuild
new file mode 100644
index 000000000000..ade6878867a9
--- /dev/null
+++ b/kde-apps/kwrite/kwrite-21.12.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.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
+}