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-gavl"
build: [
  ["./configure" "--prefix" prefix]
  [make]
]
install: [
  [make "install"]
]
remove: ["ocamlfind" "remove" "gavl"]
depends: ["ocaml" "ocamlfind"]
depexts: [
  ["gavl-dev"] {os-distribution = "alpine"}
  ["gavl-devel"] {os-distribution = "centos"}
  ["gavl-devel"] {os-distribution = "fedora"}
  ["gavl-devel"] {os-family = "suse"}
  ["libgavl-dev"] {os-family = "debian"}
  ["drfill/liquidsoap/libgavl"] {os = "macos" & os-distribution = "homebrew"}
  ["gavl"] {os-distribution = "arch"}
]
bug-reports: "https://github.com/savonet/ocaml-gavl/issues"
dev-repo: "git+https://github.com/savonet/ocaml-gavl.git"
synopsis:
  "Bindings for the gavl library which provides functions for converting images formats, colorspaces, etc."
flags: light-uninstall
url {
  src:
    "https://github.com/savonet/ocaml-gavl/releases/download/0.1.6/ocaml-gavl-0.1.6.tar.gz"
  checksum: "md5=6a95cb233b1929bd9d54431a7c7c4aa1"
}
