Skip to content

Commit be246eb

Browse files
committed
add conf-taglib_c
1 parent 0555a4d commit be246eb

File tree

2 files changed

+50
-0
lines changed
  • packages/conf-taglib_c

2 files changed

+50
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
opam-version: "2.0"
2+
maintainer: "https://github.com/ocaml/opam-repository/issues"
3+
homepage: "https://taglib.org/"
4+
bug-reports: "https://github.com/ocaml/opam-repository/issues"
5+
authors: "taglib maintainers"
6+
license: ["LGPL-2.1-or-later" "MPL-1.1"]
7+
# https://www.mozilla.org/en-US/MPL/2.0/Revision-FAQ/#upgrading-someone-elses-code
8+
build: ["pkg-config" "--atleast-version" "1.0.0" "--exists" "taglib_c"]
9+
depends: [
10+
"conf-pkg-config" {build}
11+
]
12+
depexts: [
13+
["libtagc0-dev"] {os-family = "debian" | os-family = "ubuntu"}
14+
["taglib-dev"] {os-family = "alpine"}
15+
["libtag-devel"] {os-family = "suse" | os-family = "opensuse"}
16+
["taglib"] {os-family = "arch" | os = "freebsd" | os-distribution = "nixos"}
17+
["taglib"] {os = "macos" & os-distribution = "homebrew"}
18+
["taglib"] {os = "macos" & os-distribution = "macports"}
19+
["taglib-devel"] {os-distribution="centos" | os-family = "fedora"}
20+
]
21+
synopsis: "Virtual package relying on taglib_c"
22+
description:
23+
"This package can only install if the taglib_c library is installed on the system."
24+
flags: conf
25+
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
opam-version: "2.0"
2+
maintainer: "https://github.com/ocaml/opam-repository/issues"
3+
homepage: "https://taglib.org/"
4+
bug-reports: "https://github.com/ocaml/opam-repository/issues"
5+
authors: "taglib maintainers"
6+
license: ["LGPL-2.1-or-later" "MPL-1.1"]
7+
# https://www.mozilla.org/en-US/MPL/2.0/Revision-FAQ/#upgrading-someone-elses-code
8+
9+
build: ["pkg-config" "--atleast-version" "2.0.0" "--exists" "taglib_c"]
10+
depends: [
11+
"conf-pkg-config" {build}
12+
]
13+
depexts: [
14+
["libtag-c-dev"] { os-family = "ubuntu" }
15+
["taglib-dev"] {os-family = "alpine"}
16+
["libtag-devel"] {os-family = "suse" | os-family = "opensuse"}
17+
["taglib"] {os-family = "arch" | os = "freebsd" | os-distribution = "nixos"}
18+
["taglib"] {os = "macos" & os-distribution = "homebrew"}
19+
["taglib"] {os = "macos" & os-distribution = "macports"}
20+
]
21+
synopsis: "Virtual package relying on taglib_c"
22+
description:
23+
"This package can only install if the taglib_c library is installed on the system."
24+
flags: conf
25+

0 commit comments

Comments
 (0)