The sdl2 package

[Tags:bsd3, library]

This package contains bindings to the SDL 2 library, in both high- and low-level forms:

The SDL namespace contains high-level bindings, where enumerations are split into sum types, and we perform automatic error-checking.

The SDL.Raw namespace contains an almost 1-1 translation of the C API into Haskell FFI calls. As such, this does not contain sum types nor error checking. Thus this namespace is suitable for building your own abstraction over SDL, but is not recommended for day-to-day programming.

Properties

Versions 1.0.0, 1.0.1, 1.0.2, 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.2.0, 1.3.0, 1.3.1, 2.0.0, 2.1.0, 2.1.1, 2.1.2, 2.1.2.1, 2.1.3, 2.1.3.1, 2.2.0, 2.3.0
Change log ChangeLog.md
Dependencies base (>=4.7 && <5), bytestring (>=0.10.4.0 && <0.11), exceptions (>=0.4 && <0.9), linear (>=1.10.1.2 && <1.21), OpenGL, sdl2, StateVar (>=1.1.0.0 && <1.2), text (>=1.1.0.0 && <1.3), transformers (>=0.2 && <0.6), vector (>=0.10.9.0 && <0.13) [details]
License BSD3
Copyright Copyright © 2013-2017 Gabríel Arthúr Pétursson
Author Gabríel Arthúr Pétursson, Oliver Charles
Maintainer gabriel@system.is, ollie@ocharles.org.uk
Category Graphics
Source repository head: git clone https://github.com/haskell-game/sdl2.git
Uploaded Wed Aug 16 15:56:38 UTC 2017 by OliverCharles
Distributions LTSHaskell:2.2.0, NixOS:2.2.0, Stackage:2.2.0, Tumbleweed:2.2.0
Downloads 6799 total (89 in the last 30 days)
Votes
5 []
Status Docs not available [build log]
All reported builds failed as of 2017-08-16 [all 3 reports]
Hackage Matrix CI

Modules

  • SDL
    • SDL.Audio
    • SDL.Event
    • SDL.Exception
    • SDL.Filesystem
    • SDL.Hint
    • SDL.Init
    • SDL.Input
      • SDL.Input.GameController
      • SDL.Input.Joystick
      • SDL.Input.Keyboard
        • SDL.Input.Keyboard.Codes
      • SDL.Input.Mouse
    • Internal
      • SDL.Internal.Exception
      • SDL.Internal.Numbered
      • SDL.Internal.Types
      • SDL.Internal.Vect
    • SDL.Power
    • SDL.Raw
      • SDL.Raw.Audio
      • SDL.Raw.Basic
      • SDL.Raw.Enum
      • SDL.Raw.Error
      • SDL.Raw.Event
      • SDL.Raw.Filesystem
      • SDL.Raw.Haptic
      • SDL.Raw.Platform
      • SDL.Raw.Power
      • SDL.Raw.Thread
      • SDL.Raw.Timer
      • SDL.Raw.Types
      • SDL.Raw.Video
    • SDL.Time
    • SDL.Vect
    • SDL.Video
      • SDL.Video.OpenGL
      • SDL.Video.Renderer

Flags

NameDescriptionDefaultType
examples

Build examples (except opengl-example)

DisabledAutomatic
opengl-example

Build opengl-example

DisabledAutomatic
no-linear

Do not depend on linear library

DisabledManual

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

For package maintainers and hackage trustees