Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions packages/sndfile/sndfile.0.9.1/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
opam-version: "2.0"
maintainer: "Philippe Strauss <catseyechandra@proton.me>"
authors: [ "Erik de Castro Lopo <erikd@mega-nerd.com>" ]
license: "LGPL-3.0-or-later"
homepage: "https://codeberg.org/catseyechandra/ocaml-libsndfile"
dev-repo: "git+https://codeberg.org/catseyechandra/ocaml-libsndfile.git"
bug-reports: "https://codeberg.org/catseyechandra/ocaml-libsndfile/issues"
doc: "https://codeberg.org/catseyechandra/ocaml-libsndfile"
build: [
[
"dune" "build" "-p" name "-j" jobs
]
]
depends: [
"ocaml"
"dune" {>= "2.0.0"}
"dune-configurator"
]
depexts: [
["libsndfile-dev"] {os-family = "debian"}
["libsndfile"] {os = "macos" & os-distribution = "homebrew"}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suggest removing the above as it provides ad-hoc support on Debian and macOS/homebrew instead of using the conf-packages setup.

Instead replace the depexts by a depends on "conf-sndfile", which should provide support across a broader spectrum of platforms 馃檪

]
synopsis: "Bindings for the libsndfile soundfile manipulation library"
description: "Libsndfile is a soundfile reading/writing/manipulation library written in C"
url {
src:
"https://codeberg.org/catseyechandra/ocaml-libsndfile/archive/v0.9.1.tar.gz"
checksum: [
"md5=fd11ef323a5ea4ae000928f6d3131f44"
"sha512=1d071c470e80e0ae7822df2743ec546686f7aec0db861b22f8a1d15e9b060e45f03df57bb313632ccfe6c6f818b78a0cb6d8909ab0c01311a6816ffd986986fd"
]
}
Loading