-
-
Notifications
You must be signed in to change notification settings - Fork 20
/
xmonad-extras.cabal
107 lines (83 loc) · 3.34 KB
/
xmonad-extras.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
name: xmonad-extras
version: 0.17.2
homepage: https://github.com/xmonad/xmonad-extras
synopsis: Third party extensions for xmonad with wacky dependencies
description: Various modules for xmonad that cannot be added to xmonad-contrib
because of additional dependencies.
category: System
license: BSD3
license-file: LICENSE
author: The Daniels Schoepe and Wagner
cabal-version: >= 1.10
build-type: Simple
extra-source-files: README.md, CHANGELOG.md
flag with_sound
description: Build modules depending on the alsa-mixer package
flag with_hint
description: Build modules depending on hint(for evaluating Haskell expressions at runtime).
flag with_mpd
description: Build modules depending on libmpd.
flag with_hlist
description: Build modules depending on HList.
default: False
flag with_regex_posix
description: Build modules depending on posix-regex.
flag with_template_haskell
description: Build modules depending on template haskell.
flag with_dbus
description: Build modules depending on dbus.
flag with_brightness
description: Build module for brightness control.
default: True
flag testing
description: Testing mode
default: False
library
build-depends: base < 5, mtl, containers, X11>=1.4.3, xmonad>=0.10, xmonad-contrib>=0.10
default-language: Haskell2010
ghc-options: -fwarn-tabs -Wall -fno-warn-unused-do-bind
-- Upload blocked by this: https://github.com/haskell/cabal/issues/2527
-- Uncomment when it's fixed
-- if flag(testing)
-- ghc-options: -Werror
if flag(with_sound)
build-depends: alsa-mixer >= 0.3
exposed-modules: XMonad.Actions.Volume
if flag(with_hint)
build-depends: hint >= 0.3.3.3 && < 0.10, network
exposed-modules: XMonad.Actions.Eval XMonad.Prompt.Eval
-- XMonad.Hooks.EvalServer
if flag(with_mpd)
build-depends: libmpd >= 0.9, bytestring >= 0.9 && < 0.12
exposed-modules: XMonad.Prompt.MPD
if flag(with_regex_posix)
build-depends: regex-posix
exposed-modules: XMonad.Util.WindowPropertiesRE
if flag(with_brightness)
build-depends: bytestring >= 0.9 && < 0.12
exposed-modules: XMonad.Util.Brightness
if flag(with_template_haskell) && flag(with_hlist)
build-depends: template-haskell, HList >= 0.4 && < 0.5
exposed-modules: XMonad.Config.Alt
XMonad.Config.Alt.Desktop
XMonad.Config.Alt.Sample1
XMonad.Config.Alt.Internal
XMonad.Config.Alt.QQ
other-modules: XMonad.Config.Alt.Types
if flag(with_dbus)
build-depends: dbus >= 1.2 && < 1.4
exposed-modules: XMonad.Actions.Invert
exposed-modules: XMonad.Hooks.PerWindowKbdLayout
-- executable xmonadcmd
-- main-is: XMonadCmd.hs
-- build-depends: mtl, unix, X11>=1.4.3, xmonad>=0.9 && <1.0, xmonad-contrib>=0.9 && <1.0
-- ghc-options: -Wall
-- if !flag(with_hint)
-- Buildable: False
--
-- if flag(with_hint)
-- build-depends: network
--
-- if flag(testing)
-- ghc-options: -Werror