Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: lxqt-base/lxqt-panel/
Date: Sun, 18 Apr 2021 12:11:13
Message-Id: 1618747789.98f0c3f6721d9b0873e76d76a5febd02e190cb12.asturm@gentoo
1 commit: 98f0c3f6721d9b0873e76d76a5febd02e190cb12
2 Author: Jimi Huotari <chiitoo <AT> gentoo <DOT> org>
3 AuthorDate: Sun Apr 18 10:49:50 2021 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sun Apr 18 12:09:49 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98f0c3f6
7
8 lxqt-base/lxqt-panel: add a missing dependency for statusnotifier
9
10 Closes: https://bugs.gentoo.org/783663
11 Package-Manager: Portage-3.0.18, Repoman-3.0.3
12 Signed-off-by: Jimi Huotari <chiitoo <AT> gentoo.org>
13 Closes: https://github.com/gentoo/gentoo/pull/20439
14 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
15
16 lxqt-base/lxqt-panel/lxqt-panel-0.16.1-r1.ebuild | 119 +++++++++++++++++++++++
17 lxqt-base/lxqt-panel/lxqt-panel-0.17.1-r1.ebuild | 117 ++++++++++++++++++++++
18 2 files changed, 236 insertions(+)
19
20 diff --git a/lxqt-base/lxqt-panel/lxqt-panel-0.16.1-r1.ebuild b/lxqt-base/lxqt-panel/lxqt-panel-0.16.1-r1.ebuild
21 new file mode 100644
22 index 00000000000..0b174168829
23 --- /dev/null
24 +++ b/lxqt-base/lxqt-panel/lxqt-panel-0.16.1-r1.ebuild
25 @@ -0,0 +1,119 @@
26 +# Copyright 1999-2021 Gentoo Authors
27 +# Distributed under the terms of the GNU General Public License v2
28 +
29 +EAPI=7
30 +
31 +inherit cmake
32 +
33 +DESCRIPTION="LXQt desktop panel and plugins"
34 +HOMEPAGE="https://lxqt.github.io/"
35 +
36 +MY_PV="$(ver_cut 1-2)*"
37 +
38 +if [[ ${PV} = *9999* ]]; then
39 + inherit git-r3
40 + EGIT_REPO_URI="https://github.com/lxqt/${PN}.git"
41 +else
42 + SRC_URI="https://github.com/lxqt/${PN}/releases/download/${PV}/${P}.tar.xz"
43 + KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86"
44 +fi
45 +
46 +LICENSE="LGPL-2.1 LGPL-2.1+"
47 +SLOT="0"
48 +IUSE="+alsa colorpicker cpuload +desktopswitch +directorymenu dom +kbindicator
49 ++mainmenu +mount networkmonitor pulseaudio +quicklaunch lm-sensors +showdesktop
50 ++spacer statusnotifier sysstat +taskbar +tray +volume +worldclock"
51 +
52 +# Work around a missing header issue: https://bugs.gentoo.org/666278
53 +REQUIRED_USE="
54 + || ( desktopswitch mainmenu showdesktop taskbar )
55 + volume? ( || ( alsa pulseaudio ) )
56 +"
57 +
58 +BDEPEND="
59 + dev-qt/linguist-tools:5
60 + >=dev-util/lxqt-build-tools-0.8.0
61 + virtual/pkgconfig
62 +"
63 +DEPEND="
64 + >=dev-libs/libqtxdg-3.3.1
65 + dev-qt/qtcore:5
66 + dev-qt/qtdbus:5
67 + dev-qt/qtgui:5
68 + dev-qt/qtsvg:5
69 + dev-qt/qtwidgets:5
70 + dev-qt/qtx11extras:5
71 + dev-qt/qtxml:5
72 + kde-frameworks/kwindowsystem:5[X]
73 + >=lxde-base/lxmenu-data-0.1.5
74 + >=lxde-base/menu-cache-1.1.0
75 + =lxqt-base/liblxqt-${MY_PV}
76 + =lxqt-base/lxqt-globalkeys-${MY_PV}
77 + x11-libs/libX11
78 + cpuload? ( sys-libs/libstatgrab )
79 + kbindicator? ( x11-libs/libxkbcommon )
80 + lm-sensors? ( sys-apps/lm-sensors )
81 + mount? ( kde-frameworks/solid:5 )
82 + networkmonitor? ( sys-libs/libstatgrab )
83 + statusnotifier? (
84 + dev-libs/libdbusmenu-qt[qt5(+)]
85 + dev-qt/qtconcurrent:5
86 + )
87 + sysstat? ( >=lxqt-base/libsysstat-0.4.1 )
88 + tray? (
89 + x11-libs/libxcb:=
90 + x11-libs/libXcomposite
91 + x11-libs/libXdamage
92 + x11-libs/libXrender
93 + x11-libs/xcb-util
94 + )
95 + volume? (
96 + alsa? ( media-libs/alsa-lib )
97 + pulseaudio? (
98 + media-sound/pavucontrol-qt
99 + media-sound/pulseaudio
100 + )
101 + )
102 +"
103 +RDEPEND="${DEPEND}
104 + !lxqt-base/lxqt-l10n
105 +"
106 +
107 +src_configure() {
108 + local mycmakeargs=(
109 + # Plugins
110 + -DCOLORPICKER_PLUGIN=$(usex colorpicker)
111 + -DCPULOAD_PLUGIN=$(usex cpuload)
112 + -DDESKTOPSWITCH_PLUGIN=$(usex desktopswitch)
113 + -DDIRECTORYMENU_PLUGIN=$(usex directorymenu)
114 + -DDOM_PLUGIN=$(usex dom)
115 + -DKBINDICATOR_PLUGIN=$(usex kbindicator)
116 + -DMAINMENU_PLUGIN=$(usex mainmenu)
117 + -DMOUNT_PLUGIN=$(usex mount)
118 + -DNETWORKMONITOR_PLUGIN=$(usex networkmonitor)
119 + -DQUICKLAUNCH_PLUGIN=$(usex quicklaunch)
120 + -DSENSORS_PLUGIN=$(usex lm-sensors)
121 + -DSHOWDESKTOP_PLUGIN=$(usex showdesktop)
122 + -DSPACER_PLUGIN=$(usex spacer)
123 + -DSTATUSNOTIFIER_PLUGIN=$(usex statusnotifier)
124 + -DSYSSTAT_PLUGIN=$(usex sysstat)
125 + -DTASKBAR_PLUGIN=$(usex taskbar)
126 + -DTRAY_PLUGIN=$(usex tray)
127 + -DVOLUME_PLUGIN=$(usex volume)
128 + -DWORLDCLOCK_PLUGIN=$(usex worldclock)
129 + )
130 +
131 + if use volume; then
132 + mycmakeargs+=(
133 + -DVOLUME_USE_ALSA=$(usex alsa)
134 + -DVOLUME_USE_PULSEAUDIO=$(usex pulseaudio)
135 + )
136 + fi
137 +
138 + cmake_src_configure
139 +}
140 +
141 +src_install() {
142 + cmake_src_install
143 + doman panel/man/*.1
144 +}
145
146 diff --git a/lxqt-base/lxqt-panel/lxqt-panel-0.17.1-r1.ebuild b/lxqt-base/lxqt-panel/lxqt-panel-0.17.1-r1.ebuild
147 new file mode 100644
148 index 00000000000..8295b77a477
149 --- /dev/null
150 +++ b/lxqt-base/lxqt-panel/lxqt-panel-0.17.1-r1.ebuild
151 @@ -0,0 +1,117 @@
152 +# Copyright 1999-2021 Gentoo Authors
153 +# Distributed under the terms of the GNU General Public License v2
154 +
155 +EAPI=7
156 +
157 +inherit cmake
158 +
159 +DESCRIPTION="LXQt desktop panel and plugins"
160 +HOMEPAGE="https://lxqt.github.io/"
161 +
162 +MY_PV="$(ver_cut 1-2)*"
163 +
164 +if [[ ${PV} = *9999* ]]; then
165 + inherit git-r3
166 + EGIT_REPO_URI="https://github.com/lxqt/${PN}.git"
167 +else
168 + SRC_URI="https://github.com/lxqt/${PN}/releases/download/${PV}/${P}.tar.xz"
169 + KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
170 +fi
171 +
172 +LICENSE="LGPL-2.1 LGPL-2.1+"
173 +SLOT="0"
174 +IUSE="+alsa colorpicker cpuload +desktopswitch +directorymenu dom +kbindicator
175 ++mainmenu +mount networkmonitor pulseaudio +quicklaunch lm-sensors +showdesktop
176 ++spacer +statusnotifier sysstat +taskbar tray +volume +worldclock"
177 +
178 +# Work around a missing header issue: https://bugs.gentoo.org/666278
179 +REQUIRED_USE="
180 + || ( desktopswitch mainmenu showdesktop taskbar )
181 + volume? ( || ( alsa pulseaudio ) )
182 +"
183 +
184 +BDEPEND="
185 + dev-qt/linguist-tools:5
186 + >=dev-util/lxqt-build-tools-0.9.0
187 + virtual/pkgconfig
188 +"
189 +DEPEND="
190 + >=dev-libs/libqtxdg-3.3.1
191 + dev-qt/qtcore:5
192 + dev-qt/qtdbus:5
193 + dev-qt/qtgui:5
194 + dev-qt/qtsvg:5
195 + dev-qt/qtwidgets:5
196 + dev-qt/qtx11extras:5
197 + dev-qt/qtxml:5
198 + kde-frameworks/kwindowsystem:5[X]
199 + >=lxde-base/lxmenu-data-0.1.5
200 + >=lxde-base/menu-cache-1.1.0
201 + =lxqt-base/liblxqt-${MY_PV}
202 + =lxqt-base/lxqt-globalkeys-${MY_PV}
203 + x11-libs/libX11
204 + cpuload? ( sys-libs/libstatgrab )
205 + kbindicator? ( x11-libs/libxkbcommon )
206 + lm-sensors? ( sys-apps/lm-sensors )
207 + mount? ( kde-frameworks/solid:5 )
208 + networkmonitor? ( sys-libs/libstatgrab )
209 + statusnotifier? (
210 + dev-libs/libdbusmenu-qt[qt5(+)]
211 + dev-qt/qtconcurrent:5
212 + )
213 + sysstat? ( >=lxqt-base/libsysstat-0.4.1 )
214 + tray? (
215 + x11-libs/libxcb:=
216 + x11-libs/libXcomposite
217 + x11-libs/libXdamage
218 + x11-libs/libXrender
219 + x11-libs/xcb-util
220 + )
221 + volume? (
222 + alsa? ( media-libs/alsa-lib )
223 + pulseaudio? (
224 + media-sound/pavucontrol-qt
225 + media-sound/pulseaudio
226 + )
227 + )
228 +"
229 +RDEPEND="${DEPEND}"
230 +
231 +src_configure() {
232 + local mycmakeargs=(
233 + # Plugins
234 + -DCOLORPICKER_PLUGIN=$(usex colorpicker)
235 + -DCPULOAD_PLUGIN=$(usex cpuload)
236 + -DDESKTOPSWITCH_PLUGIN=$(usex desktopswitch)
237 + -DDIRECTORYMENU_PLUGIN=$(usex directorymenu)
238 + -DDOM_PLUGIN=$(usex dom)
239 + -DKBINDICATOR_PLUGIN=$(usex kbindicator)
240 + -DMAINMENU_PLUGIN=$(usex mainmenu)
241 + -DMOUNT_PLUGIN=$(usex mount)
242 + -DNETWORKMONITOR_PLUGIN=$(usex networkmonitor)
243 + -DQUICKLAUNCH_PLUGIN=$(usex quicklaunch)
244 + -DSENSORS_PLUGIN=$(usex lm-sensors)
245 + -DSHOWDESKTOP_PLUGIN=$(usex showdesktop)
246 + -DSPACER_PLUGIN=$(usex spacer)
247 + -DSTATUSNOTIFIER_PLUGIN=$(usex statusnotifier)
248 + -DSYSSTAT_PLUGIN=$(usex sysstat)
249 + -DTASKBAR_PLUGIN=$(usex taskbar)
250 + -DTRAY_PLUGIN=$(usex tray)
251 + -DVOLUME_PLUGIN=$(usex volume)
252 + -DWORLDCLOCK_PLUGIN=$(usex worldclock)
253 + )
254 +
255 + if use volume; then
256 + mycmakeargs+=(
257 + -DVOLUME_USE_ALSA=$(usex alsa)
258 + -DVOLUME_USE_PULSEAUDIO=$(usex pulseaudio)
259 + )
260 + fi
261 +
262 + cmake_src_configure
263 +}
264 +
265 +src_install() {
266 + cmake_src_install
267 + doman panel/man/*.1
268 +}