Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@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 05:09:25
Message-Id: 1618722034.be32b39850c00101b34e8ef8dcf2d6cc7e39bb48.juippis@gentoo
1 commit: be32b39850c00101b34e8ef8dcf2d6cc7e39bb48
2 Author: Jimi Huotari <chiitoo <AT> gentoo <DOT> org>
3 AuthorDate: Fri Apr 16 16:54:08 2021 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Sun Apr 18 05:00:34 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be32b398
7
8 lxqt-base/lxqt-panel: add version 0.17.1
9
10 This switches the default state for the USE-flags 'statusnotifier'
11 and 'tray' according to upstream preference ('tray' is deprecated).
12
13 Package-Manager: Portage-3.0.18, Repoman-3.0.3
14 Signed-off-by: Jimi Huotari <chiitoo <AT> gentoo.org>
15 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
16
17 lxqt-base/lxqt-panel/Manifest | 1 +
18 lxqt-base/lxqt-panel/lxqt-panel-0.17.1.ebuild | 114 ++++++++++++++++++++++++++
19 2 files changed, 115 insertions(+)
20
21 diff --git a/lxqt-base/lxqt-panel/Manifest b/lxqt-base/lxqt-panel/Manifest
22 index 30f7e74384c..8b52ac70416 100644
23 --- a/lxqt-base/lxqt-panel/Manifest
24 +++ b/lxqt-base/lxqt-panel/Manifest
25 @@ -1 +1,2 @@
26 DIST lxqt-panel-0.16.1.tar.xz 473632 BLAKE2B aee19df3cef9dd25b20ae44cdbeb0c017fefc1e7e7f1d350e07820aa2d873a03dfd69a990e99abed95a9c633a6c496bff356fbbcfcc3cebacc50dde52dc79780 SHA512 2db8c4b5d8ddf42b72ffd5863242774277b4bf2fd1ec4393908851ce3224c970de5f12ae61be3dd7008407ea5df7b0b59990b03982e2725ee9a0ce2e3cce48f5
27 +DIST lxqt-panel-0.17.1.tar.xz 510212 BLAKE2B fec84d1758ba1824c5c77ba730040e2d662f97c08b48378acc2efff53237cb993d1543918429224be1e5ba539a8de96b91f3a9ba4e1095fa69fe3c72e26d5156 SHA512 439905144029518e46efdd72eb3db17203678e243ca5f7090bf5db902805deaded41f6c59d02bf538fbf24b7951d6da6a924331c685b69d162812249fb9a4e72
28
29 diff --git a/lxqt-base/lxqt-panel/lxqt-panel-0.17.1.ebuild b/lxqt-base/lxqt-panel/lxqt-panel-0.17.1.ebuild
30 new file mode 100644
31 index 00000000000..8a566cd13e3
32 --- /dev/null
33 +++ b/lxqt-base/lxqt-panel/lxqt-panel-0.17.1.ebuild
34 @@ -0,0 +1,114 @@
35 +# Copyright 1999-2021 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.9.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 +
111 +src_configure() {
112 + local mycmakeargs=(
113 + # Plugins
114 + -DCOLORPICKER_PLUGIN=$(usex colorpicker)
115 + -DCPULOAD_PLUGIN=$(usex cpuload)
116 + -DDESKTOPSWITCH_PLUGIN=$(usex desktopswitch)
117 + -DDIRECTORYMENU_PLUGIN=$(usex directorymenu)
118 + -DDOM_PLUGIN=$(usex dom)
119 + -DKBINDICATOR_PLUGIN=$(usex kbindicator)
120 + -DMAINMENU_PLUGIN=$(usex mainmenu)
121 + -DMOUNT_PLUGIN=$(usex mount)
122 + -DNETWORKMONITOR_PLUGIN=$(usex networkmonitor)
123 + -DQUICKLAUNCH_PLUGIN=$(usex quicklaunch)
124 + -DSENSORS_PLUGIN=$(usex lm-sensors)
125 + -DSHOWDESKTOP_PLUGIN=$(usex showdesktop)
126 + -DSPACER_PLUGIN=$(usex spacer)
127 + -DSTATUSNOTIFIER_PLUGIN=$(usex statusnotifier)
128 + -DSYSSTAT_PLUGIN=$(usex sysstat)
129 + -DTASKBAR_PLUGIN=$(usex taskbar)
130 + -DTRAY_PLUGIN=$(usex tray)
131 + -DVOLUME_PLUGIN=$(usex volume)
132 + -DWORLDCLOCK_PLUGIN=$(usex worldclock)
133 + )
134 +
135 + if use volume; then
136 + mycmakeargs+=(
137 + -DVOLUME_USE_ALSA=$(usex alsa)
138 + -DVOLUME_USE_PULSEAUDIO=$(usex pulseaudio)
139 + )
140 + fi
141 +
142 + cmake_src_configure
143 +}
144 +
145 +src_install() {
146 + cmake_src_install
147 + doman panel/man/*.1
148 +}