homebrew-core/Formula/mp3fs.rb

30 lines
893 B
Ruby

class Mp3fs < Formula
desc "Read-only FUSE file system: transcodes audio formats to MP3"
homepage "https://khenriks.github.io/mp3fs/"
url "https://github.com/khenriks/mp3fs/releases/download/v1.1.1/mp3fs-1.1.1.tar.gz"
sha256 "942b588fb623ea58ce8cac8844e6ff2829ad4bc9b4c163bba58e3fa9ebc15608"
license "GPL-3.0-or-later"
revision 3
bottle do
sha256 cellar: :any_skip_relocation, x86_64_linux: "3539466612aa0f46175ab58a559978aa14b92ba973b1d3819649aa8474537885"
end
depends_on "pkg-config" => :build
depends_on "flac"
depends_on "lame"
depends_on "libfuse@2"
depends_on "libid3tag"
depends_on "libvorbis"
depends_on :linux # on macOS, requires closed-source macFUSE
def install
system "./configure", *std_configure_args
system "make", "install"
end
test do
assert_match "mp3fs version: #{version}", shell_output("#{bin}/mp3fs -V")
end
end