forked from gtk2hs/gtkglext
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gtkglext.cabal
80 lines (68 loc) · 2.8 KB
/
gtkglext.cabal
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
Name: gtkglext
Version: 0.13.2.0
License: LGPL-2.1
License-file: COPYING
Copyright: (c) 2001-2010 The Gtk2Hs Team
Author: Duncan Coutts
Maintainer: [email protected]
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 && < 2.3,
gtk2hs-buildtools >= 0.13.2.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