pqiv 2.8.1 (new formula)
This closes https://github.com/phillipberndt/pqiv/issues/66 Closes #10344. Signed-off-by: FX Coudert <fxcoudert@gmail.com>
This commit is contained in:
parent
f5f9430619
commit
e8c505b41d
1 changed files with 25 additions and 0 deletions
25
Formula/pqiv.rb
Normal file
25
Formula/pqiv.rb
Normal file
|
@ -0,0 +1,25 @@
|
|||
class Pqiv < Formula
|
||||
desc "Powerful image viewer with minimal UI"
|
||||
homepage "https://github.com/phillipberndt/pqiv"
|
||||
url "https://github.com/phillipberndt/pqiv/archive/2.8.1.tar.gz"
|
||||
sha256 "ff8f28007535332f038c7d04a3c2d6696aa62604eef4fd66fc6500a8c235de30"
|
||||
head "https://github.com/phillipberndt/pqiv.git"
|
||||
|
||||
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
|
||||
|
||||
def install
|
||||
system "./configure", "--prefix=#{prefix}"
|
||||
system "make", "install"
|
||||
end
|
||||
|
||||
test do
|
||||
# pqiv does not work at all unless a display is present
|
||||
# (it just outputs an GTK error message)
|
||||
system "#{bin}/pqiv 2>&1 | grep -qi gtk"
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue