Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: kde-plasma/plasma-workspace/
Date: Wed, 13 Oct 2021 07:28:31
Message-Id: 1634109998.8ff1b4ee79f64c0252700adc6455f2974edd2e4c.asturm@gentoo
1 commit: 8ff1b4ee79f64c0252700adc6455f2974edd2e4c
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Wed Oct 13 07:26:38 2021 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Wed Oct 13 07:26:38 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ff1b4ee
7
8 kde-plasma/plasma-workspace: Drop 5.22.5-r1
9
10 Package-Manager: Portage-3.0.28, Repoman-3.0.3
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 .../plasma-workspace-5.22.5-r1.ebuild | 208 ---------------------
14 1 file changed, 208 deletions(-)
15
16 diff --git a/kde-plasma/plasma-workspace/plasma-workspace-5.22.5-r1.ebuild b/kde-plasma/plasma-workspace/plasma-workspace-5.22.5-r1.ebuild
17 deleted file mode 100644
18 index de2f64e8896..00000000000
19 --- a/kde-plasma/plasma-workspace/plasma-workspace-5.22.5-r1.ebuild
20 +++ /dev/null
21 @@ -1,208 +0,0 @@
22 -# Copyright 1999-2021 Gentoo Authors
23 -# Distributed under the terms of the GNU General Public License v2
24 -
25 -EAPI=8
26 -
27 -ECM_HANDBOOK="forceoptional"
28 -ECM_TEST="forceoptional"
29 -KFMIN=5.82.0
30 -PVCUT=$(ver_cut 1-3)
31 -QTMIN=5.15.2
32 -VIRTUALX_REQUIRED="test"
33 -inherit ecm kde.org
34 -
35 -DESCRIPTION="KDE Plasma workspace"
36 -
37 -LICENSE="GPL-2" # TODO: CHECK
38 -SLOT="5"
39 -KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86"
40 -IUSE="appstream +calculator +calendar +fontconfig geolocation gps screencast
41 -+semantic-desktop systemd telemetry"
42 -
43 -REQUIRED_USE="gps? ( geolocation )"
44 -RESTRICT="test"
45 -
46 -COMMON_DEPEND="
47 - >=dev-libs/wayland-1.15
48 - >=dev-qt/qtdbus-${QTMIN}:5
49 - >=dev-qt/qtdeclarative-${QTMIN}:5[widgets]
50 - >=dev-qt/qtgui-${QTMIN}:5=[jpeg,libinput]
51 - >=dev-qt/qtnetwork-${QTMIN}:5
52 - >=dev-qt/qtsql-${QTMIN}:5
53 - >=dev-qt/qtsvg-${QTMIN}:5
54 - >=dev-qt/qtwayland-${QTMIN}:5
55 - >=dev-qt/qtwidgets-${QTMIN}:5
56 - >=dev-qt/qtx11extras-${QTMIN}:5
57 - >=dev-qt/qtxml-${QTMIN}:5
58 - >=kde-frameworks/kactivities-${KFMIN}:5
59 - >=kde-frameworks/kactivities-stats-${KFMIN}:5
60 - >=kde-frameworks/karchive-${KFMIN}:5
61 - >=kde-frameworks/kauth-${KFMIN}:5
62 - >=kde-frameworks/kbookmarks-${KFMIN}:5
63 - >=kde-frameworks/kcompletion-${KFMIN}:5
64 - >=kde-frameworks/kconfig-${KFMIN}:5
65 - >=kde-frameworks/kconfigwidgets-${KFMIN}:5
66 - >=kde-frameworks/kcoreaddons-${KFMIN}:5
67 - >=kde-frameworks/kcrash-${KFMIN}:5
68 - >=kde-frameworks/kdbusaddons-${KFMIN}:5
69 - >=kde-frameworks/kdeclarative-${KFMIN}:5
70 - >=kde-frameworks/kded-${KFMIN}:5
71 - >=kde-frameworks/kglobalaccel-${KFMIN}:5
72 - >=kde-frameworks/kguiaddons-${KFMIN}:5
73 - >=kde-frameworks/ki18n-${KFMIN}:5
74 - >=kde-frameworks/kiconthemes-${KFMIN}:5
75 - >=kde-frameworks/kidletime-${KFMIN}:5
76 - >=kde-frameworks/kinit-${KFMIN}:5
77 - >=kde-frameworks/kio-${KFMIN}:5
78 - >=kde-frameworks/kitemmodels-${KFMIN}:5
79 - >=kde-frameworks/kitemviews-${KFMIN}:5
80 - >=kde-frameworks/kjobwidgets-${KFMIN}:5
81 - >=kde-frameworks/knewstuff-${KFMIN}:5
82 - >=kde-frameworks/knotifications-${KFMIN}:5
83 - >=kde-frameworks/knotifyconfig-${KFMIN}:5
84 - >=kde-frameworks/kpackage-${KFMIN}:5
85 - >=kde-frameworks/kpeople-${KFMIN}:5
86 - >=kde-frameworks/krunner-${KFMIN}:5
87 - >=kde-frameworks/kservice-${KFMIN}:5
88 - >=kde-frameworks/ktexteditor-${KFMIN}:5
89 - >=kde-frameworks/ktextwidgets-${KFMIN}:5
90 - >=kde-frameworks/kunitconversion-${KFMIN}:5
91 - >=kde-frameworks/kwallet-${KFMIN}:5
92 - >=kde-frameworks/kwayland-${KFMIN}:5
93 - >=kde-frameworks/kwidgetsaddons-${KFMIN}:5
94 - >=kde-frameworks/kwindowsystem-${KFMIN}:5
95 - >=kde-frameworks/kxmlgui-${KFMIN}:5
96 - >=kde-frameworks/plasma-${KFMIN}:5
97 - >=kde-frameworks/prison-${KFMIN}:5[qml]
98 - >=kde-frameworks/solid-${KFMIN}:5
99 - >=kde-plasma/breeze-${PVCUT}:5
100 - >=kde-plasma/kscreenlocker-${PVCUT}:5
101 - >=kde-plasma/kwin-${PVCUT}:5
102 - >=kde-plasma/layer-shell-qt-${PVCUT}:5
103 - >=kde-plasma/libkscreen-${PVCUT}:5
104 - >=kde-plasma/libksysguard-${PVCUT}:5
105 - >=kde-plasma/libkworkspace-${PVCUT}:5
106 - >=media-libs/phonon-4.11.0
107 - sys-libs/zlib
108 - x11-libs/libICE
109 - x11-libs/libSM
110 - x11-libs/libX11
111 - x11-libs/libXau
112 - x11-libs/libxcb
113 - x11-libs/libXcursor
114 - x11-libs/libXfixes
115 - x11-libs/libXrender
116 - x11-libs/libXtst
117 - x11-libs/xcb-util
118 - x11-libs/xcb-util-image
119 - appstream? ( dev-libs/appstream[qt5] )
120 - calculator? ( sci-libs/libqalculate:= )
121 - calendar? ( >=kde-frameworks/kholidays-${KFMIN}:5 )
122 - fontconfig? (
123 - >=dev-qt/qtprintsupport-${QTMIN}:5
124 - media-libs/fontconfig
125 - x11-libs/libXft
126 - x11-libs/xcb-util-image
127 - )
128 - geolocation? ( >=kde-frameworks/networkmanager-qt-${KFMIN}:5 )
129 - gps? ( sci-geosciences/gpsd )
130 - screencast? (
131 - >=dev-qt/qtgui-${QTMIN}:5=[egl]
132 - media-libs/libglvnd
133 - >=media-video/pipewire-0.3:=
134 - x11-libs/libdrm
135 - )
136 - semantic-desktop? ( >=kde-frameworks/baloo-${KFMIN}:5 )
137 - telemetry? ( dev-libs/kuserfeedback:5 )
138 -"
139 -DEPEND="${COMMON_DEPEND}
140 - >=dev-libs/plasma-wayland-protocols-1.1.1
141 - >=dev-qt/qtconcurrent-${QTMIN}:5
142 - >=dev-util/wayland-scanner-1.19.0
143 - x11-base/xorg-proto
144 - fontconfig? ( x11-libs/libXrender )
145 -"
146 -RDEPEND="${COMMON_DEPEND}
147 - app-text/iso-codes
148 - >=dev-qt/qdbus-${QTMIN}:5
149 - >=dev-qt/qtgraphicaleffects-${QTMIN}:5
150 - >=dev-qt/qtpaths-${QTMIN}:5
151 - >=dev-qt/qtquickcontrols-${QTMIN}:5[widgets]
152 - >=dev-qt/qtquickcontrols2-${QTMIN}:5
153 - kde-apps/kio-extras:5
154 - >=kde-frameworks/kdesu-${KFMIN}:5
155 - >=kde-frameworks/kirigami-${KFMIN}:5
156 - >=kde-frameworks/kquickcharts-${KFMIN}:5
157 - >=kde-plasma/milou-${PVCUT}:5
158 - >=kde-plasma/plasma-integration-${PVCUT}:5
159 - x11-apps/xmessage
160 - x11-apps/xprop
161 - x11-apps/xrdb
162 - x11-apps/xsetroot
163 - systemd? ( sys-apps/dbus[user-session] )
164 - !systemd? ( sys-apps/dbus )
165 - !<kde-plasma/plasma-desktop-5.21.90:5
166 -"
167 -BDEPEND="virtual/pkgconfig"
168 -PDEPEND=">=kde-plasma/kde-cli-tools-${PVCUT}:5"
169 -
170 -PATCHES=(
171 - "${FILESDIR}/${PN}-5.21.5-split-libkworkspace.patch" # downstream
172 - "${FILESDIR}/${P}-fix-powermanagement-inhibition.patch" # KDE-bug 433675
173 -)
174 -
175 -src_prepare() {
176 - ecm_src_prepare
177 -
178 - cmake_comment_add_subdirectory libkworkspace
179 - # delete colliding libkworkspace translations
180 - if [[ ${KDE_BUILD_TYPE} = release ]]; then
181 - find po -type f -name "*po" -and -name "libkworkspace*" -delete || die
182 - fi
183 -
184 - # TODO: try to get a build switch upstreamed
185 - if ! use screencast; then
186 - sed -e "s/^pkg_check_modules.*PipeWire/#&/" -i CMakeLists.txt || die
187 - fi
188 -
189 - # KDE-bug: 433730
190 - use calculator ||
191 - cmake_run_in runners cmake_comment_add_subdirectory calculator
192 -}
193 -
194 -src_configure() {
195 - local mycmakeargs=(
196 - -DBUILD_xembed-sni-proxy=OFF
197 - -DCMAKE_DISABLE_FIND_PACKAGE_PackageKitQt5=ON
198 - $(cmake_use_find_package appstream AppStreamQt)
199 - $(cmake_use_find_package calendar KF5Holidays)
200 - $(cmake_use_find_package fontconfig Fontconfig)
201 - $(cmake_use_find_package geolocation KF5NetworkManagerQt)
202 - $(cmake_use_find_package semantic-desktop KF5Baloo)
203 - $(cmake_use_find_package telemetry KUserFeedback)
204 - )
205 -
206 - use geolocation && mycmakeargs+=( $(cmake_use_find_package gps libgps) )
207 -
208 - ecm_src_configure
209 -}
210 -
211 -src_install() {
212 - ecm_src_install
213 -
214 - # default startup and shutdown scripts
215 - insinto /etc/xdg/plasma-workspace/env
216 - doins "${FILESDIR}"/10-agent-startup.sh
217 -
218 - insinto /etc/xdg/plasma-workspace/shutdown
219 - doins "${FILESDIR}"/10-agent-shutdown.sh
220 - fperms +x /etc/xdg/plasma-workspace/shutdown/10-agent-shutdown.sh
221 -}
222 -
223 -pkg_postinst () {
224 - ecm_pkg_postinst
225 -
226 - elog "To enable gpg-agent and/or ssh-agent in Plasma sessions,"
227 - elog "edit ${EPREFIX}/etc/xdg/plasma-workspace/env/10-agent-startup.sh"
228 - elog "and ${EPREFIX}/etc/xdg/plasma-workspace/shutdown/10-agent-shutdown.sh"
229 -}