summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaolo Pedroni <paolo.pedroni@iol.it>2015-11-24 12:33:50 +0100
committerPaolo Pedroni <paolo.pedroni@iol.it>2015-11-26 09:20:21 +0100
commitc0e9a5ca56aa7f4a3223d259331c8353c63eaae9 (patch)
treebf227d3504785aa647ca3fbf6723c447d2fd0073
parentlxqt-base/lxqt-openssh-askpass: Version bump to 0.10.0 (diff)
downloadgentoo-c0e9a5ca56aa7f4a3223d259331c8353c63eaae9.tar.gz
gentoo-c0e9a5ca56aa7f4a3223d259331c8353c63eaae9.tar.bz2
gentoo-c0e9a5ca56aa7f4a3223d259331c8353c63eaae9.zip
lxqt-base/lxqt-panel: Version bump to 0.10.0
Thanks to Alpha Bravo <aos@ungwana.de> in bug #564718
-rw-r--r--lxqt-base/lxqt-panel/lxqt-panel-0.10.0.ebuild78
1 files changed, 78 insertions, 0 deletions
diff --git a/lxqt-base/lxqt-panel/lxqt-panel-0.10.0.ebuild b/lxqt-base/lxqt-panel/lxqt-panel-0.10.0.ebuild
new file mode 100644
index 000000000000..51297e1fb505
--- /dev/null
+++ b/lxqt-base/lxqt-panel/lxqt-panel-0.10.0.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit cmake-utils
+
+DESCRIPTION="LXQt desktop panel and plugins"
+HOMEPAGE="http://lxqt.org/"
+
+if [[ ${PV} = *9999* ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="git://git.lxde.org/git/lxde/${PN}.git"
+else
+ SRC_URI="https://downloads.lxqt.org/lxqt/${PV}/${P}.tar.xz"
+ KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+fi
+
+LICENSE="GPL-2 LGPL-2.1+"
+SLOT="0"
+IUSE="+alsa +clock colorpicker cpuload +desktopswitch dom +kbindicator +mainmenu
+ +mount networkmonitor pulseaudio +quicklaunch screensaver sensors
+ +showdesktop statusnotifier sysstat +taskbar +tray +volume worldclock"
+REQUIRED_USE="volume? ( || ( alsa pulseaudio ) )"
+
+DEPEND="
+ dev-libs/glib:2
+ >=dev-libs/libqtxdg-1.0.0
+ dev-qt/linguist-tools:5
+ 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.3* )
+ tray? ( x11-libs/libXcomposite
+ x11-libs/libXdamage
+ x11-libs/libXrender )
+ volume? ( alsa? ( media-libs/alsa-lib )
+ pulseaudio? ( media-sound/pulseaudio ) )"
+RDEPEND="${DEPEND}
+ dev-qt/qtsvg:5
+ >=lxde-base/lxmenu-data-0.1.2"
+
+src_configure() {
+ local mycmakeargs i y
+ for i in clock colorpicker cpuload desktopswitch dom kbindicator mainmenu mount \
+ networkmonitor quicklaunch screensaver sensors showdesktop statusnotifier \
+ sysstat taskbar tray volume worldclock; do
+ 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
+}