homebrew-core/Formula/pqiv.rb
2018-04-16 00:39:57 -07:00

31 lines
1.1 KiB
Ruby

class Pqiv < Formula
desc "Powerful image viewer with minimal UI"
homepage "https://github.com/phillipberndt/pqiv"
url "https://github.com/phillipberndt/pqiv/archive/2.10.3.tar.gz"
sha256 "94cb6133377c9adceb5a3954c4fb547ad033d6839e05d25abdd051b68b90d875"
head "https://github.com/phillipberndt/pqiv.git"
bottle do
cellar :any
sha256 "580bd57b905a32bd0b0581d35c25c9cff7a177c589f5e4056b87f94a9a791ddb" => :high_sierra
sha256 "92e7f716c00cb287a1cd05c9039a2843ef2b79ba7a3f83d90a90e323ef5a2b62" => :sierra
sha256 "79fabb19617978a78bb923ddf238dea972ff395222a0aba1b48cea02aebf70bd" => :el_capitan
end
depends_on "pkg-config" => :build
depends_on "gtk+3"
depends_on "libspectre" => :recommended
depends_on "poppler" => :recommended
depends_on "imagemagick" => :recommended
depends_on "libarchive" => :recommended
depends_on "webp" => :recommended
def install
system "./configure", "--prefix=#{prefix}"
system "make", "install"
end
test do
assert_match version.to_s, shell_output("#{bin}/pqiv --version 2>&1")
end
end