packages feed

gsmenu-2.1: gsmenu.cabal

name:               gsmenu
version:            2.1
homepage:           http://sigkill.dk/programs/gsmenu
synopsis:           A visual generic menu
description:
    Standalone port of XMonadContrib's GridSelect.
category:           Tools
license:            BSD3
license-file:       LICENSE
author:             Troels Henriksen
maintainer:         athas@sigkill.dk
cabal-version:      >= 1.6
build-type:         Custom

flag use_xft
  description: Use Xft to render text

executable gsmenu
    build-depends: X11>=1.5.0.0 && < 1.6, X11-xshape>=0.1.1, mtl, base==4.*, containers, parsec==3.*, getflag, utf8-string

    if flag(use_xft)
        build-depends: X11-xft >= 0.2
        extensions: ForeignFunctionInterface
        cpp-options: -DXFT
    main-is:            Main.hs
    other-modules:      GSMenu.Config
                        GSMenu.GCCache
                        GSMenu.Pick
                        GSMenu.Font
                        GSMenu.Util

    ghc-options:        -funbox-strict-fields -Wall

    ghc-prof-options:   -prof -auto-all
    extensions:         CPP