From 32cfc09a0bb09a6780867efc7461bbc706d6b307 Mon Sep 17 00:00:00 2001 From: Jack Todaro Date: Sun, 31 Jul 2022 08:07:42 +1000 Subject: [PATCH] x11-misc/xmobar: add 0.44.1 Closes: https://bugs.gentoo.org/847283 Signed-off-by: Jack Todaro Signed-off-by: Sam James --- x11-misc/xmobar/Manifest | 1 + x11-misc/xmobar/metadata.xml | 31 ++++----- x11-misc/xmobar/xmobar-0.44.1.ebuild | 97 ++++++++++++++++++++++++++++ 3 files changed, 109 insertions(+), 20 deletions(-) create mode 100644 x11-misc/xmobar/xmobar-0.44.1.ebuild diff --git a/x11-misc/xmobar/Manifest b/x11-misc/xmobar/Manifest index 3a0dfd778cd50..840013c22735b 100644 --- a/x11-misc/xmobar/Manifest +++ b/x11-misc/xmobar/Manifest @@ -1 +1,2 @@ DIST xmobar-0.37.tar.gz 139585 BLAKE2B b7f115dc18f1ec6f2dc767c0cf6f4f94a9e3691cd5823302cc033542a10430bd3f29f906c4b1d8705cfae7e999695ac85d03d0c3ecfe4f7efaeac627a5e61d3f SHA512 a2904f3658ea32654ba343cd2c815928900e29e819dbc5ddff931601f42bae244365d2636ffce8b52c4dc57f88f3abebeffc62924fd3b39e197698d7b0da7d5d +DIST xmobar-0.44.1.tar.gz 156756 BLAKE2B bee81627744146989b402ae04d36edb5e4a69686b546457afebad81cda96ece4ce0ace8a2855bd5136610be3fc396c2f62121ea062fffb1ad837145cf3238fdb SHA512 e04f3f9f40ffa4095df2b523916686d93d28b4cbb880f7732cf63d6f1915e721043764b9d723ed8b3c4938c3df749d0e5a9ddb9a9e64a2a015f8f0d6b3f46c97 diff --git a/x11-misc/xmobar/metadata.xml b/x11-misc/xmobar/metadata.xml index 86ecf67faf160..85386171573c6 100644 --- a/x11-misc/xmobar/metadata.xml +++ b/x11-misc/xmobar/metadata.xml @@ -6,25 +6,16 @@ Gentoo Haskell - Use alsa-mixer to get the volume from soundcards - Publish a service on the session bus for controlling xmobar - inotify support (modern Linux only). Required for the Mail and MBox plugins - Support mpd plugin - Enables localized date support - Enables MPRIS v1, v2 support - Reduce process wakekups frequency to decrease CPU usage - Plugin to show UV data for Australia - Enable weather plugin - Wireless info support via nl80211. Required for the Wireless plugin on systems running Linux - Wireless info support via Wext ioctls (deprecated) - Use Xft to render text. UTF-8 support included - Enable usage of xpm for icons + Use alsa-mixer to get the volume from soundcards. + Publish a service on the session bus for controlling xmobar. + MPD support. Needs libmpd installed. + MPRIS v1, v2 support. + Use -with-rtsopts=-V0 to reduce wakeups. + Enables localized date support. + UVMeter only useful to australians. + Enable weather plugin. + Wireless info support via nl80211. Required for the Wireless plugin on systems running Linux, the kernel. + Use Xft to render text. UTF-8 support included. + Enable usage of xpm for icons. - - Xmobar is a minimalistic text based status bar. - - Inspired by the Ion3 status bar, it supports similar - features, like dynamic color management, output templates, - and extensibility through plugins. - diff --git a/x11-misc/xmobar/xmobar-0.44.1.ebuild b/x11-misc/xmobar/xmobar-0.44.1.ebuild new file mode 100644 index 0000000000000..3a1e2ecbeb3f2 --- /dev/null +++ b/x11-misc/xmobar/xmobar-0.44.1.ebuild @@ -0,0 +1,97 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# ebuild generated by hackport 0.7.1.1.9999 +#hackport: flags: -all_extensions,+with_threaded,+with_utf8,-with_iwlib,with_nl80211:wifi,+with_inotify + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="A Minimalistic Text Based Status Bar" +HOMEPAGE="https://codeberg.org/xmobar/xmobar" +SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="alsa dbus mpd mpris +rtsopts timezone uvmeter +weather wifi xft xpm" + +RDEPEND=">=dev-haskell/aeson-1.4.7.1:=[profile?] + dev-haskell/async:=[profile?] + >=dev-haskell/extensible-exceptions-0.1:=[profile?] =dev-haskell/parsec-numbers-0.1.0:=[profile?] + dev-haskell/regex-compat:=[profile?] + >=dev-haskell/stm-2.3:=[profile?] =dev-haskell/utf8-string-0.3:=[profile?] =dev-haskell/x11-1.6.1:=[profile?] + >=dev-lang/ghc-8.4.3:= + x11-libs/libXrandr + x11-libs/libXrender + alsa? ( >=dev-haskell/alsa-core-0.5:=[profile?] =dev-haskell/alsa-mixer-0.3:=[profile?] =dev-haskell/dbus-1:=[profile?] + weather? ( dev-haskell/http-client-tls:=[profile?] + dev-haskell/http-conduit:=[profile?] + dev-haskell/http-types:=[profile?] ) + xpm? ( x11-libs/libXpm ) ) + !dbus? ( !uvmeter? ( weather? ( !xpm? ( dev-haskell/http-client-tls:=[profile?] + dev-haskell/http-conduit:=[profile?] + dev-haskell/http-types:=[profile?] ) ) ) ) + >=dev-haskell/hinotify-0.3:=[profile?] =dev-haskell/libmpd-0.9.2.0:=[profile?] ) + mpris? ( >=dev-haskell/dbus-1:=[profile?] + !dbus? ( !uvmeter? ( weather? ( dev-haskell/http-client-tls:=[profile?] + dev-haskell/http-conduit:=[profile?] + dev-haskell/http-types:=[profile?] ) ) ) + xpm? ( x11-libs/libXpm + weather? ( dev-haskell/http-client-tls:=[profile?] + dev-haskell/http-conduit:=[profile?] + dev-haskell/http-types:=[profile?] ) ) + !xpm? ( uvmeter? ( weather? ( dev-haskell/http-client-tls:=[profile?] ) ) ) ) + !mpris? ( !dbus? ( weather? ( dev-haskell/http-client-tls:=[profile?] ) + xpm? ( x11-libs/libXpm + weather? ( dev-haskell/http-conduit:=[profile?] + dev-haskell/http-types:=[profile?] ) ) ) ) + timezone? ( >=dev-haskell/timezone-olson-0.2:=[profile?] =dev-haskell/timezone-series-0.1:=[profile?] =dev-haskell/cereal-0.5.8.1:=[profile?] + >=dev-haskell/netlink-1.1.1.0:=[profile?] ) + xft? ( >=dev-haskell/x11-xft-0.2:=[profile?]