packages feed

sdl2-compositor-1.2: sdl2-compositor.cabal

-- Initial sdl2-compositor.cabal generated by cabal init.  For further
-- documentation, see http://haskell.org/cabal/users-guide/

name:                sdl2-compositor
version:             1.2
synopsis:            image compositing with sdl2 - declarative style

description: This package provides tools for simple image composition
             through the means of the SDL library, version 2.  You can
             combine, translate, rotate, blend, modulate colors and
             draw in a declarative way.

license:             GPL-3
license-file:        LICENSE
author:              Sebastian Jordan
maintainer:          sebastian.jordan.mail@googlemail.com
copyright:           (c) 2015  Sebastian Jordan
category:            Graphics
build-type:          Simple
extra-source-files:  example.hs,
                     resolution-independent.hs,
                     font-test.hs
cabal-version:       >=1.10

flag BuildExamples
  Description: Enable examples
  Default: False

library
  exposed-modules:     SDL.Compositor,
                       SDL.Compositor.Manipulator,
                       SDL.Compositor.Blender,
                       SDL.Compositor.Drawer
                       SDL.Compositor.ResIndependent
  -- other-modules:
  -- other-extensions:
  build-depends:       base >=4.8 && <4.9,
                       sdl2 == 2.*,
                       transformers == 0.4.*,
                       linear == 1.19.*,
                       sdl2-ttf >= 0.2.2,
                       stm,
                       lrucache >= 1.2,
                       text,
                       QuickCheck,
                       lens,
                       StateVar
  -- hs-source-dirs:
  default-language:    Haskell2010

executable sdl2-comp-example
  if flag(BuildExamples)
    build-depends: base, sdl2, stm, lrucache, sdl2-ttf, linear, text,
                   transformers, lens, StateVar
  else
    buildable: False
  main-is: example.hs
  default-language: Haskell2010

executable sdl2-comp-res-independent
  if flag(BuildExamples)
    build-depends: base, sdl2, stm, lrucache, sdl2-ttf, linear, text,
                   transformers, lens, StateVar
  else
    buildable: False
  main-is: resolution-independent.hs
  default-language: Haskell2010

source-repository head
  type: darcs
  location: http://hub.darcs.net/seppeljordan/sdl2-compositor