File tree Expand file tree Collapse file tree 2 files changed +28
-2
lines changed Expand file tree Collapse file tree 2 files changed +28
-2
lines changed Original file line number Diff line number Diff line change @@ -5,14 +5,15 @@ bug-reports: "https://github.com/ocaml/opam-repository/issues"
5
5
authors: "mad dev team"
6
6
license: "GPL-2.0-only"
7
7
build: [
8
- ["pkg-config" "--exists" "mad"]
8
+ ["pkg-config" "--exists" "mad"] {os != "freebsd"}
9
+ ["pkg-config" "--exists" "libmad"] {os = "freebsd"}
9
10
]
10
11
depends: [
11
12
"conf-pkg-config" {build}
12
13
]
13
14
depexts: [
14
15
["libmad-dev"] {os-distribution = "alpine"}
15
- ["libmad"] {os-distribution = "arch " | os-distribution = "nixos"}
16
+ ["libmad"] {os-distribution = "archlinux " | os-distribution = "nixos"}
16
17
["libmad-devel"] {os-distribution = "centos" | os-distribution = "fedora" | os-family = "suse" | os-family = "opensuse"}
17
18
["libmad0-dev"] {os-family = "debian" | os-family = "ubuntu"}
18
19
["libmad"] {os = "win32" & os-distribution = "cygwinports"}
Original file line number Diff line number Diff line change
1
+ opam-version: "2.0"
2
+ maintainer: "https://github.com/ocaml/opam-repository/issues"
3
+ homepage: "https://www.underbit.com/products/mad/"
4
+ bug-reports: "https://github.com/ocaml/opam-repository/issues"
5
+ authors: "mad dev team"
6
+ license: "GPL-2.0-only"
7
+ build: [
8
+ ["pkg-config" "--exists" "mad"]
9
+ ]
10
+ depends: [
11
+ "conf-pkg-config" {build}
12
+ ]
13
+ depexts: [
14
+ ["libmad-dev"] {os-distribution = "alpine"}
15
+ ["libmad"] {os-distribution = "arch" | os-distribution = "nixos"}
16
+ ["libmad-devel"] {os-distribution = "centos" | os-distribution = "fedora" | os-family = "suse" | os-family = "opensuse"}
17
+ ["libmad0-dev"] {os-family = "debian" | os-family = "ubuntu"}
18
+ ["libmad"] {os = "win32" & os-distribution = "cygwinports"}
19
+ ["mad"] {os = "macos" & os-distribution = "homebrew"}
20
+ ["libmad"] {os = "freebsd"}
21
+ ]
22
+ synopsis: "Virtual package relying on mad"
23
+ description:
24
+ "This package can only install if the mad library is installed on the system."
25
+ flags: conf
You can’t perform that action at this time.
0 commit comments