opam-version: "2.0"
synopsis: "Interface to the SDL2_ttf library"
license: "restrictionless Zlib"
authors: [
  "Florent Monnier"
  "David Cadé"
]
maintainer: "https://github.com/fccm/"
homepage: "https://github.com/fccm/OCamlSDL2_TTF"
bug-reports: "https://github.com/fccm/OCamlSDL2_TTF/issues"
dev-repo: "git+https://github.com/fccm/OCamlSDL2_TTF.git"
doc: "https://www.libsdl.org/projects/SDL_ttf/docs/SDL_ttf.html"

tags: [ "bindings" "graphics" "font" "ttf" "multimedia" "cross-platform" ]

description: """
An OCaml interface to the SDL2_ttf library.

SDL2_ttf is a TrueType font rendering library that is used with the SDL2 library,
and almost as portable.
It depends on freetype2 to handle the TrueType font data.
It allows a programmer to use multiple TrueType fonts without having to code
a font rendering routine themselves.
With the power of outline fonts and antialiasing, high quality text output
can be obtained without much effort. 

SDL2_ttf homepage:
https://www.libsdl.org/projects/SDL_ttf/

This version of the bindings is known to work with SDL2_ttf version
2.0.15
"""
depends: [
  "ocaml"
  "ocamlsdl2"
  "ocamlfind" {build}
  "conf-sdl2-ttf"
]
build: [
  [make "-C" "src"]
]
install: [
  [make "-C" "src" "install"]
]
url {
  src: "https://github.com/fccm/OCamlSDL2_TTF/archive/v0.01.tar.gz"
  checksum: [
    "md5=96e0f0faadff26ef8b194ac48ac59863"
    "sha256=0421b07e0e7cf6db006066fe897b2f8273b45138a88c7c682827fa3611a998c3"
  ]
}
