opam-version: "2.0"
maintainer: "https://github.com/ocaml/opam-repository/issues"
homepage: "https://www.theora.org/"
bug-reports: "https://github.com/ocaml/opam-repository/issues"
authors: "Xiph.Org Foundation"
license: "BSD-3-Clause"
build: ["pkg-config" "--exists" "theora"]
depends: [
  "conf-pkg-config" {build}
]
depexts: [
  ["libtheora-dev"] {os-family = "debian" | os-family = "ubuntu" | os-family = "alpine"}
  ["libtheora"] {os-family = "arch" | os = "freebsd" | os-distribution = "nixos" | os = "macos" & os-distribution = "homebrew"}
  ["libtheora-devel"] {os-distribution="centos" | os-family = "fedora" | os-family = "suse"}
]
synopsis: "Virtual package relying on libtheora"
description:
  "This package can only install if the theora library is installed on the system."
flags: conf
