packages feed

gtkglext-0.13.1.1: gtkglext.cabal

Name:           gtkglext
Version:        0.13.1.1
License:        LGPL-2.1
License-file:   COPYING
Copyright:      (c) 2001-2010 The Gtk2Hs Team
Author:         Duncan Coutts
Maintainer:     gtk2hs-users@lists.sourceforge.net
Build-Type:     Custom
Cabal-Version:  >= 1.24
Stability:      provisional
homepage:       http://projects.haskell.org/gtk2hs/
bug-reports:    http://hackage.haskell.org/trac/gtk2hs/
Synopsis:       Binding to the GTK+ OpenGL Extension
Description:    GtkGLExt provides the GDK objects to support OpenGL rendering in GTK+,
                and GtkWidget API add-ons to make GTK+ widgets OpenGL-capable.

Category:       Graphics
Tested-With:    GHC == 6.10.4, GHC == 6.12.3, GHC == 7.0.4, GHC == 7.2.1
Extra-Source-Files: hierarchy.list
					
x-Types-File:       Graphics/UI/Gtk/OpenGL/Types.chs
x-Types-ModName:    Graphics.UI.Gtk.OpenGL.Types
x-Types-Forward:    *Graphics.UI.GtkInternals
x-Types-Destructor: objectUnrefFromMainloop
x-Types-Hierarchy:  hierarchy.list

Data-Dir:		demo
Data-Files:		RotatingCube.hs
                Makefile
				
Source-Repository head
  type:         git
  location:     https://github.com/gtk2hs/gtkglext

Flag have-quartz-gtk
  Description: Assume that the installed GTK is the version for OS X backend by Quartz, and hence does not provide gdk_gl_config_get_screen or gdk_gl_config_get_depth
  Default:  False

Flag use-deprecated
  Description: Use functions from gtkglext-1.2.0 (or earlier) which have been deprecated or dropped
  Default: False

custom-setup
  setup-depends: base >= 4.6,
                 Cabal >= 1.24 && < 1.25,
                 gtk2hs-buildtools >= 0.13.1.0 && < 0.14

Library
        build-depends:  base >= 4 && < 5,
                        glib  >= 0.13.3.0 && < 0.14,
                        pango >= 0.13.2.0 && < 0.14,
                        gtk   >= 0.14.3 && < 0.15
        if flag(have-quartz-gtk)
          cpp-options: -DHAVE_QUARTZ_GTK
        if flag(use-deprecated)
          cpp-options:  -DUSE_DEPRECATED_PANGO
        if os(darwin)
          cpp-options: -U__BLOCKS__ -D__attribute__(A)= -D_Nullable= -D_Nonnull=

        build-tools:    gtk2hsC2hs >= 0.13.9,
                        gtk2hsHookGenerator, gtk2hsTypeGen
						
        exposed-modules:
          Graphics.UI.Gtk.OpenGL
          Graphics.UI.Gtk.OpenGL.Config
          Graphics.UI.Gtk.OpenGL.Context
          Graphics.UI.Gtk.OpenGL.Drawable
          Graphics.UI.Gtk.OpenGL.DrawingArea
          Graphics.UI.Gtk.OpenGL.General
          Graphics.UI.Gtk.OpenGL.Pixmap
          Graphics.UI.Gtk.OpenGL.Window
        other-modules:
          Graphics.UI.Gtk.OpenGL.Types          
		  
        default-language:   Haskell2010
        default-extensions: ForeignFunctionInterface
		
        x-c2hs-Header:  gtk/gtkgl.h
        x-Types-Tag: gtkglext
        pkgconfig-depends: gtkglext-1.0 >= 1.0.5