summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2022-08-22 20:21:59 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2022-08-22 22:10:24 +0200
commit94228ba5bef1928e70ef62af48f8a8b7d007e5b8 (patch)
tree72be9f923524b1dd76d6a5b10ed0578beda32528
parentkde-apps/konsole: 22.08.0 version bump (diff)
downloadgentoo-94228ba5bef1928e70ef62af48f8a8b7d007e5b8.tar.gz
gentoo-94228ba5bef1928e70ef62af48f8a8b7d007e5b8.tar.bz2
gentoo-94228ba5bef1928e70ef62af48f8a8b7d007e5b8.zip
kde-apps/kwrite: 22.08.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-22.08.0.ebuild61
2 files changed, 62 insertions, 0 deletions
diff --git a/kde-apps/kwrite/Manifest b/kde-apps/kwrite/Manifest
index 6dd292c7c40a..3584f2393ca1 100644
--- a/kde-apps/kwrite/Manifest
+++ b/kde-apps/kwrite/Manifest
@@ -1 +1,2 @@
DIST kate-22.04.3.tar.xz 7584932 BLAKE2B f97d89d327d2e548683c4eb551ca307398f6d9c369776a71bb16c0b020161f1d6f829161f7c23bdfe7bdb792d5038f7f04d399093f611e36bccbff8a16d23ccf SHA512 6c8de8d4a38cc2c187ebe8102c8f79694a91de00a72080f47a201550c67701bd4537c4232c7fb5bd719b770f91d65b8bd56cf271c1bd8a6615fb2205f09ad7e1
+DIST kate-22.08.0.tar.xz 7655384 BLAKE2B 7f8ccf67f6e29c3047b3ad4cdbd28d373d35b5d4cb580aa29097229ad5910ed2393fe97acc742c755a4b35711086aaa55c698fc3fe3fbd0d3e64d9df021b15e8 SHA512 637e5314cabe87efdd6f8162b955d9b369a6bc12e77006325dd3038d517208ef5aca457ca2932cd37c1f98301b7a1968f30859e5c7a5cb16ce0b974910d7c5bc
diff --git a/kde-apps/kwrite/kwrite-22.08.0.ebuild b/kde-apps/kwrite/kwrite-22.08.0.ebuild
new file mode 100644
index 000000000000..0994c1be1f37
--- /dev/null
+++ b/kde-apps/kwrite/kwrite-22.08.0.ebuild
@@ -0,0 +1,61 @@
+# 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.96.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 ~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
+"
+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
+ 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=(
+ -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
+}