summaryrefslogtreecommitdiffstats
path: root/phi.cabal
blob: 0070ea58312d09d4cd13ecf7cf6e3887df5f46b1 (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,
                     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.XCB, Phi.X11.Atoms, Phi.X11.Util
  include-dirs:      include
  hs-source-dirs:    lib
  pkgconfig-depends: xcb, cairo >= 1.2.0, cairo-xcb
  ghc-options:       -fspec-constr-count=16 -threaded

executable PhiSystrayHelper
  build-depends:     base >= 4, template-haskell, xhb
  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