diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2023-06-08 12:32:07 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2023-06-08 13:35:23 +0200 |
commit | f0a56aab42107d52010224ededb7675e68352d33 (patch) | |
tree | 5fa58d888d7448aecf56563f6a1ef73de915987f /kde-apps/kwrite | |
parent | kde-apps/konsole: 23.04.2 version bump (diff) | |
download | gentoo-f0a56aab42107d52010224ededb7675e68352d33.tar.gz gentoo-f0a56aab42107d52010224ededb7675e68352d33.tar.bz2 gentoo-f0a56aab42107d52010224ededb7675e68352d33.zip |
kde-apps/kwrite: 23.04.2 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps/kwrite')
-rw-r--r-- | kde-apps/kwrite/Manifest | 1 | ||||
-rw-r--r-- | kde-apps/kwrite/kwrite-23.04.2.ebuild | 63 |
2 files changed, 64 insertions, 0 deletions
diff --git a/kde-apps/kwrite/Manifest b/kde-apps/kwrite/Manifest index 43a3160628c6..60334fb1c25e 100644 --- a/kde-apps/kwrite/Manifest +++ b/kde-apps/kwrite/Manifest @@ -1,3 +1,4 @@ DIST kate-22.12.3.tar.xz 7888764 BLAKE2B 2f33b4d1e2659ba40239229a4425df3035285cd806a90cdbeeecd205acc9e2101eaf86f515710e3708eb8d46942caf3dc9ffe86620c829c3bbd56826d9aae2f4 SHA512 c89be9f06759ac1cfb74bb095c1d5e7094f03de2c3127fc5eaf126710d8cd0b3f9dc9822e31ddc0eb49686784d8d32db1ecb055ff36e62c0c89db6eb7c2beffc 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 +DIST kate-23.04.2.tar.xz 7985096 BLAKE2B 7878cf4817661fb6cf30dfd1f5633b6d3270b6bd28563cce8d1ad562965e74b1762228b3ea8fc12f39111f5126d393555e780946b1f696ac66080d1ca73f51cc SHA512 6ae2b675415561876aba0a3a0c0244670271a1a97b60013f90ef2eb02904756a22a1b9d8b3286e99ae8bbff1e7323db45c9826ab7478f4819e328e4c51094793 diff --git a/kde-apps/kwrite/kwrite-23.04.2.ebuild b/kde-apps/kwrite/kwrite-23.04.2.ebuild new file mode 100644 index 000000000000..0dbdff824b53 --- /dev/null +++ b/kde-apps/kwrite/kwrite-23.04.2.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.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/" +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 +} |