Gentoo Archives: gentoo-commits

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/xmobar/
Date: Wed, 26 Aug 2020 23:25:52
Message-Id: 1598484341.7a4227ea82a8dd25db563eaf7737724295480400.slyfox@gentoo
1 commit: 7a4227ea82a8dd25db563eaf7737724295480400
2 Author: Jack Todaro <solpeth <AT> posteo <DOT> org>
3 AuthorDate: Tue Aug 25 23:19:28 2020 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Wed Aug 26 23:25:41 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a4227ea
7
8 x11-misc/xmobar: bump up to 0.36
9
10 Package-Manager: Portage-3.0.4, Repoman-3.0.1
11 Signed-off-by: Jack Todaro <solpeth <AT> posteo.org>
12 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
13
14 x11-misc/xmobar/Manifest | 1 +
15 x11-misc/xmobar/xmobar-0.36.ebuild | 99 ++++++++++++++++++++++++++++++++++++++
16 2 files changed, 100 insertions(+)
17
18 diff --git a/x11-misc/xmobar/Manifest b/x11-misc/xmobar/Manifest
19 index e67d06ea76c..1efb7834a4b 100644
20 --- a/x11-misc/xmobar/Manifest
21 +++ b/x11-misc/xmobar/Manifest
22 @@ -1,2 +1,3 @@
23 DIST xmobar-0.24.3.tar.gz 100317 BLAKE2B 3ca7aeb977688b975674dc767f645d15aaf296ff906f51d79529ee58d827188437695b4ee0b960563f6c0ce1489baf1f5bdc4360807989277078a93dfafb3ed1 SHA512 aa16d55b16cf108005ee8ec6c3d1b348b3e70a5182cbb97eed2aeb67bed83bee4b23acff6d29d5bda5a30ce35dc87463a6ade6e0814b588f53b173a1c3b5a5b3
24 DIST xmobar-0.35.1.tar.gz 133251 BLAKE2B bebd535f2f29f89131b468e1226a63168321cfdb93129e4e3e6cdf9e2489bf4df6bdc02a5d3f6569d5c35d2cfe1fb05efec73587544c7526bf2f97bfe6a7e1b4 SHA512 fd7bb8710f3c877835aa0b20e0fca227f6f620c0be31acd46e6a464b4ba3f6c7da8df31cd3f345e606b03a54328dd9a298e46e8fc2935e74ebd8c5712cedbf76
25 +DIST xmobar-0.36.tar.gz 136890 BLAKE2B be76faaec78d66b5f0f99542bc59330106c34413c5502f4dbef8dc47647dbf7ebfc94311de965520ca620c8cfbdc1ba68a3eab36da65e476c413ad9f8f4f3695 SHA512 abb7f9cf367fa5c03f5928006fc5f7c38434743350d5f524307b99448cb30436fb44e0c856bd274032a6803f05b64e6d4ac553f51f4bd817efd2861408007c02
26
27 diff --git a/x11-misc/xmobar/xmobar-0.36.ebuild b/x11-misc/xmobar/xmobar-0.36.ebuild
28 new file mode 100644
29 index 00000000000..319433122f0
30 --- /dev/null
31 +++ b/x11-misc/xmobar/xmobar-0.36.ebuild
32 @@ -0,0 +1,99 @@
33 +# Copyright 1999-2020 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +
38 +# ebuild generated by hackport 0.6.6
39 +#hackport: flags: -all_extensions,+with_threaded,+with_utf8,with_iwlib:iwlib,with_alsa:alsa,with_xft:xft,with_datezone:timezone,with_dbus:dbus,with_mpd:mpd,with_inotify:inotify,with_mpris:mpris,with_xpm:xpm,with_nl80211:wifi
40 +
41 +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
42 +inherit haskell-cabal
43 +
44 +DESCRIPTION="A Minimalistic Text Based Status Bar"
45 +HOMEPAGE="https://xmobar.org"
46 +SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
47 +
48 +LICENSE="BSD"
49 +SLOT="0/${PV}"
50 +KEYWORDS="~amd64 ~x86"
51 +IUSE="alsa dbus inotify iwlib mpd mpris +rtsopts timezone uvmeter +weather wifi xft xpm"
52 +
53 +RDEPEND="dev-haskell/async:=[profile?]
54 + >=dev-haskell/extensible-exceptions-0.1:=[profile?] <dev-haskell/extensible-exceptions-0.2:=[profile?]
55 + >=dev-haskell/mtl-2.1:=[profile?] <dev-haskell/mtl-2.3:=[profile?]
56 + dev-haskell/old-locale:=[profile?]
57 + >=dev-haskell/parsec-3.1:=[profile?] <dev-haskell/parsec-3.2:=[profile?]
58 + >=dev-haskell/parsec-numbers-0.1.0:=[profile?]
59 + dev-haskell/regex-compat:=[profile?]
60 + >=dev-haskell/stm-2.3:=[profile?] <dev-haskell/stm-2.6:=[profile?]
61 + >=dev-haskell/utf8-string-0.3:=[profile?] <dev-haskell/utf8-string-1.1:=[profile?]
62 + >=dev-haskell/x11-1.6.1:=[profile?]
63 + >=dev-lang/ghc-8.4.3:=
64 + x11-libs/libXrandr
65 + x11-libs/libXrender
66 + alsa? ( >=dev-haskell/alsa-core-0.5:=[profile?] <dev-haskell/alsa-core-0.6:=[profile?]
67 + >=dev-haskell/alsa-mixer-0.3:=[profile?] <dev-haskell/alsa-mixer-0.4:=[profile?] )
68 + dbus? ( >=dev-haskell/dbus-1:=[profile?]
69 + weather? ( dev-haskell/http-client-tls:=[profile?]
70 + dev-haskell/http-conduit:=[profile?]
71 + dev-haskell/http-types:=[profile?] )
72 + xpm? ( x11-libs/libXpm ) )
73 + !dbus? ( !uvmeter? ( weather? ( !xpm? ( dev-haskell/http-client-tls:=[profile?]
74 + dev-haskell/http-conduit:=[profile?]
75 + dev-haskell/http-types:=[profile?] ) ) ) )
76 + inotify? ( >=dev-haskell/hinotify-0.3:=[profile?] <dev-haskell/hinotify-0.5:=[profile?] )
77 + iwlib? ( >=dev-haskell/iwlib-0.1.0:=[profile?] <dev-haskell/iwlib-0.2:=[profile?]
78 + net-wireless/wireless-tools )
79 + !iwlib? ( wifi? ( >=dev-haskell/cereal-0.5.8.1:=[profile?]
80 + >=dev-haskell/netlink-1.1.1.0:=[profile?] ) )
81 + mpd? ( >=dev-haskell/libmpd-0.9.0.10:=[profile?] )
82 + mpris? ( >=dev-haskell/dbus-1:=[profile?]
83 + !dbus? ( !uvmeter? ( weather? ( dev-haskell/http-client-tls:=[profile?]
84 + dev-haskell/http-conduit:=[profile?]
85 + dev-haskell/http-types:=[profile?] ) ) )
86 + xpm? ( x11-libs/libXpm
87 + weather? ( dev-haskell/http-client-tls:=[profile?]
88 + dev-haskell/http-conduit:=[profile?]
89 + dev-haskell/http-types:=[profile?] ) )
90 + !xpm? ( uvmeter? ( weather? ( dev-haskell/http-client-tls:=[profile?] ) ) ) )
91 + !mpris? ( !dbus? ( weather? ( dev-haskell/http-client-tls:=[profile?] )
92 + xpm? ( x11-libs/libXpm
93 + weather? ( dev-haskell/http-conduit:=[profile?]
94 + dev-haskell/http-types:=[profile?] ) ) ) )
95 + timezone? ( >=dev-haskell/timezone-olson-0.1:=[profile?] <dev-haskell/timezone-olson-0.3:=[profile?]
96 + >=dev-haskell/timezone-series-0.1:=[profile?] <dev-haskell/timezone-series-0.2:=[profile?] )
97 + uvmeter? ( dev-haskell/http-conduit:=[profile?]
98 + dev-haskell/http-types:=[profile?] )
99 + xft? ( >=dev-haskell/x11-xft-0.2:=[profile?] <dev-haskell/x11-xft-0.4:=[profile?] )
100 +"
101 +DEPEND="${RDEPEND}
102 + >=dev-haskell/cabal-2.2.0.1
103 + test? ( >=dev-haskell/hspec-2 <dev-haskell/hspec-3
104 + dev-haskell/temporary )
105 +"
106 +
107 +src_configure() {
108 + haskell-cabal_src_configure \
109 + --flag=-all_extensions \
110 + $(cabal_flag alsa with_alsa) \
111 + $(cabal_flag timezone with_datezone) \
112 + $(cabal_flag dbus with_dbus) \
113 + $(cabal_flag inotify with_inotify) \
114 + $(cabal_flag iwlib with_iwlib) \
115 + $(cabal_flag mpd with_mpd) \
116 + $(cabal_flag mpris with_mpris) \
117 + $(cabal_flag wifi with_nl80211) \
118 + $(cabal_flag rtsopts with_rtsopts) \
119 + --flag=with_threaded \
120 + --flag=with_utf8 \
121 + $(cabal_flag uvmeter with_uvmeter) \
122 + $(cabal_flag weather with_weather) \
123 + $(cabal_flag xft with_xft) \
124 + $(cabal_flag xpm with_xpm)
125 +}
126 +
127 +src_install() {
128 + cabal_src_install
129 +
130 + dodoc examples/xmobar.config examples/xmobar.hs readme.md changelog.md
131 +}