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: Wed, 20 May 2020 23:29:00
Message-Id: 1590017311.550f80fbfb30f1b08b679d867a0e4bf4dfb1dda4.asturm@gentoo
1 commit: 550f80fbfb30f1b08b679d867a0e4bf4dfb1dda4
2 Author: Jimi Huotari <chiitoo <AT> gentoo <DOT> org>
3 AuthorDate: Mon Apr 27 18:58:57 2020 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Wed May 20 23:28:31 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=550f80fb
7
8 lxqt-base/lxqt-panel: add version 0.15.1
9
10 USE="sensors" renamed to make use of the global 'lm-sensors' flag.
11
12 Closes: https://bugs.gentoo.org/720716
13 Package-Manager: Portage-2.3.99, Repoman-2.3.22
14 Signed-off-by: Jimi Huotari <chiitoo <AT> gentoo.org>
15 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
16
17 lxqt-base/lxqt-panel/Manifest | 1 +
18 lxqt-base/lxqt-panel/lxqt-panel-0.15.1.ebuild | 116 ++++++++++++++++++++++++++
19 2 files changed, 117 insertions(+)
20
21 diff --git a/lxqt-base/lxqt-panel/Manifest b/lxqt-base/lxqt-panel/Manifest
22 index 0fd084b44ad..f1f45c0d7c1 100644
23 --- a/lxqt-base/lxqt-panel/Manifest
24 +++ b/lxqt-base/lxqt-panel/Manifest
25 @@ -1 +1,2 @@
26 DIST lxqt-panel-0.14.1.tar.xz 439252 BLAKE2B 28172f61cba99450965ca2c1660ca51f268a93ffc32769b270e5c5984b8f3534c3e8736f07334bdec1a1eb408ef35a20bf12de5a445faff161a93efbdacbe51c SHA512 e7cb361a13ac480cda50bc0549d5501f0d4f5bb6c8e257febf81550aaa88c0c55b615762aedb1f03fd654f79efe5aa2590b1dd592f6ae8c7e5a8d08086e0a687
27 +DIST lxqt-panel-0.15.1.tar.xz 473356 BLAKE2B 297e704c51b3c950551fd09012c0aa533fdecf3d46d0f988428ce4100b7936970c5b400c6dc77103e26c07a05d10611fcd921354063cc55252b0a9cb93b0ebe6 SHA512 8eb9856faa2ce56c56df7514772d3ae6d31339a10d16e1ed659be0a2affc57fd16e01e05cb67c4205dfb773234ca9b8a69f414f742ccc30495bf4e2acfa0513f
28
29 diff --git a/lxqt-base/lxqt-panel/lxqt-panel-0.15.1.ebuild b/lxqt-base/lxqt-panel/lxqt-panel-0.15.1.ebuild
30 new file mode 100644
31 index 00000000000..7e0b20dfb8d
32 --- /dev/null
33 +++ b/lxqt-base/lxqt-panel/lxqt-panel-0.15.1.ebuild
34 @@ -0,0 +1,116 @@
35 +# Copyright 1999-2020 Gentoo Authors
36 +# Distributed under the terms of the GNU General Public License v2
37 +
38 +EAPI=7
39 +
40 +inherit cmake
41 +
42 +DESCRIPTION="LXQt desktop panel and plugins"
43 +HOMEPAGE="https://lxqt.github.io/"
44 +
45 +MY_PV="$(ver_cut 1-2)*"
46 +
47 +if [[ ${PV} = *9999* ]]; then
48 + inherit git-r3
49 + EGIT_REPO_URI="https://github.com/lxqt/${PN}.git"
50 +else
51 + SRC_URI="https://github.com/lxqt/${PN}/releases/download/${PV}/${P}.tar.xz"
52 + KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
53 +fi
54 +
55 +LICENSE="LGPL-2.1 LGPL-2.1+"
56 +SLOT="0"
57 +IUSE="+alsa colorpicker cpuload +desktopswitch +directorymenu dom +kbindicator
58 ++mainmenu +mount networkmonitor pulseaudio +quicklaunch lm-sensors +showdesktop
59 ++spacer statusnotifier sysstat +taskbar +tray +volume +worldclock"
60 +
61 +# Work around a missing header issue: https://bugs.gentoo.org/666278
62 +REQUIRED_USE="
63 + || ( desktopswitch mainmenu showdesktop taskbar )
64 + volume? ( || ( alsa pulseaudio ) )
65 +"
66 +
67 +BDEPEND="
68 + dev-qt/linguist-tools:5
69 + >=dev-util/lxqt-build-tools-0.7.0
70 + virtual/pkgconfig
71 +"
72 +DEPEND="
73 + >=dev-libs/libqtxdg-3.3.1
74 + dev-qt/qtcore:5
75 + dev-qt/qtdbus:5
76 + dev-qt/qtgui:5
77 + dev-qt/qtsvg:5
78 + dev-qt/qtwidgets:5
79 + dev-qt/qtx11extras:5
80 + dev-qt/qtxml:5
81 + kde-frameworks/kwindowsystem:5[X]
82 + >=lxde-base/lxmenu-data-0.1.5
83 + >=lxde-base/menu-cache-1.1.0
84 + =lxqt-base/liblxqt-${MY_PV}
85 + =lxqt-base/lxqt-globalkeys-${MY_PV}
86 + x11-libs/libX11
87 + cpuload? ( sys-libs/libstatgrab )
88 + kbindicator? ( x11-libs/libxkbcommon )
89 + lm-sensors? ( sys-apps/lm-sensors )
90 + mount? ( kde-frameworks/solid:5 )
91 + networkmonitor? ( sys-libs/libstatgrab )
92 + statusnotifier? ( dev-libs/libdbusmenu-qt[qt5(+)] )
93 + sysstat? ( >=lxqt-base/libsysstat-0.4.1 )
94 + tray? (
95 + x11-libs/libxcb:=
96 + x11-libs/libXcomposite
97 + x11-libs/libXdamage
98 + x11-libs/libXrender
99 + x11-libs/xcb-util
100 + )
101 + volume? (
102 + alsa? ( media-libs/alsa-lib )
103 + pulseaudio? (
104 + media-sound/pavucontrol-qt
105 + media-sound/pulseaudio
106 + )
107 + )
108 +"
109 +RDEPEND="${DEPEND}
110 + !lxqt-base/lxqt-l10n
111 +"
112 +
113 +src_configure() {
114 + local mycmakeargs=(
115 + # Plugins
116 + -DCOLORPICKER_PLUGIN=$(usex colorpicker)
117 + -DCPULOAD_PLUGIN=$(usex cpuload)
118 + -DDESKTOPSWITCH_PLUGIN=$(usex desktopswitch)
119 + -DDIRECTORYMENU_PLUGIN=$(usex directorymenu)
120 + -DDOM_PLUGIN=$(usex dom)
121 + -DKBINDICATOR_PLUGIN=$(usex kbindicator)
122 + -DMAINMENU_PLUGIN=$(usex mainmenu)
123 + -DMOUNT_PLUGIN=$(usex mount)
124 + -DNETWORKMONITOR_PLUGIN=$(usex networkmonitor)
125 + -DQUICKLAUNCH_PLUGIN=$(usex quicklaunch)
126 + -DSENSORS_PLUGIN=$(usex lm-sensors)
127 + -DSHOWDESKTOP_PLUGIN=$(usex showdesktop)
128 + -DSPACER_PLUGIN=$(usex spacer)
129 + -DSTATUSNOTIFIER_PLUGIN=$(usex statusnotifier)
130 + -DSYSSTAT_PLUGIN=$(usex sysstat)
131 + -DTASKBAR_PLUGIN=$(usex taskbar)
132 + -DTRAY_PLUGIN=$(usex tray)
133 + -DVOLUME_PLUGIN=$(usex volume)
134 + -DWORLDCLOCK_PLUGIN=$(usex worldclock)
135 + )
136 +
137 + if use volume; then
138 + mycmakeargs+=(
139 + -DVOLUME_USE_ALSA=$(usex alsa)
140 + -DVOLUME_USE_PULSEAUDIO=$(usex pulseaudio)
141 + )
142 + fi
143 +
144 + cmake_src_configure
145 +}
146 +
147 +src_install() {
148 + cmake_src_install
149 + doman panel/man/*.1
150 +}