summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2023-05-11 08:56:09 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2023-05-11 17:58:04 +0200
commit795a142009375ac54cc45229b9e18cfb443b9fa5 (patch)
treeaea136eb1449dc6a498028e447816350c263728e /kde-apps/kwrite
parentkde-apps/konsole: 23.04.1 version bump (diff)
downloadgentoo-795a142009375ac54cc45229b9e18cfb443b9fa5.tar.gz
gentoo-795a142009375ac54cc45229b9e18cfb443b9fa5.tar.bz2
gentoo-795a142009375ac54cc45229b9e18cfb443b9fa5.zip
kde-apps/kwrite: 23.04.1 version bump
Closes: https://bugs.gentoo.org/905709 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps/kwrite')
-rw-r--r--kde-apps/kwrite/Manifest2
-rw-r--r--kde-apps/kwrite/kwrite-23.04.1.ebuild63
2 files changed, 65 insertions, 0 deletions
diff --git a/kde-apps/kwrite/Manifest b/kde-apps/kwrite/Manifest
index 8eaa933d830c..bb8de8547bec 100644
--- a/kde-apps/kwrite/Manifest
+++ b/kde-apps/kwrite/Manifest
@@ -1,2 +1,4 @@
DIST kate-22.12.3.tar.xz 7888764 BLAKE2B 2f33b4d1e2659ba40239229a4425df3035285cd806a90cdbeeecd205acc9e2101eaf86f515710e3708eb8d46942caf3dc9ffe86620c829c3bbd56826d9aae2f4 SHA512 c89be9f06759ac1cfb74bb095c1d5e7094f03de2c3127fc5eaf126710d8cd0b3f9dc9822e31ddc0eb49686784d8d32db1ecb055ff36e62c0c89db6eb7c2beffc
DIST kate-23.04.0.tar.xz 7984356 BLAKE2B e9d2356dd51233df3a3ba9bbab56f4333ceb34ac252683439ce668e3da725c3cf539d7478dd357c14b99bb5bfdd438eefabe396a6531ec94c7ed96f1f1033a8f SHA512 9d9f117b8fd4c09901af94a46524784fa49fab370ad157fc5c55897ab30d22199817ab1a03df0a8a7f637694eea74abd731a578910c74ff197aadd745866d37a
+DIST kate-23.04.1-cmake.patch.xz 1028 BLAKE2B 076d4bcd8916883ac500ea64609a5c38f08f41a48dcc843419b4484b6e4af4bd268806a107c1c9ba89d5ee2a99663f41f5a8c6746097893cdf4ff0fc2323d32d SHA512 260d8e8349d2bb7bc46d444a122fb91b3e045904eecc76d7efaf73e0ad4cc732d6227785b7fff3a1402c863286be35662617c2d7d8b205f55ff03a01a377ff45
+DIST kate-23.04.1.tar.xz 7984480 BLAKE2B 2a28184a02594817e82a20aebd128c3f1db7f227e70afccebc85976d95284e8da86a2da50a8b48c255768a799ea1d75e96cbd19af716f9a47f8630a6a3c31da5 SHA512 6d104955dc1016f8d13b7c30f25f97834809b880fe8fabaa1f8e68daf43012e2bfc35a0f5ece62c0f9092e4e222fd8ce257c3267da6b4580c4dea80d67df4af4
diff --git a/kde-apps/kwrite/kwrite-23.04.1.ebuild b/kde-apps/kwrite/kwrite-23.04.1.ebuild
new file mode 100644
index 000000000000..96742b197862
--- /dev/null
+++ b/kde-apps/kwrite/kwrite-23.04.1.ebuild
@@ -0,0 +1,63 @@
+# 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/"
+SRC_URI+=" https://dev.gentoo.org/~asturm/distfiles/${KDE_ORG_NAME}-23.04.1-cmake.patch.xz"
+
+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}"
+
+PATCHES=( "${WORKDIR}/${KDE_ORG_NAME}-23.04.1-cmake.patch" ) # KDE-bug 905709
+
+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
+}