lxqt bump to 0.11.1 (broken manifests will be fixed in next commit)
This commit is contained in:
1
lxqt-base/lxqt-panel/Manifest
Normal file
1
lxqt-base/lxqt-panel/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST lxqt-panel-0.11.0.tar.xz 262964 BLAKE2B 6cbb741731e89dbe99fefc8ceb983e346128a3122507a6816db848c9bed0b8f4f3b5f08e8f7ccd3a1b72ed7161a0772188836bec55610e248c17425f806dec44 SHA512 875ec28868bb68dff8c4e3be0adb5e5c88213f9ebdeb83eb0df9d5c31a7b4cb70a4d9b347f1ed9526a1eef7adb07f92c36263e12a6455291ec7022901abd100c
|
||||
@@ -0,0 +1,32 @@
|
||||
From ec62109e0fa678875a9b10fc6f1975267432712d Mon Sep 17 00:00:00 2001
|
||||
From: Palo Kisa <palo.kisa@gmail.com>
|
||||
Date: Mon, 30 Jan 2017 12:21:10 +0100
|
||||
Subject: [PATCH] plugin-kbindicator: Undef the "explicit" workaround
|
||||
|
||||
..after include and add explanation of the workaround.
|
||||
|
||||
closes lxde/lxqt#1251
|
||||
---
|
||||
plugin-kbindicator/src/x11/kbdlayout.cpp | 7 +++++++
|
||||
1 file changed, 7 insertions(+)
|
||||
|
||||
diff --git a/plugin-kbindicator/src/x11/kbdlayout.cpp b/plugin-kbindicator/src/x11/kbdlayout.cpp
|
||||
index c4aa4e27..883df074 100644
|
||||
--- a/plugin-kbindicator/src/x11/kbdlayout.cpp
|
||||
+++ b/plugin-kbindicator/src/x11/kbdlayout.cpp
|
||||
@@ -33,8 +33,15 @@
|
||||
|
||||
#include <xkbcommon/xkbcommon-x11.h>
|
||||
#include <xcb/xcb.h>
|
||||
+
|
||||
+// Note: We need to override "explicit" as this is a C++ keyword. But it is
|
||||
+// used as variable name in xkb.h. This is causing a failure in C++ compile
|
||||
+// time.
|
||||
+// Similar bug here: https://bugs.freedesktop.org/show_bug.cgi?id=74080
|
||||
#define explicit _explicit
|
||||
#include <xcb/xkb.h>
|
||||
+#undef explicit
|
||||
+
|
||||
#include "../kbdinfo.h"
|
||||
#include "../controls.h"
|
||||
|
||||
99
lxqt-base/lxqt-panel/lxqt-panel-0.11.1.ebuild
Normal file
99
lxqt-base/lxqt-panel/lxqt-panel-0.11.1.ebuild
Normal file
@@ -0,0 +1,99 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="LXQt desktop panel and plugins"
|
||||
HOMEPAGE="https://lxqt.org/"
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/lxqt/${PN}.git"
|
||||
else
|
||||
SRC_URI="https://github.com/lxde/${PN}/releases/download/${PV}/${P}.tar.xz"
|
||||
KEYWORDS="amd64 ~arm ~arm64 x86"
|
||||
fi
|
||||
|
||||
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/libqtxdg-1.0.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.3* )
|
||||
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"
|
||||
RDEPEND="${CDEPEND}
|
||||
dev-qt/qtsvg:5
|
||||
>=lxde-base/lxmenu-data-0.1.2"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-0.11.0-fix-undef-explicit.patch
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DPULL_TRANSLATIONS=OFF
|
||||
|
||||
# Plugins
|
||||
-DCLOCK_PLUGIN=$(usex clock)
|
||||
-DCOLORPICKER_PLUGIN=$(usex colorpicker)
|
||||
-DCPULOAD_PLUGIN=$(usex cpuload)
|
||||
-DDESKTOPSWITCH_PLUGIN=$(usex desktopswitch)
|
||||
-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 sensors)
|
||||
-DSHOWDESKTOP_PLUGIN=$(usex showdesktop)
|
||||
-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-utils_src_configure
|
||||
}
|
||||
|
||||
src_install(){
|
||||
cmake-utils_src_install
|
||||
doman panel/man/*.1
|
||||
}
|
||||
31
lxqt-base/lxqt-panel/metadata.xml
Normal file
31
lxqt-base/lxqt-panel/metadata.xml
Normal file
@@ -0,0 +1,31 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>lxqt@gentoo.org</email>
|
||||
<name>LXQt</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="clock">Build clock plugin</flag>
|
||||
<flag name="colorpicker">Build colorpicker plugin</flag>
|
||||
<flag name="cpuload">Build cpuload plugin</flag>
|
||||
<flag name="desktopswitch">Build desktopswitch plugin</flag>
|
||||
<flag name="dom">Build dom plugin</flag>
|
||||
<flag name="kbindicator">Build kbindicator plugin</flag>
|
||||
<flag name="mainmenu">Build mainmenu plugin</flag>
|
||||
<flag name="mount">Build mount plugin</flag>
|
||||
<flag name="networkmonitor">Build networkmonitor plugin</flag>
|
||||
<flag name="quicklaunch">Build quicklaunch plugin</flag>
|
||||
<flag name="sensors">Build sensors plugin</flag>
|
||||
<flag name="showdesktop">Build showdesktop plugin</flag>
|
||||
<flag name="statusnotifier">Build statusnotifier plugin</flag>
|
||||
<flag name="sysstat">Build sysstat plugin</flag>
|
||||
<flag name="taskbar">Build taskbar plugin</flag>
|
||||
<flag name="tray">Build tray plugin</flag>
|
||||
<flag name="volume">Build volume plugin</flag>
|
||||
<flag name="worldclock">Build worldclock plugin</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<remote-id type="github">lxqt/lxqt-panel</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user