aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2023-04-15 18:00:07 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2023-04-15 21:39:29 +0200
commit448a4b75a78370b0eb259839084806b262553aa9 (patch)
treee6f52c8681178aef8f809a632df102ce92795f40
parentkde-apps/konsole: 23.04.0 version bump (diff)
downloadkde-448a4b75a78370b0eb259839084806b262553aa9.tar.gz
kde-448a4b75a78370b0eb259839084806b262553aa9.tar.bz2
kde-448a4b75a78370b0eb259839084806b262553aa9.zip
kde-apps/kwrite: 23.04.0 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
-rw-r--r--kde-apps/kwrite/Manifest1
-rw-r--r--kde-apps/kwrite/kwrite-23.04.0.ebuild60
2 files changed, 61 insertions, 0 deletions
diff --git a/kde-apps/kwrite/Manifest b/kde-apps/kwrite/Manifest
index d107e98ff5..5c29310f99 100644
--- a/kde-apps/kwrite/Manifest
+++ b/kde-apps/kwrite/Manifest
@@ -1 +1,2 @@
DIST kate-23.03.90.tar.xz 7981040 BLAKE2B e859dc31351522aee2f620e78f05c32825d38c983287999a6a4ed035134041a0787ba6452d1813e3f91099831d470887f46917e42b9f3a0de19e5f5f2e000e70 SHA512 3f0c46f405f52f4d425d36ab99b2a4cf6b583d26a3ea0224fc9769550d5404ed5ffd4eb093bc62d91167225af75fb8eaef15bad5b353b59c24dfd014dd2a6e53
+DIST kate-23.04.0.tar.xz 7984356 BLAKE2B e9d2356dd51233df3a3ba9bbab56f4333ceb34ac252683439ce668e3da725c3cf539d7478dd357c14b99bb5bfdd438eefabe396a6531ec94c7ed96f1f1033a8f SHA512 9d9f117b8fd4c09901af94a46524784fa49fab370ad157fc5c55897ab30d22199817ab1a03df0a8a7f637694eea74abd731a578910c74ff197aadd745866d37a
diff --git a/kde-apps/kwrite/kwrite-23.04.0.ebuild b/kde-apps/kwrite/kwrite-23.04.0.ebuild
new file mode 100644
index 0000000000..e361a2d543
--- /dev/null
+++ b/kde-apps/kwrite/kwrite-23.04.0.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+KDE_ORG_NAME="kate"
+ECM_HANDBOOK="optional"
+KFMIN=5.104.0
+QTMIN=5.15.5
+inherit ecm flag-o-matic gear.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 ~loong ~ppc64 ~riscv ~x86"
+IUSE=""
+
+RDEPEND="
+ >=dev-qt/qtgui-${QTMIN}:5
+ >=dev-qt/qtwidgets-${QTMIN}:5
+ ~kde-apps/kate-lib-${PV}:5
+ >=kde-frameworks/kcoreaddons-${KFMIN}:5
+ >=kde-frameworks/kdbusaddons-${KFMIN}:5
+ >=kde-frameworks/ki18n-${KFMIN}:5
+ virtual/libintl
+"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ ecm_src_prepare
+
+ # these tests are run in kde-apps/kate-lib
+ cmake_run_in apps/lib cmake_comment_add_subdirectory autotests
+
+ # delete colliding kate translations
+ find po -type f -name "*po" -and -not -name "kwrite*" -delete || die
+ rm -rf po/*/docs/kate* || die
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_addons=FALSE
+ -DBUILD_kate=FALSE
+ )
+ use handbook && mycmakeargs+=( -DBUILD_katepart=FALSE )
+
+ # provided by kde-apps/kate-lib
+ append-libs -lkateprivate
+
+ ecm_src_configure
+}
+
+src_install() {
+ ecm_src_install
+
+ # provided by kde-apps/kate-lib
+ rm -v "${ED}"/usr/$(get_libdir)/libkateprivate.so.* || die
+}