summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhaarp <main.haarp@gmail.com>2019-12-21 13:53:17 +0100
committerhaarp <main.haarp@gmail.com>2019-12-21 13:53:17 +0100
commita7d616e5b57d0e3e007751e16c659126ebedd4f4 (patch)
treec0c55b181230f9bde337e8161036bf684390b950 /x11-plugins
parentAdd nvidia-xrun, but barely-tested (diff)
downloadhaarp-a7d616e5b57d0e3e007751e16c659126ebedd4f4.tar.gz
haarp-a7d616e5b57d0e3e007751e16c659126ebedd4f4.tar.bz2
haarp-a7d616e5b57d0e3e007751e16c659126ebedd4f4.zip
What does git want?
Signed-off-by: haarp <main.haarp@gmail.com>
Diffstat (limited to 'x11-plugins')
-rw-r--r--[l---------]x11-plugins/multiload-ng/multiload-ng-9999.ebuild93
1 files changed, 92 insertions, 1 deletions
diff --git a/x11-plugins/multiload-ng/multiload-ng-9999.ebuild b/x11-plugins/multiload-ng/multiload-ng-9999.ebuild
index 109528d..8cab131 120000..100644
--- a/x11-plugins/multiload-ng/multiload-ng-9999.ebuild
+++ b/x11-plugins/multiload-ng/multiload-ng-9999.ebuild
@@ -1 +1,92 @@
-multiload-ng-1.5.2.ebuild \ No newline at end of file
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools eutils
+
+DESCRIPTION="Modern graphical system monitor for XFCE/MATE/LXDE (GNOME applet fork)"
+HOMEPAGE="https://udda.github.io/multiload-ng/"
+
+if [[ ${PV} == 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/udda/multiload-ng.git"
+ KEYWORDS=""
+else
+ SRC_URI="https://github.com/udda/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="autostart awn debug gtk2 +gtk3 indicator lxde mate +standalone systray xfce"
+
+LANGS=" de es fr it lt ru zh_CN"
+IUSE="${IUSE} ${LANGS// / linguas_}"
+
+RDEPEND="
+ gtk2? ( >=x11-libs/gtk+-2.20:2 )
+ gtk3? ( x11-libs/gtk+:3 )
+ x11-libs/cairo:=
+ awn? (
+ >=gnome-extra/avant-window-navigator-0.3.9
+ >=dev-cpp/glibmm-2.16.0:2
+ >=dev-cpp/gtkmm-2.20:2.4
+ )
+ indicator? (
+ gtk2? ( >=dev-libs/libappindicator-0.4.92:2 )
+ gtk3? ( >=dev-libs/libappindicator-0.4.92:3 )
+ )
+ lxde? (
+ >=lxde-base/lxpanel-0.5.8
+ )
+ mate? (
+ gtk2? ( >=mate-base/mate-panel-1.7.0 )
+ gtk3? ( >=mate-base/mate-panel-1.7.0[gtk3(-)] )
+ )
+ xfce? (
+ gtk2? (
+ >=xfce-base/libxfce4util-4.6.0
+ >=xfce-base/xfce4-panel-4.6.0
+ )
+ gtk3? (
+ >=xfce-base/libxfce4util-4.12.0
+ >=xfce-base/xfce4-panel-4.12.0
+ )
+ )"
+
+DEPEND="${RDEPEND}
+ dev-util/intltool
+ sys-devel/gettext
+ virtual/pkgconfig"
+
+REQUIRED_USE="
+ ^^ ( gtk2 gtk3 )
+ || ( awn indicator lxde mate standalone systray xfce )
+ awn? ( gtk2 )"
+
+DOCS=( AUTHORS Changelog.md CONTRIBUTING.md README.md )
+
+src_prepare() {
+ eautoreconf
+
+ eapply_user
+}
+
+src_configure() {
+ if use gtk2; then
+ GTK_CONF="--with-gtk=2.0"
+ else
+ GTK_CONF="--with-gtk=3.0 --disable-deprecations"
+ fi
+ econf \
+ $(use_enable debug) \
+ $(use_enable autostart) \
+ $GTK_CONF \
+ $(use_with standalone) \
+ $(use_with awn) \
+ $(use_with indicator) \
+ $(use_with lxde lxpanel) \
+ $(use_with mate) \
+ $(use_with systray) \
+ $(use_with xfce xfce4)
+}