Import upstream version 0.5.1+git20220522.1.95d7c39
Debian Janitor
1 year, 8 months ago
0 | 0 |
(lang dune 2.8)
|
1 | |
(version 0.5.1)
|
|
1 |
(version 0.5.2)
|
2 | 2 |
(name faad)
|
3 | 3 |
(source (github savonet/ocaml-faad))
|
4 | 4 |
(license GPL-2.0)
|
0 | 0 |
# This file is generated by dune, edit dune-project instead
|
1 | 1 |
opam-version: "2.0"
|
2 | |
version: "0.5.1"
|
|
2 |
version: "0.5.2"
|
3 | 3 |
synopsis:
|
4 | 4 |
"Bindings for the faad library which provides functions for decoding AAC audio files"
|
5 | 5 |
maintainer: ["Romain Beauxis <toots@rastageeks.org>"]
|
2 | 2 |
let () =
|
3 | 3 |
C.main ~name:"faad2-pkg-config" (fun c ->
|
4 | 4 |
let default : C.Pkg_config.package_conf =
|
5 | |
{ libs = ["-lfaad2"]; cflags = [] }
|
|
5 |
{ libs = ["-lfaad"]; cflags = [] }
|
6 | 6 |
in
|
7 | 7 |
let conf =
|
8 | 8 |
match C.Pkg_config.get c with
|
|
11 | 11 |
match
|
12 | 12 |
C.Pkg_config.query_expr_err pc ~package:"faad2" ~expr:"faad2"
|
13 | 13 |
with
|
14 | |
| Error msg -> failwith msg
|
|
14 |
| Error _ -> default
|
15 | 15 |
| Ok deps -> deps)
|
16 | 16 |
in
|
17 | 17 |
C.Flags.write_sexp "c_flags.sexp" conf.cflags;
|