commit:     85fecac7a4a2030b5e10ed0f8766bd8b678e4efc
Author:     Jimi Huotari <chiitoo <AT> gentoo <DOT> org>
AuthorDate: Mon May 19 12:41:20 2025 +0000
Commit:     Jimi Huotari <chiitoo <AT> gentoo <DOT> org>
CommitDate: Mon May 19 13:02:43 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85fecac7

lxqt-base/lxqt-panel: add 2.2.1

- The "Show Desktop" plugin works under Wayland compositors that are compatible 
with wlroots.
- Workarounds are added for kwin_wayland's problems with showing desktop.
- The children of a window are minimized with it on kwin_wayland.
- Redundant attention demands (urgency hints) are removed under kwin_wayland.
- A rare DND crash is prevented in Task Manager under Wayland.
- Removed ancient QT_USE_XXXX variables and dropped QTX_LIBRARIES.
- Timezone switching with mouse wheel is made optional in World Clock.
- Added an icon for plugin-sensors.
- Code cleanup.

Signed-off-by: Jimi Huotari <chiitoo <AT> gentoo.org>

 lxqt-base/lxqt-panel/Manifest                |   1 +
 lxqt-base/lxqt-panel/lxqt-panel-2.2.1.ebuild | 118 +++++++++++++++++++++++++++
 2 files changed, 119 insertions(+)

diff --git a/lxqt-base/lxqt-panel/Manifest b/lxqt-base/lxqt-panel/Manifest
index 7229d1a55f90..dca3ce9b3120 100644
--- a/lxqt-base/lxqt-panel/Manifest
+++ b/lxqt-base/lxqt-panel/Manifest
@@ -1,3 +1,4 @@
 DIST lxqt-panel-2.0.1.tar.xz 662616 BLAKE2B 
d27f99e5ba301ad1d03a8e8e4dad939c4f5ba8e7825fe0ac93d8a3b1649f21bd6614d144322b5355112f44f8b8eebf5f9ed3f8e5b4bac85d27530ba02abe0d31
 SHA512 
df2cef5f03f65eb20eaf58cf8dc2f390bc4daa67638e301e0df15c82b8332f842d8e1ee9f1f5bc2240a25ce4b2f404aa7aa69a415a41f5cbb17592f8c77a414e
 DIST lxqt-panel-2.1.4.tar.xz 711304 BLAKE2B 
aba4c662ffbc3d9af8845c1520ec876bbbc40478aa6775e01bca08b3cbf2d82a8ca57e3ca25ae8929b360b3ac9275350c0a6e40047513c720cb89d37d8e6e900
 SHA512 
ccb192ee9e35a397160aae5367dea26ade5bea583e65ee4692a0300bda9fd681e07fcb8b010557bcd2ad208f66c3872b92792ddd837ca995c1e032e3a81efd87
 DIST lxqt-panel-2.2.0.tar.xz 716384 BLAKE2B 
57e155744cb04edb9373527fbc0780f18cd5b631fdbdc1658d891f0bfa204b1df9e383fc9216698087887b651a3f9121e77697b7b2fe6e11b19573a8c4c96b73
 SHA512 
1ab6a061025698c0a9d30c3d2d407a5fdca0eb055d1aa41ab67c5922e1e40a03a3402aed1ed6e766868a0219d3f516363d24e4b45b7f2e3d90b5fbe08bc4e451
+DIST lxqt-panel-2.2.1.tar.xz 717960 BLAKE2B 
6e18e84f91830f5cc2a54cec87a0a1d4f8e8309b1b77bbefa45a6a4300295595893f5e8ce21dddc5438dd001658bfca580e774b68713c46e1aeb0b3d72980dbc
 SHA512 
96bd1352af2de38b41a77f088d7356de5f6b204fd7e81664dc8726ac82877605c1bcf8c0e8f512c115f4982486139ee3e6e27a1421272d7f7d616973784e225b

