summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2022-09-08 13:44:39 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2022-09-08 14:41:50 +0200
commita933da4cff8a1e4856e0dd10363bc020c269c2dd (patch)
tree99ea5530fec910fec0fd1d4e4405d90b30003cf2 /kde-apps/kwrite
parentkde-apps/konsole: 22.08.1 version bump (diff)
downloadgentoo-a933da4cff8a1e4856e0dd10363bc020c269c2dd.tar.gz
gentoo-a933da4cff8a1e4856e0dd10363bc020c269c2dd.tar.bz2
gentoo-a933da4cff8a1e4856e0dd10363bc020c269c2dd.zip
kde-apps/kwrite: 22.08.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-22.08.1.ebuild61
2 files changed, 62 insertions, 0 deletions
diff --git a/kde-apps/kwrite/Manifest b/kde-apps/kwrite/Manifest
index 3584f2393ca1..56eb50adb5ab 100644
--- a/kde-apps/kwrite/Manifest
+++ b/kde-apps/kwrite/Manifest
@@ -1,2 +1,3 @@
DIST kate-22.04.3.tar.xz 7584932 BLAKE2B f97d89d327d2e548683c4eb551ca307398f6d9c369776a71bb16c0b020161f1d6f829161f7c23bdfe7bdb792d5038f7f04d399093f611e36bccbff8a16d23ccf SHA512 6c8de8d4a38cc2c187ebe8102c8f79694a91de00a72080f47a201550c67701bd4537c4232c7fb5bd719b770f91d65b8bd56cf271c1bd8a6615fb2205f09ad7e1
DIST kate-22.08.0.tar.xz 7655384 BLAKE2B 7f8ccf67f6e29c3047b3ad4cdbd28d373d35b5d4cb580aa29097229ad5910ed2393fe97acc742c755a4b35711086aaa55c698fc3fe3fbd0d3e64d9df021b15e8 SHA512 637e5314cabe87efdd6f8162b955d9b369a6bc12e77006325dd3038d517208ef5aca457ca2932cd37c1f98301b7a1968f30859e5c7a5cb16ce0b974910d7c5bc
+DIST kate-22.08.1.tar.xz 7663600 BLAKE2B 673007f2ce17b6dd3c8525a903eccc116a252ccd45121a2829a1830eaa97e88be81f73f41c1434b596cc5f69b6680a8a0d873257467c311671c41b20a6e10086 SHA512 cdea4ae0ad0ff8f8b2c4a75e253d16d4048e17f2d778534862fd7e77f99824c4d046dc3e667dc093153e9c3c662a4d911deef7d88f24d41456b786ec7b58f878
diff --git a/kde-apps/kwrite/kwrite-22.08.1.ebuild b/kde-apps/kwrite/kwrite-22.08.1.ebuild
new file mode 100644
index 000000000000..0994c1be1f37
--- /dev/null
+++ b/kde-apps/kwrite/kwrite-22.08.1.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
+}