packages feed

sdl2-ttf-0.2.2: sdl2-ttf.cabal

Cabal-Version:      >= 1.10
Name:               sdl2-ttf
Version:            0.2.2
Maintainer:         Sean Chalmers (sclhiannan@gmail.com)
Author:             Ömer Sinan Ağacan (omeragacan@gmail.com)
License-File:       LICENSE
License:            MIT
Build-Type:         Simple
Category:           Foreign binding
Synopsis:           Binding to libSDL2-ttf
Description:        Haskell bindings to the sdl2-ttf C++ library <http://www.libsdl.org/projects/SDL_ttf/>.
Data-files:
extra-source-files: cbits/rendering.h
                    examples/ARIAL.TTF
                    examples/font_test.c

Library
  Hs-source-dirs:     src
  Build-Depends:      base >= 3 && < 5, sdl2
  default-extensions: ForeignFunctionInterface
  Exposed-Modules:    Graphics.UI.SDL.TTF.Types,
                      Graphics.UI.SDL.TTF.FFI
                      Graphics.UI.SDL.TTF
  GHC-Options:        -Wall
  include-dirs:       cbits
  C-sources:          cbits/rendering.c
  extra-libraries:    SDL2, SDL2_ttf
  default-language:   Haskell2010

executable font-test
  main-is:          font_test.hs
  hs-source-dirs:   examples
  build-depends:    base >= 3 && <5, sdl2, sdl2-ttf
  GHC-Options:      -Wall
  default-language: Haskell2010

source-repository head
    type:     git
    location: https://github.com/mankyKitty/sdl2-ttf