packages feed

aosd-0.1: aosd.cabal

-- aosd.cabal auto-generated by cabal init. For additional options,
-- see
-- http://www.haskell.org/cabal/release/cabal-latest/doc/users-guide/authors.html#pkg-descr.
Name:                aosd
Version:             0.1
Synopsis:            Bindings to libaosd, a library for Cairo-based on-screen displays
Description:         
 <http://www.atheme.org/project/libaosd>
 .
 @An advanced on screen display (OSD) library, which uses Cairo to create high quality rendered graphics to be overlaid on top of the screen.@
 .
 Example:
 .
 @
 &#123;-\# LANGUAGE OverloadedStrings \#-&#125;
 import "Graphics.Aosd.Pango"
 .
 markup = pSized 50 (pUnlines [pItalic \"AOSD\",\"Example\"])
 .
 main = aosdFlash 
 \           defaultOpts 
 \           (textRenderer markup) &#123; alignment = Just AlignCenter, colour = orange &#125; 
 \           (symDurations 3000 3000)
 @

License:             BSD3
License-file:        LICENSE
Author:              Daniel Schüssler
Maintainer:          anotheraddress@gmx.de
-- Copyright:           
Category:            Graphics
Build-type:          Simple
Extra-source-files:  test/test.hs
Cabal-version:       >=1.10

Library
  Default-Extensions: ForeignFunctionInterface
  Exposed-modules: 
    Graphics.Aosd.AOSD_H 
    Graphics.Aosd
    Graphics.Aosd.Pango
  Other-modules:       
    Graphics.Aosd.Util


  Build-depends:       colour, transformers, X11, base >= 4 && < 5, bindings-DSL >= 1.0.11, cairo >= 0.12, pango >= 0.12 
  Build-tools:         hsc2hs
  Pkgconfig-depends:   libaosd, libaosd-text
  Default-language: Haskell2010

Test-Suite test-aosd
    type:       exitcode-stdio-1.0
    hs-source-dirs: test
    main-is:    test.hs
    Build-depends:       colour, base,aosd,pango,language-haskell-extract,template-haskell
    Default-language: Haskell2010
    ghc-options: -threaded