diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2023-11-09 10:46:11 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2023-11-09 14:04:55 +0100 |
commit | fcce26ad9174ed47e2798dbc3321061030518639 (patch) | |
tree | f7cac8583c40aaa4189ccdbb3e2860c9ea5d07bf /kde-apps/kwrite | |
parent | kde-apps/konsole: 23.08.3 version bump (diff) | |
download | gentoo-fcce26ad9174ed47e2798dbc3321061030518639.tar.gz gentoo-fcce26ad9174ed47e2798dbc3321061030518639.tar.bz2 gentoo-fcce26ad9174ed47e2798dbc3321061030518639.zip |
kde-apps/kwrite: 23.08.3 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.08.3.ebuild | 60 |
2 files changed, 61 insertions, 0 deletions
diff --git a/kde-apps/kwrite/Manifest b/kde-apps/kwrite/Manifest index a07a6bff11e4..3dbecad944f0 100644 --- a/kde-apps/kwrite/Manifest +++ b/kde-apps/kwrite/Manifest @@ -1,3 +1,4 @@ DIST kate-23.04.1-cmake.patch.xz 1028 BLAKE2B 076d4bcd8916883ac500ea64609a5c38f08f41a48dcc843419b4484b6e4af4bd268806a107c1c9ba89d5ee2a99663f41f5a8c6746097893cdf4ff0fc2323d32d SHA512 260d8e8349d2bb7bc46d444a122fb91b3e045904eecc76d7efaf73e0ad4cc732d6227785b7fff3a1402c863286be35662617c2d7d8b205f55ff03a01a377ff45 DIST kate-23.04.3.tar.xz 7986416 BLAKE2B f819c511f5c11028ad2bba7cf1bc48a8ce817184c763d065e8431c54db9176153187915e90a556e533e49bdb5ab807104e1907ddf63e69f93679b1b92219bf8e SHA512 c472c62387e1594aa5f65d00a82f215254a7ad24993c0bfc9bff50d038887d824aa52b647efbb555c5755c2a1770d5b60454c5e4b39f6dd7d1baf62b5c80d0e2 DIST kate-23.08.2.tar.xz 8037944 BLAKE2B 2ca56e2e775841ebf70ba7f070c602a2caf545f27aed25ab9b2a9c88840dd4c93e6d808d55179f8d8172683d9cbb2ea2bb714bdf72d41c452507b50208504eeb SHA512 f11502aa80d39dd128ae9eeb2535b26f4469a0fb6800e323d20a7077f331e15450dd1bcce08c65dc6a019bbf8c2889a14d812e45964694c0b25f60141f9d1ce4 +DIST kate-23.08.3.tar.xz 8042104 BLAKE2B f9a3046b1e25ceb9bc5dd2ddcd16b1b1cd2b3cdbe42832f7eed7897f52a93ac53f064c72401debf91d494b4fec5ba9dc312738432909d9fa91e452742b811e49 SHA512 da8f06f634c6eac1786921d697320635cbc4bc67be5d026d2a787d5c0856204143694d56835a5e8a46538b50c02edd6dda5d682c3d1e0d4194c179291d779377 diff --git a/kde-apps/kwrite/kwrite-23.08.3.ebuild b/kde-apps/kwrite/kwrite-23.08.3.ebuild new file mode 100644 index 000000000000..e6fefdd94b2c --- /dev/null +++ b/kde-apps/kwrite/kwrite-23.08.3.ebuild @@ -0,0 +1,60 @@ +# 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/" + +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 +} |