Skip to content

Commit

Permalink
dvdauthor 0.7.2
Browse files Browse the repository at this point in the history
depend on libxml2 for <= 10.11
add a test

Closes #17654.

Signed-off-by: ilovezfs <ilovezfs@icloud.com>
  • Loading branch information
ilovezfs committed Sep 5, 2017
1 parent 89ae9ff commit 0838c5d
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions Formula/dvdauthor.rb
@@ -1,9 +1,8 @@
class Dvdauthor < Formula
desc "DVD-authoring toolset"
homepage "https://dvdauthor.sourceforge.io/"
url "https://downloads.sourceforge.net/project/dvdauthor/dvdauthor/0.7.1/dvdauthor-0.7.1.tar.gz"
sha256 "501fb11b09c6eb9c5a229dcb400bd81e408cc78d34eab6749970685023c51fe9"
revision 1
url "https://downloads.sourceforge.net/project/dvdauthor/dvdauthor-0.7.2.tar.gz"
sha256 "3020a92de9f78eb36f48b6f22d5a001c47107826634a785a62dfcd080f612eb7"

bottle do
cellar :any
Expand All @@ -19,6 +18,7 @@ class Dvdauthor < Formula
depends_on "libdvdread"
depends_on "freetype"
depends_on "libpng"
depends_on "libxml2" if MacOS.version <= :el_capitan

def install
system "./configure", "--disable-dependency-tracking",
Expand All @@ -28,4 +28,8 @@ def install
ENV.deparallelize # Install isn't parallel-safe
system "make", "install"
end

test do
assert_match "VOBFILE", shell_output("#{bin}/dvdauthor --help 2>&1", 1)
end
end

0 comments on commit 0838c5d

Please sign in to comment.