opam-version: "2.0"
maintainer: "Romain Beauxis <toots@rastageeks.org>"
authors: "The Savonet Team <savonet-users@lists.sourceforge.net>"
homepage: "https://github.com/savonet/ocaml-theora"
build: [
  ["./configure" "--prefix" prefix]
  [make]
]
install: [
  [make "install"]
]
remove: ["ocamlfind" "remove" "theora"]
depends: [
  "ocaml"
  "ocamlfind"
  "ogg" {< "0.7.0"}
]
depexts: [
  ["libtheora-dev"] {os-distribution = "alpine"}
  ["libtheora-devel"] {os-distribution = "centos"}
  ["libtheora-devel"] {os-distribution = "fedora"}
  ["libtheora-devel"] {os-family = "suse"}
  ["theora"] {os = "macos" & os-distribution = "homebrew"}
  ["libtheora-dev"] {os-family = "debian"}
]
bug-reports: "https://github.com/savonet/ocaml-theora/issues"
dev-repo: "git+https://github.com/savonet/ocaml-theora.git"
synopsis:
  "Bindings for the theora library to decode video files in theora format"
flags: light-uninstall
url {
  src:
    "https://github.com/savonet/ocaml-theora/releases/download/0.3.1/ocaml-theora-0.3.1.tar.gz"
  checksum: "md5=1a5de0e6254178db0da10e96d4d6d13f"
}
