|
1 | 1 | name: GLURaw |
2 | 2 | version: 1.4.0.1 |
| 3 | +synopsis: A raw binding for the OpenGL graphics system |
| 4 | +description: |
| 5 | + GLURaw is a raw Haskell binding for the GLU 1.3 OpenGL utility library. It is |
| 6 | + basically a 1:1 mapping of GLU's C API, intended as a basis for a nicer |
| 7 | + interface. |
| 8 | + . |
| 9 | + OpenGL is the industry's most widely used and supported 2D and 3D graphics |
| 10 | + application programming interface (API), incorporating a broad set of |
| 11 | + rendering, texture mapping, special effects, and other powerful visualization |
| 12 | + functions. For more information about OpenGL and its various extensions, |
| 13 | + please see <http://www.opengl.org/> |
| 14 | + and <http://www.opengl.org/registry/>. |
| 15 | +homepage: http://www.haskell.org/haskellwiki/Opengl |
| 16 | +bug-reports: https://github.com/haskell-opengl/GLURaw/issues |
3 | 17 | license: BSD3 |
4 | 18 | license-file: LICENSE |
| 19 | +author: Sven Panne |
5 | 20 | maintainer: Sven Panne < [email protected]>, Jason Dagit < [email protected]> |
6 | | -bug-reports: https://github.com/haskell-opengl/GLURaw/issues |
7 | | -homepage: http://www.haskell.org/haskellwiki/Opengl |
8 | 21 | category: Graphics |
9 | | -synopsis: A raw binding for the OpenGL graphics system |
10 | | -description: |
11 | | - GLURaw is a raw Haskell binding for the GLU 1.3 OpenGL utility library. It is |
12 | | - basically a 1:1 mapping of GLU's C API, intended as a basis for a nicer |
13 | | - interface. |
14 | | - . |
15 | | - OpenGL is the industry's most widely used and supported 2D and 3D graphics |
16 | | - application programming interface (API), incorporating a broad set of |
17 | | - rendering, texture mapping, special effects, and other powerful visualization |
18 | | - functions. For more information about OpenGL and its various extensions, |
19 | | - please see <http://www.opengl.org/> |
20 | | - and <http://www.opengl.org/registry/>. |
21 | 22 | build-type: Simple |
22 | | -cabal-version: >= 1.6 |
| 23 | +cabal-version: >= 1.10 |
23 | 24 | extra-source-files: |
24 | | - README.md |
25 | | - include/HsGLURaw.h |
| 25 | + README.md |
| 26 | + include/HsGLURaw.h |
26 | 27 |
|
27 | 28 | flag UseNativeWindowsLibraries |
28 | | - description: |
29 | | - When compiling under Windows, use the native libraries instead of e.g. the |
30 | | - ones coming with Cygwin. |
| 29 | + description: |
| 30 | + When compiling under Windows, use the native libraries instead of e.g. the |
| 31 | + ones coming with Cygwin. |
31 | 32 |
|
32 | 33 | library |
33 | | - exposed-modules: |
34 | | - Graphics.Rendering.GLU.Raw |
35 | | - Graphics.Rendering.GLU.Raw.Callbacks, |
36 | | - Graphics.Rendering.GLU.Raw.Functions, |
37 | | - Graphics.Rendering.GLU.Raw.Tokens, |
38 | | - Graphics.Rendering.GLU.Raw.Types |
39 | | - other-modules: |
40 | | - Graphics.Rendering.GLU.Raw.APIEntry, |
41 | | - Graphics.Rendering.GLU.Raw.TypesInternal |
42 | | - c-sources: |
43 | | - cbits/HsGLURaw.c |
44 | | - hs-source-dirs: src |
45 | | - include-dirs: include |
46 | | - build-depends: base >= 3 && < 5, OpenGLRaw >= 1.3.0.0 |
47 | | - ghc-options: -Wall -O2 |
48 | | - if os(windows) && flag(UseNativeWindowsLibraries) |
49 | | - if arch(i386) |
50 | | - cpp-options: "-DCALLCONV=stdcall" |
51 | | - else |
52 | | - cpp-options: "-DCALLCONV=ccall" |
53 | | - cc-options: "-DUSE_GETPROCADDRESS" |
54 | | - extra-libraries: glu32 |
55 | | - else |
| 34 | + exposed-modules: |
| 35 | + Graphics.Rendering.GLU.Raw |
| 36 | + Graphics.Rendering.GLU.Raw.Callbacks |
| 37 | + Graphics.Rendering.GLU.Raw.Functions |
| 38 | + Graphics.Rendering.GLU.Raw.Tokens |
| 39 | + Graphics.Rendering.GLU.Raw.Types |
| 40 | + other-modules: |
| 41 | + Graphics.Rendering.GLU.Raw.APIEntry |
| 42 | + Graphics.Rendering.GLU.Raw.TypesInternal |
| 43 | + c-sources: |
| 44 | + cbits/HsGLURaw.c |
| 45 | + hs-source-dirs: src |
| 46 | + include-dirs: include |
| 47 | + build-depends: base >= 3 && < 5, OpenGLRaw >= 1.3.0.0 |
| 48 | + ghc-options: -Wall -O2 |
| 49 | + if os(windows) && flag(UseNativeWindowsLibraries) |
| 50 | + if arch(i386) |
| 51 | + cpp-options: "-DCALLCONV=stdcall" |
| 52 | + else |
56 | 53 | cpp-options: "-DCALLCONV=ccall" |
57 | | - cc-options: "-DUSE_DLSYM" |
58 | | - if os(darwin) |
59 | | - frameworks: OpenGL |
60 | | - else |
61 | | - if os(ios) |
62 | | - frameworks: OpenGLES |
63 | | - else |
64 | | - extra-libraries: GLU |
| 54 | + cc-options: "-DUSE_GETPROCADDRESS" |
| 55 | + extra-libraries: glu32 |
| 56 | + else |
| 57 | + cpp-options: "-DCALLCONV=ccall" |
| 58 | + cc-options: "-DUSE_DLSYM" |
| 59 | + if os(darwin) |
| 60 | + frameworks: OpenGL |
| 61 | + else |
| 62 | + if os(ios) |
| 63 | + frameworks: OpenGLES |
| 64 | + else |
| 65 | + extra-libraries: GLU |
65 | 66 |
|
66 | 67 | source-repository head |
67 | | - type: git |
68 | | - location: https://github.com/haskell-opengl/GLURaw |
| 68 | + type: git |
| 69 | + location: https://github.com/haskell-opengl/GLURaw.git |
0 commit comments