Skip to content

Commit 3660e03

Browse files
authored
Merge pull request ocaml#27792 from gabyfle/conf-libsndfile
Adding conf-sndfile virtual package for libsndfile
2 parents 7542ebb + edbe019 commit 3660e03

File tree

1 file changed

+24
-0
lines changed
  • packages/conf-sndfile/conf-sndfile.1

1 file changed

+24
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
opam-version: "2.0"
2+
maintainer: "https://github.com/ocaml/opam-repository/issues"
3+
homepage: "https://github.com/libsndfile/libsndfile"
4+
bug-reports: "https://github.com/ocaml/opam-repository/issues"
5+
authors: "libsndfile developers"
6+
license: "LGPL-2.1-or-later"
7+
build: [
8+
["pkg-config" "--exists" "sndfile"] {os != "openbsd" & os != "win32" & !(os = "macos" & os-distribution = "homebrew")}
9+
["pkgconf" "--exists" "sndfile"] {(os = "win32" & os-distribution != "msys2") | (os = "macos" & os-distribution = "homebrew")}
10+
]
11+
depends: [
12+
"conf-pkg-config" {build}
13+
]
14+
depexts: [
15+
["libsndfile-dev"] {os-family = "debian" | os-family = "ubuntu" | os-distribution = "alpine"}
16+
["libsndfile"] {os-family = "arch" | os = "freebsd" | os-distribution = "nixos" | os = "macos" & os-distribution = "homebrew"}
17+
["libsndfile-devel"] {os = "win32" & os-distribution = "cygwin" | os-family = "suse" | os-family = "opensuse" | os-distribution = "centos" | os-distribution = "fedora"}
18+
["mingw-w64-x86_64-libsndfile"] {os = "win32" & os-distribution = "msys2" & arch = "x86_64"}
19+
["mingw-w64-i686-libsndfile"] {os = "win32" & os-distribution = "msys2" & arch = "x86_32"}
20+
]
21+
synopsis: "Virtual package relying on sndfile"
22+
description:
23+
"This package can only install if the sndfile library is installed on the system."
24+
flags: conf

0 commit comments

Comments
 (0)