diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2023-09-15 21:12:31 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2023-09-15 22:06:15 +0200 |
commit | e4c0eccc926412f0967bc22901abbd45ee6a35cc (patch) | |
tree | d5a481a4c76f1ea5fe7f4d9194a6ae5192e718e9 /kde-apps/kwrite | |
parent | kde-apps/konsole: 23.08.1 version bump (diff) | |
download | gentoo-e4c0eccc926412f0967bc22901abbd45ee6a35cc.tar.gz gentoo-e4c0eccc926412f0967bc22901abbd45ee6a35cc.tar.bz2 gentoo-e4c0eccc926412f0967bc22901abbd45ee6a35cc.zip |
kde-apps/kwrite: 23.08.1 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.1.ebuild | 60 |
2 files changed, 61 insertions, 0 deletions
diff --git a/kde-apps/kwrite/Manifest b/kde-apps/kwrite/Manifest index 841659998cfe..a64808dbc209 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.0.tar.xz 8032140 BLAKE2B 2f9fb99d78a6559aba3eab6002ac5839d31717c67002b84d145e93b4341179c59c3d7fa913e2f13034daee47a7d0a99087d14374531ce238a456cd87e5628bbd SHA512 6081286c0c6a12b79b8cbc65ca8d73b8181d33dca1745d0199c567f1d23249da786baea7b0bc3d8dd3153782c6eff660b0e57d4bf8ca9aa8fefb016b19deeddd +DIST kate-23.08.1.tar.xz 8032048 BLAKE2B 39598b9a391a31969efafe03283172820a8a56aec4d82d711134ab8f86e9652758166d4a6e3cddc570afb01755a0ca5e83ce4497a78266624f6b01821cec336e SHA512 363bda7d69e1e23f6c0f6a5549cbed5fc3ef56816b22c00832199cd10167743be97fd795bd0b7e2d037bbae28c35d866884b513058232a9f0ea8964bb6778698 diff --git a/kde-apps/kwrite/kwrite-23.08.1.ebuild b/kde-apps/kwrite/kwrite-23.08.1.ebuild new file mode 100644 index 000000000000..e6fefdd94b2c --- /dev/null +++ b/kde-apps/kwrite/kwrite-23.08.1.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 +} |