opam-version: "2.0"
maintainer: "The Savonet Team <savonet-users@lists.sourceforge.net>"
authors: "The Savonet Team <savonet-users@lists.sourceforge.net>"
homepage: "https://github.com/savonet/ocaml-fdkaac"
bug-reports: "https://github.com/savonet/ocaml-fdkaac/issues"
license: "GPL-2.0"
dev-repo: "git+https://github.com/savonet/ocaml-fdkaac.git"
build: [
  ["./bootstrap"] {pinned}
  ["./configure" "--prefix=%{prefix}%"] {os != "macos"}
  ["./configure" "OCAMLFLAGS=-cclib -L/usr/local/lib" "--prefix=%{prefix}%"]
    {os = "macos"}
  [make]
]
install: [make "install"]
depends: [
  "ocaml"
  "ocamlfind" {build}
]
conflicts: [
  "liquidsoap" {< "1.4.0"}
]
depexts: [
  ["fdk-aac-dev"] {os-distribution = "alpine"}
  ["libfdk-aac"] {os-distribution = "arch"}
  ["fdk-aac-devel"] {os-distribution = "centos"}
  ["fdk-aac-devel"] {os-distribution = "fedora"}
  ["fdk-aac-devel"] {os-family = "suse"}
  ["libfdk-aac-dev"] {os-family = "debian"}
  ["fdk-aac"] {os = "macos" & os-distribution = "homebrew"}
]
synopsis: "Fraunhofer FDK AAC Codec Library"
description: """
The FDK AAC Codec Library For Android contains an encoder implementation of the
Advanced Audio Coding (AAC) audio codec.
"""
url {
  src:
    "https://github.com/savonet/ocaml-fdkaac/releases/download/0.3.0/ocaml-fdkaac-0.3.0.tar.gz"
  checksum: [
    "md5=86b157a74cf53bb60083719d2f712636"
    "sha512=5262d4f873741404d808c579b030f2a90da3a5e3241e71a9575a90c55d584fd55cce10a8cff115913c3e44f1576bb69c5c1b020ab96f22ee214b6b1552a0f624"
  ]
}
