name: GLURaw
version: 2.0.0.0
synopsis: A raw binding for the OpenGL graphics system
description:
GLURaw is a raw Haskell binding for the GLU 1.3 OpenGL utility library. It is
basically a 1:1 mapping of GLU's C API, intended as a basis for a nicer
interface.
.
OpenGL is the industry's most widely used and supported 2D and 3D graphics
application programming interface (API), incorporating a broad set of
rendering, texture mapping, special effects, and other powerful visualization
functions. For more information about OpenGL and its various extensions,
please see
and .
homepage: http://www.haskell.org/haskellwiki/Opengl
bug-reports: https://github.com/haskell-opengl/GLURaw/issues
copyright: Copyright (C) 2009-2016 Sven Panne
license: BSD3
license-file: LICENSE
author: Sven Panne
maintainer: Sven Panne , Jason Dagit
category: Graphics
build-type: Simple
cabal-version: >= 1.10
extra-source-files:
CHANGELOG.md
README.md
flag UseNativeWindowsLibraries
description:
When compiling under Windows, use the native libraries instead of e.g. the
ones coming with Cygwin.
library
exposed-modules:
Graphics.GLU
Graphics.GLU.Callbacks
Graphics.GLU.Functions
Graphics.GLU.Tokens
Graphics.GLU.Types
other-modules:
Graphics.GLU.TypesInternal
c-sources:
cbits/HsGLURaw.c
hs-source-dirs: src
build-depends:
base >= 4 && < 5,
transformers >= 0.2 && < 0.6,
OpenGLRaw >= 3.0 && < 3.1
default-language: Haskell2010
ghc-options: -Wall
other-extensions:
CPP
PatternSynonyms
ScopedTypeVariables
if os(windows) && flag(UseNativeWindowsLibraries)
if arch(i386)
cpp-options: "-DCALLCONV=stdcall"
else
cpp-options: "-DCALLCONV=ccall"
cc-options: "-DUSE_GETPROCADDRESS"
extra-libraries: glu32
else
cpp-options: "-DCALLCONV=ccall"
cc-options: "-DUSE_DLSYM"
if os(darwin)
frameworks: OpenGL
else
if os(ios)
frameworks: OpenGLES
else
extra-libraries: GLU
source-repository head
type: git
location: https://github.com/haskell-opengl/GLURaw.git