Skip to content

Commit a17c67c

Browse files
authored
Merge pull request #27794 from gabyfle/conf-rubberband
Adding the conf-rubberband virtual package
2 parents 3660e03 + e8e4e7b commit a17c67c

File tree

1 file changed

+34
-0
lines changed
  • packages/conf-rubberband/conf-rubberband.1

1 file changed

+34
-0
lines changed
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
opam-version: "2.0"
2+
maintainer: "https://github.com/ocaml/opam-repository/issues"
3+
homepage: "https://breakfastquay.com/rubberband/"
4+
bug-reports: "https://github.com/ocaml/opam-repository/issues"
5+
authors: "Chris Cannam"
6+
license: "GPL-2.0-or-later"
7+
depends: [
8+
"conf-pkg-config" {build}
9+
]
10+
build: [
11+
["pkg-config" "--exists" "rubberband"] {os != "openbsd" & os != "win32" & !(os = "macos" & os-distribution = "homebrew")}
12+
["pkgconf" "--exists" "rubberband"] {(os = "win32" & os-distribution != "msys2") | (os = "macos" & os-distribution = "homebrew")}
13+
]
14+
depexts: [
15+
["librubberband-dev"] {os-family = "debian" | os-family = "ubuntu" | os-family = "opensuse"}
16+
["rubberband-dev"] {os-family = "alpine"}
17+
["rubberband"] {
18+
os-family = "arch"
19+
| os = "freebsd"
20+
| os-distribution = "nixos"
21+
| os = "macos" & os-distribution = "homebrew"
22+
}
23+
["rubberband-devel"] { os-family = "fedora" }
24+
["librubberband-devel"] { os-family = "suse" }
25+
["mingw-w64-x86_64-rubberband"] {os = "win32" & os-distribution = "msys2" & arch = "x86_64"}
26+
]
27+
synopsis: "Virtual package relying on rubberband"
28+
description:
29+
"This package can only install if the rubberband library is installed on the system."
30+
flags: conf
31+
available: !( # librubberband isn't available on cygwin nor on msys2 for the 32 bit arch
32+
(os-distribution = "cygwin") |
33+
(os = "win32" & os-distribution = "msys2" & arch = "x86_32")
34+
)

0 commit comments

Comments
 (0)