summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2024-02-15 10:22:40 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2024-02-15 13:22:26 +0100
commit8499c5122981867e10770d6945849d4990e94af8 (patch)
tree890d5eaa6a7f86e807dfa9fe9278d8534dc03194 /kde-apps/kwrite
parentkde-apps/konsole: 23.08.5 version bump (diff)
downloadgentoo-8499c5122981867e10770d6945849d4990e94af8.tar.gz
gentoo-8499c5122981867e10770d6945849d4990e94af8.tar.bz2
gentoo-8499c5122981867e10770d6945849d4990e94af8.zip
kde-apps/kwrite: 23.08.5 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-23.08.5.ebuild60
2 files changed, 61 insertions, 0 deletions
diff --git a/kde-apps/kwrite/Manifest b/kde-apps/kwrite/Manifest
index 59b10aac8802..9d8c30ecc542 100644
--- a/kde-apps/kwrite/Manifest
+++ b/kde-apps/kwrite/Manifest
@@ -1 +1,2 @@
DIST kate-23.08.4.tar.xz 8043840 BLAKE2B 0aa8f983612b5873489aa23da3024c793d57b7d7c1f5b6fa35a45c34c53584e06490db4ba5bff77a8917476d72e78bb081af42205a51e58329a12790eb96e872 SHA512 99b147940809149c93a9a79bcf5263db650f3afa1fbef5158d20ed88608e3794dc8d1357d7c0119369b690dbfcd63e369a009171c3b4a99559246f876bafe28a
+DIST kate-23.08.5.tar.xz 8043480 BLAKE2B 68b27c125a1e7f144ecc1d7b6d3348337b2f14f7fd61307e4ec64b74bb388378314d6575801bbc22c49bf4470133d8f91dede5f9b384a2f2356ec1e111da01f8 SHA512 d3647d7c6af74fdfdf3bf9eb9da906195215800025b43558bd6c9811bd2f457a52555c84997801e0b0badddcd99b0dd6e384bf9ec82790fb14cb20ff026a5a5b
diff --git a/kde-apps/kwrite/kwrite-23.08.5.ebuild b/kde-apps/kwrite/kwrite-23.08.5.ebuild
new file mode 100644
index 000000000000..4b7234b218da
--- /dev/null
+++ b/kde-apps/kwrite/kwrite-23.08.5.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+KDE_ORG_NAME="kate"
+ECM_HANDBOOK="optional"
+KFMIN=5.106.0
+QTMIN=5.15.9
+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
+}