File: GLUT.cabal

package info (click to toggle)
haskell-glut 2.4.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,624 kB
  • ctags: 28
  • sloc: haskell: 10,610; ansic: 121; makefile: 2
file content (171 lines) | stat: -rw-r--r-- 5,452 bytes parent folder | download
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
name: GLUT
version: 2.4.0.0
license: BSD3
license-file: LICENSE
maintainer: Jason Dagit <dagitj@gmail.com>
bug-reports: https://github.com/haskell-opengl/GLUT/issues
homepage: http://www.haskell.org/haskellwiki/Opengl
category: Graphics
synopsis: A binding for the OpenGL Utility Toolkit
description:
   A Haskell binding for the OpenGL Utility Toolkit, a window system independent
   toolkit for writing OpenGL programs. For more information about the C library
   on which this binding is based, please see:
   <http://www.opengl.org/resources/libraries/glut/>.
build-type: Simple
cabal-version: >=1.6
extra-source-files:
   README
   examples/BOGLGP/Chapter01/OnYourOwn1.hs
   examples/BOGLGP/Chapter01/Simple.hs
   examples/BOGLGP/Chapter02/OnYourOwn1.hs
   examples/BOGLGP/Chapter02/OpenGLApplication.hs
   examples/BOGLGP/Chapter03/Lines.hs
   examples/BOGLGP/Chapter03/OnYourOwn1.hs
   examples/BOGLGP/Chapter03/Points.hs
   examples/BOGLGP/Chapter03/Polygons.hs
   examples/BOGLGP/Chapter03/TrianglesQuads.hs
   examples/Misc/ARBOcclude.hs
   examples/Misc/ExtractContours.hs
   examples/Misc/Gears.hs
   examples/Misc/Pitfall14.hs
   examples/Misc/SmoothOpenGL3.hs
   examples/Misc/Triangulate.hs
   examples/OrangeBook/3Dlabs-License.txt
   examples/OrangeBook/ogl2brick/Brick.frag
   examples/OrangeBook/ogl2brick/Brick.hs
   examples/OrangeBook/ogl2brick/Brick.vert
   examples/RedBook/00-README
   examples/RedBook/AAIndex.hs
   examples/RedBook/AARGB.hs
   examples/RedBook/AccAnti.hs
   examples/RedBook/AccPersp.hs
   examples/RedBook/Alpha.hs
   examples/RedBook/Alpha3D.hs
   examples/RedBook/BezCurve.hs
   examples/RedBook/BezMesh.hs
   examples/RedBook/BezSurf.hs
   examples/RedBook/BlendEqn.hs
   examples/RedBook/Checker.hs
   examples/RedBook/Clip.hs
   examples/RedBook/ColorMat.hs
   examples/RedBook/ColorMatrix.hs
   examples/RedBook/ColorTable.hs
   examples/RedBook/Combiner.hs
   examples/RedBook/Convolution.hs
   examples/RedBook/Cube.hs
   examples/RedBook/CubeMap.hs
   examples/RedBook/DList.hs
   examples/RedBook/DOF.hs
   examples/RedBook/Data/leeds.bin
   examples/RedBook/Double.hs
   examples/RedBook/DrawF.hs
   examples/RedBook/Feedback.hs
   examples/RedBook/Fog.hs
   examples/RedBook/FogCoord.hs
   examples/RedBook/FogIndex.hs
   examples/RedBook/Font.hs
   examples/RedBook/Hello.hs
   examples/RedBook/Histogram.hs
   examples/RedBook/Image.hs
   examples/RedBook/Light.hs
   examples/RedBook/Lines.hs
   examples/RedBook/MVArray.hs
   examples/RedBook/Material.hs
   examples/RedBook/Minmax.hs
   examples/RedBook/Mipmap.hs
   examples/RedBook/Model.hs
   examples/RedBook/MoveLight.hs
   examples/RedBook/MultiTex.hs
   examples/RedBook/Multisamp.hs
   examples/RedBook/PickDepth.hs
   examples/RedBook/PickSquare.hs
   examples/RedBook/Planet.hs
   examples/RedBook/PointP.hs
   examples/RedBook/PolyOff.hs
   examples/RedBook/Polys.hs
   examples/RedBook/Quadric.hs
   examples/RedBook/ReadImage.hs
   examples/RedBook/Robot.hs
   examples/RedBook/Scene.hs
   examples/RedBook/Select.hs
   examples/RedBook/ShadowMap.hs
   examples/RedBook/Smooth.hs
   examples/RedBook/Stencil.hs
   examples/RedBook/Stroke.hs
   examples/RedBook/SurfPoints.hs
   examples/RedBook/Surface.hs
   examples/RedBook/Teapots.hs
   examples/RedBook/Tess.hs
   examples/RedBook/TessWind.hs
   examples/RedBook/TexBind.hs
   examples/RedBook/TexGen.hs
   examples/RedBook/TexProx.hs
   examples/RedBook/TexSub.hs
   examples/RedBook/Texture3D.hs
   examples/RedBook/TextureSurf.hs
   examples/RedBook/Torus.hs
   examples/RedBook/Trim.hs
   examples/RedBook/UnProject.hs
   examples/RedBook/VArray.hs
   examples/RedBook/Wrap.hs
   include/HsGLUTExt.h

flag split-base

flag UseNativeWindowsLibraries
   description:
      When compiling under Windows, use the native libraries instead of e.g. the
      ones coming with Cygwin.

library
   exposed-modules:
      Graphics.UI.GLUT,
      Graphics.UI.GLUT.Begin,
      Graphics.UI.GLUT.Callbacks,
      Graphics.UI.GLUT.Callbacks.Global,
      Graphics.UI.GLUT.Callbacks.Window,
      Graphics.UI.GLUT.Colormap,
      Graphics.UI.GLUT.Debugging,
      Graphics.UI.GLUT.DeviceControl,
      Graphics.UI.GLUT.Fonts,
      Graphics.UI.GLUT.GameMode,
      Graphics.UI.GLUT.Initialization,
      Graphics.UI.GLUT.Menu,
      Graphics.UI.GLUT.Objects,
      Graphics.UI.GLUT.Overlay,
      Graphics.UI.GLUT.State,
      Graphics.UI.GLUT.Window,
      Graphics.UI.GLUT.Callbacks.Registration,
      Graphics.UI.GLUT.QueryUtils,
      Graphics.UI.GLUT.Raw,
      Graphics.UI.GLUT.Raw.APIEntry,
      Graphics.UI.GLUT.Raw.Callbacks,
      Graphics.UI.GLUT.Raw.Fonts,
      Graphics.UI.GLUT.Raw.Functions,
      Graphics.UI.GLUT.Raw.Tokens,
      Graphics.UI.GLUT.Types
   include-dirs: include
   c-sources:
      cbits/HsGLUT.c
   if flag(split-base)
      build-depends: base >= 3 && < 5, array >= 0.3 && < 0.5, containers >= 0.3 && < 0.6
   else
      build-depends: base < 3
   build-depends: OpenGL == 2.8.*, OpenGLRaw == 1.3.*
   ghc-options: -Wall -O2
   if os(windows) && flag(UseNativeWindowsLibraries)
      cpp-options: "-DCALLCONV=stdcall"
      cc-options: "-DUSE_GETPROCADDRESS"
      extra-libraries: glut32
   else
      cpp-options: "-DCALLCONV=ccall"
      cc-options: "-DUSE_DLSYM"
      if os(darwin)
         frameworks: GLUT
      else
         extra-libraries: glut

source-repository head
  type:     git
  location: https://github.com/haskell-opengl/GLUT