summaryrefslogtreecommitdiffstats
path: root/phi.cabal
blob: 2938ee62727cde6701f988ea9209710ae272025f (plain)
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
cabal-version:       >= 1.8
name:                phi
version:             0.1
synopsis:            An X panel
description:         An X panel
category:            X11
license:             BSD3
license-file:        LICENSE
author:              Matthias Schiffer
maintainer:          mschiffer@universe-factory.net
build-type:          Simple


library
  build-depends:     base >= 4, template-haskell, stm, array, containers, transformers, mtl, utf8-string, time, old-locale, xhb >= 0.5, xhb-xcb,
                     cairo, pango, unix, data-accessor, arrows, CacheArrow
  exposed-modules:   Phi.Types, Phi.Phi, Phi.Panel, Phi.Widget, Phi.Border, Phi.X11
                     Phi.Widgets.AlphaBox, Phi.Widgets.Clock, Phi.Widgets.X11.Taskbar
		     -- , Phi.Widgets.Systray
  other-modules:     Phi.X11.AtomList, Phi.Bindings.Cairo, Phi.X11.Atoms, Phi.X11.Util
  include-dirs:      include
  hs-source-dirs:    lib
  pkgconfig-depends: cairo >= 1.2.0, cairo-xcb
  ghc-options:       -fspec-constr-count=16 -threaded

executable phi-systray-helper
  build-depends:     base >= 4, template-haskell, mtl, xhb >= 0.5, xhb-xcb
  hs-source-dirs:    src, lib
  main-is:           SystrayHelper.hs
  other-modules:     Phi.X11.AtomList, Phi.X11.Atoms, Phi.X11.Util
  ghc-options:       -threaded

executable phi
  build-depends:     base >= 4, phi
  hs-source-dirs:    src
  main-is:           Phi.hs
  ghc-options:       -threaded