opam-version: "2.0"
maintainer: "https://github.com/ocaml/opam-repository/issues"
homepage: "http://www.libsdl.org/projects/SDL_ttf/"
license: "Zlib"
build: [["pkg-config" "SDL2_ttf"]]
depends: [
  "conf-pkg-config" {build}
]
depexts: [
  ["sdl2_ttf-dev"] {os-family = "alpine"}
  ["libsdl2-ttf-dev"] {os-family = "debian"}
  ["libsdl2-ttf-dev"] {os-family = "ubuntu"}
  ["libsdl2_ttf-devel"] {os-family = "mageia"}
  ["libSDL2_ttf-devel"] {os-family = "suse"}
  ["SDL2_ttf-devel"] {os-distribution = "fedora"}
  # oraclelinux does not seem to have sdl2-ttf
  ["epel-release" "SDL2_ttf-devel"] {os-distribution = "centos"}
  ["sdl2_ttf"] {os-family = "arch"}
  ["sdl2-ttf"] {os-family = "gentoo"}
  ["sdl2_ttf"] {os-distribution = "homebrew" & os = "macos"}
  ["sdl2_ttf"] {os = "freebsd"}
  ["sdl2-ttf"] {os = "openbsd"}
  ["SDL2_ttf"] {os = "netbsd"}
]
synopsis: "Virtual package relying on a sdl2-ttf system installation"
description:
  "This package can only install if libsdl2-ttf is installed on the system."
bug-reports: "https://github.com/ocaml/opam-repository/issues"
authors: "Sam Lantinga"
flags: conf
