packages feed

happindicator-0.0.1: happindicator.cabal

Name:           happindicator
Version:        0.0.1
License:        LGPL-2.1
License-file:   COPYING
Copyright:      (c) 2011 the authors
Author:         Andrew Miller; some parts derived from Gtk2hs by Axel Simon, Duncan Coutts and many others
Build-Type:     Custom
Cabal-Version:  >= 1.6.0
Stability:      provisional
Synopsis:       Binding to the appindicator library.
Description: libappindicator is a library for setting up indicator items and menus on indicator panels, as used in the Unity environment in Ubuntu. This binding allows libappindicator to be used from Haskell.
Category:       Graphics
Tested-With:    GHC == 7.0.4
Extra-Source-Files: Gtk2HsSetup.hs
                    marshal.list
                    hierarchy.list
                    appindicator-plus-types.h                    

x-Types-File:       Graphics/UI/AppIndicator/Types.chs
x-Types-ModName:    Graphics.UI.AppIndicator.Types
x-Types-Forward:    *System.Glib.GObject
x-Types-Hierarchy:  hierarchy.list
x-Pkgconfig-Depends: gtk+-2.0 gdk

Data-Dir:       demo
Data-Files:     demos.txt
                
Library
        build-depends:  base >= 4 && < 5,
                        array, containers, haskell98, mtl, bytestring,
                        glib  >= 0.12.0 && < 0.13,
                        gtk   >= 0.12.0 && < 0.13

        build-tools:    gtk2hsC2hs, gtk2hsHookGenerator, gtk2hsTypeGen

        exposed-modules:
          Graphics.UI.AppIndicator
          Graphics.UI.AppIndicator.Enums
          Graphics.UI.AppIndicator.Types
          Graphics.UI.AppIndicator.Signals
          Graphics.UI.AppIndicator.AppIndicator

        extensions:     ForeignFunctionInterface
        x-signals-file:  Graphics/UI/AppIndicator/Signals.chs
        x-signals-modname: Graphics.UI.AppIndicator.Signals
        x-signals-types: marshal.list
        include-dirs:   .
        cpp-options:    -DHAVE_NEW_CONTROL_EXCEPTION -Ilibappindicator-0.1

        if os(windows)
          cpp-options:    -DWIN32
          extra-libraries: kernel32
        x-c2hs-header:  appindicator-plus-types.h

        x-types-tag:     default
        x-types-lib: appindicator
        x-types-prefix: app_indicator

        pkgconfig-depends: appindicator-0.1