Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libcdio-paranoia 10.2-2.0.2 (new formula) #204300

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
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
23 changes: 23 additions & 0 deletions Formula/lib/libcdio-paranoia.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
class LibcdioParanoia < Formula
desc "CD paranoia on top of libcdio"
homepage "https://github.com/libcdio/libcdio-paranoia"
url "https://github.com/libcdio/libcdio-paranoia/releases/download/release-10.2%2B2.0.2/libcdio-paranoia-10.2+2.0.2.tar.gz"
# Plus sign is not a valid version character
version "10.2-2.0.2"
sha256 "99488b8b678f497cb2e2f4a1a9ab4a6329c7e2537a366d5e4fef47df52907ff6"
license "GPL-3.0-only"

depends_on "pkgconf" => :build
depends_on "libcdio"

def install
system "./configure", *std_configure_args
system "make", "install"
end

test do
assert_match(/^cdparanoia /, shell_output("#{bin}/cd-paranoia -V 2>&1"))
# Ensure it errors properly with no disc drive.
assert_match(/Unable find or access a CD-ROM drive/, shell_output("#{bin}/cd-paranoia -BX 2>&1", 1))
end
end
Loading