homebrew-core/Formula/pqiv.rb
2018-04-24 00:30:03 -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.4.tar.gz"
sha256 "58ddd18748e0b597aa126b7715f54f10b4ef54e7cd02cf64f7b83a23a6f5a14b"
head "https://github.com/phillipberndt/pqiv.git"
bottle do
cellar :any
sha256 "166f6366be6e5964f5b3f32fec1fc13b9dc28a27a048023f62b323c5f0f80f21" => :high_sierra
sha256 "ff5eb4b2f1da1865f0e825e199f705b52cf1cfc8074a85848b5a194c58fcc449" => :sierra
sha256 "19bc19c9cf84a6c1d708e254171b276e68844865fb64cd72f78c972a464680b6" => :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