summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2022-03-03 12:29:51 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2022-03-03 15:52:39 +0100
commit7e3e041ea6d118f3ca70b7e765016eae7cd4d27d (patch)
tree54d7a24170051d9bd06cc3361cf3a156e3922c09 /kde-apps/kwrite
parentkde-apps/konsole: 21.12.3 version bump (diff)
downloadgentoo-7e3e041ea6d118f3ca70b7e765016eae7cd4d27d.tar.gz
gentoo-7e3e041ea6d118f3ca70b7e765016eae7cd4d27d.tar.bz2
gentoo-7e3e041ea6d118f3ca70b7e765016eae7cd4d27d.zip
kde-apps/kwrite: 21.12.3 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.3.ebuild59
2 files changed, 60 insertions, 0 deletions
diff --git a/kde-apps/kwrite/Manifest b/kde-apps/kwrite/Manifest
index 3c6c715dc88b..b79163ad78eb 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.2.tar.xz 7393316 BLAKE2B 6834124eed2c6f79966d088943074e5edab7d3384241bfa0b855c83117e5e7a9f108424858cf35c12bcb89344cb76e217f903a39eda99f95908950b7e22e5a04 SHA512 255efb34ad88ce8804f1669316b11a4efb0075011576efb6bdba289b09324e185b5ac73749ffa6a1b1620de828457fc9a868cac6dc8554fb0dc5089c9b185cf5
+DIST kate-21.12.3.tar.xz 7497692 BLAKE2B 768f8b7055b922b2d10ef93e2935a38f8095f581115fad79760c240a7dc78f49a5b3a096ea173ec464564d7bb692cf1c5ece1a1d2dd4b1e8cbe7efed3524390d SHA512 998256a13896441c0068fa1be166ee373acc5475022badce0accb7123f1b308b7fadd06511d6eb7359f51b0bd72c09dd23cdfb6608dcebb97bcd854aeb941086
diff --git a/kde-apps/kwrite/kwrite-21.12.3.ebuild b/kde-apps/kwrite/kwrite-21.12.3.ebuild
new file mode 100644
index 000000000000..ade6878867a9
--- /dev/null
+++ b/kde-apps/kwrite/kwrite-21.12.3.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
+}