opam-version: "2.0"
synopsis: "Interface for Ogg Bitstream Library, otherwise known as libogg"
maintainer: ["The Savonet Team <savonet-users@lists.sourceforge.net>"]
authors: ["The Savonet Team <savonet-users@lists.sourceforge.net>"]
license: "LGPL-2.1-only with OCaml-LGPL-linking-exception"
homepage: "https://github.com/savonet/ocaml-ogg"
bug-reports: "https://github.com/savonet/ocaml-ogg/issues"
depends: [
  "dune" {> "2.0"}
  "dune-configurator"
]
build: [
  ["dune" "subst"] {pinned}
  [
    "dune"
    "build"
    "-p"
    name
    "-j"
    jobs
    "@install"
    "@runtest" {with-test}
    "@doc" {with-doc}
  ]
]
dev-repo: "git+https://github.com/savonet/ocaml-ogg.git"
depexts: [
  ["libogg-dev"] {os-distribution = "alpine"}
  ["libogg"] {os-distribution = "arch"}
  ["libogg-dev"] {os-family = "debian"}
  ["libogg-devel"] {os-distribution = "centos"}
  ["libogg-devel"] {os-distribution = "fedora"}
  ["libogg-devel"] {os-family = "suse"}
  ["libogg"] {os-distribution = "nixos"}
  ["libogg"] {os = "macos" & os-distribution = "homebrew"}
]
url {
  src: "https://github.com/savonet/ocaml-ogg/archive/v0.6.0.tar.gz"
  checksum: [
    "md5=f12d85200fc4ca49b153b2c3f957e039"
    "sha512=8b444c459de3ef4a52a372a4226e0396018fb020061e0d9c854601419eb222a852ae4e4902fa1710e6a986e7158f00c42170ca977dbc6dfafdc9e03504a8cf54"
  ]
}
