packages feed

sdl2-ttf-0.2.1: sdl2-ttf.cabal

Cabal-Version:      >= 1.8
Name:               sdl2-ttf
Version:            0.2.1
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

Library
  Hs-source-dirs:   src
  Build-Depends:    base >= 3 && < 5, sdl2
  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

test-suite test
  type:             exitcode-stdio-1.0
  main-is:          font_test.hs
  hs-source-dirs:   test
  build-depends:    base >= 3 && <5, sdl2, sdl2-ttf
  GHC-Options:      -Wall
  
source-repository head
    type:     git
    location: https://github.com/mankyKitty/sdl2-ttf