sdl2-cairo-0.1.0.2: sdl2-cairo.cabal
-- Initial sdl2-cairo.cabal generated by cabal init. For further
-- documentation, see http://haskell.org/cabal/users-guide/
name: sdl2-cairo
version: 0.1.0.2
synopsis: Render with Cairo on SDL textures. Includes optional convenience drawing API.
description: This small library provides convenience functions to draw
on SDL2 textures with Cairo. As Cairo is complicated, it also
provides a drawing API, which is heavily inspired by Processing and
is much more user-friendly. If it does not support something,
you can always embed direct Cairo commands, so you do not have
to decide!
license: MIT
license-file: LICENSE
author: Anton Pirogov
maintainer: anton.pirogov@gmail.com
copyright: Copyright (c) 2015 Anton Pirogov
category: Graphics
build-type: Simple
cabal-version: >=1.10
library
hs-source-dirs: src
default-language: Haskell2010
exposed-modules: SDL.Cairo, SDL.Cairo.Canvas, SDL.Cairo.Canvas.Interactive
--other-modules:
build-depends: base >=4.7 && <=5
, sdl2 >=2.0.0
, cairo >=0.13
, linear
, mtl
, random
, time
flag builddemo
description: Build the little demo
default: False
executable sdl2-cairo-test
hs-source-dirs: example
main-is: Main.hs
default-language: Haskell2010
default-extensions: OverloadedStrings
if flag(builddemo)
build-depends: base >=4 && <=5
, sdl2 >=2.0.0 && <2.1
, cairo >=0.13
, sdl2-cairo
, linear
, mtl
, random
, time
else
buildable: False
source-repository head
type: git
location: https://github.com/apirogov/sdl2-cairo.git