diff --git a/lxqt-base/lxqt-panel/lxqt-panel-2.2.1.ebuild 
b/lxqt-base/lxqt-panel/lxqt-panel-2.2.1.ebuild
new file mode 100644
index 000000000000..df66b9273aff
--- /dev/null
+++ b/lxqt-base/lxqt-panel/lxqt-panel-2.2.1.ebuild
@@ -0,0 +1,118 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="LXQt desktop panel and plugins"
+HOMEPAGE="https://lxqt-project.org/";
+
+MY_PV="$(ver_cut 1-2)"
+
+if [[ ${PV} == 9999 ]]; then
+       inherit git-r3
+       EGIT_REPO_URI="https://github.com/lxqt/${PN}.git";
+else
+       
SRC_URI="https://github.com/lxqt/${PN}/releases/download/${PV}/${P}.tar.xz";
+       KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
+fi
+
+LICENSE="LGPL-2.1 LGPL-2.1+"
+SLOT="0"
+IUSE="
+       +alsa colorpicker cpuload +desktopswitch +directorymenu dom +kbindicator
+       +mainmenu +mount networkmonitor pulseaudio +quicklaunch lm-sensors 
+showdesktop
+       +spacer +statusnotifier sysstat +taskbar tray +volume +worldclock
+"
+
+# Work around a missing header issue: https://bugs.gentoo.org/666278
+REQUIRED_USE="
+       || ( desktopswitch mainmenu showdesktop taskbar )
+       volume? ( || ( alsa pulseaudio ) )
+"
+
+BDEPEND="
+       >=dev-qt/qttools-6.6:6[linguist]
+       >=dev-util/lxqt-build-tools-2.2.0
+       virtual/pkgconfig
+"
+DEPEND="
+       >=dev-libs/libqtxdg-4.2.0
+       dev-libs/wayland
+       >=dev-qt/qtbase-6.6:6[dbus,gui,widgets,xml]
+       >=dev-qt/qtsvg-6.6:6
+       >=dev-qt/qtwayland-6.6:6
+       kde-frameworks/kwindowsystem:6[X]
+       kde-plasma/layer-shell-qt:6
+       =lxqt-base/liblxqt-${MY_PV}*:=
+       =lxqt-base/lxqt-globalkeys-${MY_PV}*
+       =lxqt-base/lxqt-menu-data-${MY_PV}*
+       x11-libs/libX11
+       cpuload? ( sys-libs/libstatgrab )
+       kbindicator? ( x11-libs/libxkbcommon )
+       lm-sensors? ( sys-apps/lm-sensors:= )
+       mount? ( kde-frameworks/solid:6 )
+       networkmonitor? ( sys-libs/libstatgrab )
+       statusnotifier? (
+               dev-libs/libdbusmenu-lxqt
+               >=dev-qt/qtbase-6.6:6[concurrent]
+       )
+       sysstat? ( >=lxqt-base/libsysstat-1.1.0 )
+       tray? (
+               x11-libs/libxcb:=
+               x11-libs/libXcomposite
+               x11-libs/libXdamage
+               x11-libs/libXrender
+               x11-libs/libXtst
+               x11-libs/xcb-util
+               x11-libs/xcb-util-image
+       )
+       volume? (
+               alsa? ( media-libs/alsa-lib )
+               pulseaudio? (
+                       media-libs/libpulse
+                       media-sound/pavucontrol-qt
+               )
+       )
+"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+       local mycmakeargs=(
+               # Plugins
+               -DCOLORPICKER_PLUGIN=$(usex colorpicker)
+               -DCPULOAD_PLUGIN=$(usex cpuload)
+               -DDESKTOPSWITCH_PLUGIN=$(usex desktopswitch)
+               -DDIRECTORYMENU_PLUGIN=$(usex directorymenu)
+               -DDOM_PLUGIN=$(usex dom)
+               -DKBINDICATOR_PLUGIN=$(usex kbindicator)
+               -DMAINMENU_PLUGIN=$(usex mainmenu)
+               -DMOUNT_PLUGIN=$(usex mount)
+               -DNETWORKMONITOR_PLUGIN=$(usex networkmonitor)
+               -DQUICKLAUNCH_PLUGIN=$(usex quicklaunch)
+               -DSENSORS_PLUGIN=$(usex lm-sensors)
+               -DSHOWDESKTOP_PLUGIN=$(usex showdesktop)
+               -DSPACER_PLUGIN=$(usex spacer)
+               -DSTATUSNOTIFIER_PLUGIN=$(usex statusnotifier)
+               -DSYSSTAT_PLUGIN=$(usex sysstat)
+               -DTASKBAR_PLUGIN=$(usex taskbar)
+               -DTRAY_PLUGIN=$(usex tray)
+               -DVOLUME_PLUGIN=$(usex volume)
+               -DWORLDCLOCK_PLUGIN=$(usex worldclock)
+       )
+
+       if use volume; then
+               mycmakeargs+=(
+                       -DVOLUME_USE_ALSA=$(usex alsa)
+                       -DVOLUME_USE_PULSEAUDIO=$(usex pulseaudio)
+               )
+       fi
+
+       cmake_src_configure
+}
+
+src_install() {
+       cmake_src_install
+       doman panel/man/*.1
+}

Reply via email to