summaryrefslogtreecommitdiff
path: root/lxqt-base/lxqt-panel
diff options
context:
space:
mode:
Diffstat (limited to 'lxqt-base/lxqt-panel')
-rw-r--r--lxqt-base/lxqt-panel/Manifest1
-rw-r--r--lxqt-base/lxqt-panel/lxqt-panel-0.13.0.ebuild82
2 files changed, 83 insertions, 0 deletions
diff --git a/lxqt-base/lxqt-panel/Manifest b/lxqt-base/lxqt-panel/Manifest
index 78b8c1df..d3cd0e31 100644
--- a/lxqt-base/lxqt-panel/Manifest
+++ b/lxqt-base/lxqt-panel/Manifest
@@ -1 +1,2 @@
DIST lxqt-panel-0.12.0.tar.xz 271840 BLAKE2B ef5a3e4e0f6ee21d84bc09f3c14f917a3e0c5cc8c34bf420190e89f1d55a8b7a2ebf858ebbcf390adff80184dba8f0922e32406724126d92a557fd1482e45c47 SHA512 bf6307b5e2b1f8063a10c50c8cb187ee4bee8f57031228da256ab6e52ce6b2af4fc2e2cba304468e28000c19e8c907a3f45481dc3887ee6cfac0744c13a3eec2
+DIST lxqt-panel-0.13.0.tar.xz 273924 BLAKE2B affed55daf1c0a4bf20faeb35278a7d0c7474e514627d24c33469954bcf57ef2c5ee0ac1346918a3edc58f929f07a923e730d0c8ec1d32eeb3d2af41134beced SHA512 f9ea21a24aa8fc0898c756349256a9a84f4e8469743383ce4372f5ab3719170c84ec731d661f7b3355b7501f16fa862ef9d64b7b346e8abd4cbceb547fcb18e3
diff --git a/lxqt-base/lxqt-panel/lxqt-panel-0.13.0.ebuild b/lxqt-base/lxqt-panel/lxqt-panel-0.13.0.ebuild
new file mode 100644
index 00000000..2828f891
--- /dev/null
+++ b/lxqt-base/lxqt-panel/lxqt-panel-0.13.0.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit cmake-utils
+
+DESCRIPTION="LXQt desktop panel and plugins"
+HOMEPAGE="http://lxqt.org/"
+
+SRC_URI="https://github.com/lxde/${PN}/releases/download/${PV}/${P}.tar.xz"
+KEYWORDS="~amd64"
+
+LICENSE="LGPL-2.1+"
+SLOT="0"
+IUSE="+alsa +clock colorpicker cpuload +desktopswitch dom +kbindicator +mainmenu
+ +mount networkmonitor pulseaudio +quicklaunch sensors +showdesktop
+ statusnotifier sysstat +taskbar +tray +volume worldclock"
+REQUIRED_USE="volume? ( || ( alsa pulseaudio ) )"
+
+CDEPEND="
+ >=dev-libs/glib-2.50.0
+ >=dev-libs/libqtxdg-3.2.0
+ dev-qt/qtcore:5
+ dev-qt/qtdbus:5
+ dev-qt/qtgui:5
+ dev-qt/qtwidgets:5
+ dev-qt/qtx11extras:5
+ dev-qt/qtxml:5
+ kde-frameworks/kguiaddons:5
+ kde-frameworks/kwindowsystem:5[X]
+ >=lxde-base/menu-cache-0.3.3
+ ~lxqt-base/liblxqt-${PV}
+ ~lxqt-base/lxqt-globalkeys-${PV}
+ x11-libs/libX11
+ cpuload? ( sys-libs/libstatgrab )
+ kbindicator? ( x11-libs/libxkbcommon )
+ mount? ( kde-frameworks/solid:5 )
+ networkmonitor? ( sys-libs/libstatgrab )
+ sensors? ( sys-apps/lm_sensors )
+ statusnotifier? ( dev-libs/libdbusmenu-qt[qt5(+)] )
+ sysstat? ( =lxqt-base/libsysstat-0.4* )
+ tray? ( x11-libs/libXcomposite
+ x11-libs/libXdamage
+ x11-libs/libXrender )
+ volume? ( alsa? ( media-libs/alsa-lib )
+ pulseaudio? ( media-sound/pulseaudio ) )"
+DEPEND="${CDEPEND}
+ dev-qt/linguist-tools:5
+ !lxqt-base/lxqt-common"
+RDEPEND="${CDEPEND}
+ dev-qt/qtsvg:5
+ >=lxde-base/lxmenu-data-0.1.2"
+
+src_prepare() {
+ epatch "${FILESDIR}"/lxqt-menu-cleanup.patch
+ cmake-utils_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs i y
+ mycmakeargs=( -DPULL_TRANSLATIONS=OFF )
+ for i in clock colorpicker cpuload desktopswitch dom kbindicator mainmenu mount \
+ networkmonitor quicklaunch sensors showdesktop statusnotifier \
+ sysstat taskbar tray volume worldclock; do
+ #Switch to ^^ when we switch to EAPI=6.
+ #y=${i^^}
+ y=$(tr '[:lower:]' '[:upper:]' <<< "${i}")
+ mycmakeargs+=( $(cmake-utils_use ${i} ${y}_PLUGIN) )
+ done
+
+ if use volume; then
+ mycmakeargs+=( $(cmake-utils_use alsa VOLUME_USE_ALSA)
+ $(cmake-utils_use pulseaudio VOLUME_USE_PULSEAUDIO) )
+ fi
+
+ cmake-utils_src_configure
+}
+
+src_install(){
+ cmake-utils_src_install
+ doman panel/man/*.1
+}