Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/kde:master commit in: kde-plasma/libkworkspace/
Date: Mon, 17 Jan 2022 17:50:04
Message-Id: 1642441599.19fedafe5dab6c2626c7775e3684a67bef9935a5.asturm@gentoo
1 commit: 19fedafe5dab6c2626c7775e3684a67bef9935a5
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jan 17 17:40:43 2022 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 17 17:46:39 2022 +0000
6 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=19fedafe
7
8 kde-plasma/libkworkspace: 5.23.90 version bump
9
10 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
11
12 .../libkworkspace/libkworkspace-5.23.90.ebuild | 55 ++++++++++++++++++++++
13 1 file changed, 55 insertions(+)
14
15 diff --git a/kde-plasma/libkworkspace/libkworkspace-5.23.90.ebuild b/kde-plasma/libkworkspace/libkworkspace-5.23.90.ebuild
16 new file mode 100644
17 index 0000000000..7b3149edc1
18 --- /dev/null
19 +++ b/kde-plasma/libkworkspace/libkworkspace-5.23.90.ebuild
20 @@ -0,0 +1,55 @@
21 +# Copyright 1999-2022 Gentoo Authors
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=8
25 +
26 +ECM_TEST="true"
27 +KDE_ORG_NAME="plasma-workspace"
28 +KFMIN=5.90.0
29 +PVCUT=$(ver_cut 1-3)
30 +QTMIN=5.15.2
31 +inherit ecm kde.org
32 +
33 +DESCRIPTION="Workspace library to interact with the Plasma session manager"
34 +
35 +LICENSE="GPL-2" # TODO: CHECK
36 +SLOT="5"
37 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
38 +IUSE=""
39 +
40 +RDEPEND="
41 + >=dev-qt/qtdbus-${QTMIN}:5
42 + >=dev-qt/qtx11extras-${QTMIN}:5
43 + >=kde-frameworks/kconfig-${KFMIN}:5
44 + >=kde-frameworks/kcoreaddons-${KFMIN}:5
45 + >=kde-frameworks/ki18n-${KFMIN}:5
46 + >=kde-frameworks/kwindowsystem-${KFMIN}:5
47 + >=kde-plasma/kscreenlocker-${PVCUT}:5
48 + x11-libs/libICE
49 + x11-libs/libSM
50 + x11-libs/libX11
51 + x11-libs/libXau
52 +"
53 +DEPEND="${RDEPEND}
54 + >=kde-frameworks/kinit-${KFMIN}:5
55 + >=kde-plasma/kwin-${PVCUT}:5
56 +"
57 +
58 +S="${S}/${PN}"
59 +
60 +src_prepare() {
61 + # delete colliding libkworkspace translations, let ecm_src_prepare do its magic
62 + if [[ ${KDE_BUILD_TYPE} = release ]]; then
63 + find ../po -type f -name "*po" -and -not -name "libkworkspace*" -delete || die
64 + rm -rf po/*/docs || die
65 + cp -a ../po ./ || die
66 + fi
67 +
68 + eapply "${FILESDIR}/${PN}-5.22.80-standalone.patch"
69 + sed -e "/set/s/GENTOO_PV/$(ver_cut 1-3)/" -i CMakeLists.txt || die
70 + cat >> CMakeLists.txt <<- _EOF_ || die
71 + ki18n_install(po)
72 + _EOF_
73 +
74 + ecm_src_prepare
75 +}