opam-version: "2.0"
maintainer: "blue-prawn"
authors: ["Sam Lantinga"]
homepage: "http://libsdl.org/"
bug-reports: "https://github.com/ocaml/opam-repository/issues"
license: "Zlib"
build: [["pkg-config" "sdl2"]]
depexts: [
  ["sdl2-dev"] {os-distribution = "alpine"}
  ["sdl2"] {os-distribution = "arch"}
  ["libsdl2-dev"] {os-family = "debian"}
  ["SDL2-devel"] {os-distribution = "fedora"}
  ["epel-release" "SDL2-devel"] {os-distribution = "centos"}
  ["SDL2-devel"] {os-distribution = "ol"}
  ["sdl2"] {os = "freebsd"}
  ["sdl2"] {os = "macos" & os-distribution = "homebrew"}
  ["libsdl2-devel"] {os-distribution = "mageia"}
  ["sdl2"] {os = "openbsd"}
  ["libSDL2-devel"] {os-family = "suse"}
]
synopsis: "Virtual package relying on a SDL2 system installation"
description:
  "This package can only install if libSDL2 is installed on the system."
depends: ["conf-pkg-config" {build}]
flags: conf
