diff options
author | Jimi Huotari <chiitoo@gentoo.org> | 2022-11-09 22:27:40 +0200 |
---|---|---|
committer | Jimi Huotari <chiitoo@gentoo.org> | 2022-11-10 14:55:34 +0200 |
commit | 6a11ff5516b4b02417e6d07e5ab8c6b7f87f1633 (patch) | |
tree | 054e59422c8d655f65c623f2a646985ad4be813d /lxqt-base | |
parent | lxqt-base/lxqt-powermanagement: add version 1.2.0 (diff) | |
download | gentoo-6a11ff5516b4b02417e6d07e5ab8c6b7f87f1633.tar.gz gentoo-6a11ff5516b4b02417e6d07e5ab8c6b7f87f1633.tar.bz2 gentoo-6a11ff5516b4b02417e6d07e5ab8c6b7f87f1633.zip |
lxqt-base/lxqt-panel: add version 1.2.0
Signed-off-by: Jimi Huotari <chiitoo@gentoo.org>
Diffstat (limited to 'lxqt-base')
-rw-r--r-- | lxqt-base/lxqt-panel/Manifest | 1 | ||||
-rw-r--r-- | lxqt-base/lxqt-panel/lxqt-panel-1.2.0.ebuild | 117 |
2 files changed, 118 insertions, 0 deletions
diff --git a/lxqt-base/lxqt-panel/Manifest b/lxqt-base/lxqt-panel/Manifest index 236281b93584..0ef3bdc0aac6 100644 --- a/lxqt-base/lxqt-panel/Manifest +++ b/lxqt-base/lxqt-panel/Manifest @@ -1,3 +1,4 @@ DIST lxqt-panel-0.17.1.tar.xz 510212 BLAKE2B fec84d1758ba1824c5c77ba730040e2d662f97c08b48378acc2efff53237cb993d1543918429224be1e5ba539a8de96b91f3a9ba4e1095fa69fe3c72e26d5156 SHA512 439905144029518e46efdd72eb3db17203678e243ca5f7090bf5db902805deaded41f6c59d02bf538fbf24b7951d6da6a924331c685b69d162812249fb9a4e72 DIST lxqt-panel-1.0.0.tar.xz 539116 BLAKE2B b11a51ad448331bd58c87cdc2596f83a472301981e57f962b9da883cfd2465b024b64932252a3a575af250e37a313dbf1bf36dd52d265272e01c9e60c41456bd SHA512 8ee7593beb5a863f71e6314f03981ef769b6f64605e4212a2b2ae147959bf30d2137415477d6f23afc2591a639c7f21651ac844d95226af18a2d8ae141f29b62 DIST lxqt-panel-1.1.0.tar.xz 555656 BLAKE2B fdc0c6473169cabf6108c13e6994e3d28572b0ca365c62b172c66e948bad4ecbce74623184d614e6dde041b35034b289fe143a3b7db7c7f766fd07616d8bed4d SHA512 d112bb2a251c858f250fec34fab4392b070e5a1128155f1bb8ff1fa1d7189225624b2151b8d4beb19f12548c90b2a5892bd717ab5b8e2928271d2167c62aa053 +DIST lxqt-panel-1.2.0.tar.xz 563852 BLAKE2B 78822e0a268448e0ffabec2a8418d7b72d585a8644cf7f1ee3fcd4aa6723bfd5f158ee38a3facf4410575a918e3cd4c331427d74c961ea2a17497fc464140d5c SHA512 7042cf585c153524aaa43b074f3a9f5c2848e2baf200134ca8194f4ffceda438e55d2cff6cc1c37274b35491234800d728cd89cec89cb42dc914a5bba924f3b6 diff --git a/lxqt-base/lxqt-panel/lxqt-panel-1.2.0.ebuild b/lxqt-base/lxqt-panel/lxqt-panel-1.2.0.ebuild new file mode 100644 index 000000000000..fb2e069bf173 --- /dev/null +++ b/lxqt-base/lxqt-panel/lxqt-panel-1.2.0.ebuild @@ -0,0 +1,117 @@ +# Copyright 1999-2022 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 ~arm ~arm64 ~loong ~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/linguist-tools-5.15:5 + >=dev-util/lxqt-build-tools-0.12.0 + virtual/pkgconfig +" +DEPEND=" + >=dev-libs/libqtxdg-3.10.0 + >=dev-qt/qtcore-5.15:5 + >=dev-qt/qtdbus-5.15:5 + >=dev-qt/qtgui-5.15:5 + >=dev-qt/qtsvg-5.15:5 + >=dev-qt/qtwidgets-5.15:5 + >=dev-qt/qtx11extras-5.15:5 + >=dev-qt/qtxml-5.15:5 + kde-frameworks/kwindowsystem:5[X] + >=lxde-base/lxmenu-data-0.1.5 + >=lxde-base/menu-cache-1.1.0 + =lxqt-base/liblxqt-${MY_PV}*:= + =lxqt-base/lxqt-globalkeys-${MY_PV}* + x11-libs/libX11 + cpuload? ( sys-libs/libstatgrab ) + kbindicator? ( x11-libs/libxkbcommon ) + lm-sensors? ( sys-apps/lm-sensors:= ) + mount? ( kde-frameworks/solid:5 ) + networkmonitor? ( sys-libs/libstatgrab ) + statusnotifier? ( + dev-libs/libdbusmenu-qt[qt5(+)] + >=dev-qt/qtconcurrent-5.15:5 + ) + sysstat? ( >=lxqt-base/libsysstat-0.4.6 ) + tray? ( + x11-libs/libxcb:= + x11-libs/libXcomposite + x11-libs/libXdamage + x11-libs/libXrender + x11-libs/xcb-util + ) + volume? ( + alsa? ( media-libs/alsa-lib ) + pulseaudio? ( + media-sound/pavucontrol-qt + media-sound/pulseaudio + ) + ) +" +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 +} |