From 2aa475780855be9f159e2ef2b4498129f633e8d9 Mon Sep 17 00:00:00 2001 From: ilovezfs Date: Mon, 17 Oct 2016 02:28:09 -0700 Subject: [PATCH] dspdfviewer 1.15.1 Closes #4774. Signed-off-by: ilovezfs --- Formula/dspdfviewer.rb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Formula/dspdfviewer.rb b/Formula/dspdfviewer.rb index dad71459db..084d71b82e 100644 --- a/Formula/dspdfviewer.rb +++ b/Formula/dspdfviewer.rb @@ -1,8 +1,8 @@ class Dspdfviewer < Formula desc "Dual-Screen PDF Viewer for latex-beamer" homepage "http://dspdfviewer.danny-edel.de" - url "https://github.com/dannyedel/dspdfviewer/archive/v1.15.tar.gz" - sha256 "19986053ac4a60e086a9edd78281f1e422a64efef29e3c6604386419e9420686" + url "https://github.com/dannyedel/dspdfviewer/archive/v1.15.1.tar.gz" + sha256 "c5b6f8c93d732e65a27810286d49a4b1c6f777d725e26a207b14f6b792307b03" head "https://github.com/dannyedel/dspdfviewer.git" bottle do @@ -17,6 +17,7 @@ class Dspdfviewer < Formula depends_on "pkg-config" => :build depends_on "boost" depends_on "poppler" => "with-qt5" + depends_on "qt5" def install args = std_cmake_args @@ -30,6 +31,6 @@ class Dspdfviewer < Formula end test do - assert_match /#{version}/, shell_output("#{bin}/dspdfviewer --version", 0) + system bin/"dspdfviewer", "--help" end end