44 lines
1.3 KiB
Ruby
44 lines
1.3 KiB
Ruby
class Geeqie < Formula
|
|
desc "Lightweight Gtk+ based image viewer"
|
|
homepage "http://www.geeqie.org/"
|
|
url "http://www.geeqie.org/geeqie-1.3.tar.xz"
|
|
sha256 "4b6f566dd1a8badac68c4353c7dd0f4de17f8627b85a7a70d5eb1ae3b540ec3f"
|
|
revision 1
|
|
|
|
bottle do
|
|
sha256 "72c723748fb15cdfb529addf3ed28ce6da8f910abb2a773e64a30dca2169b0d4" => :sierra
|
|
sha256 "5ccb19e0fd7790425c6fd531a397307aaa7a0597494c0c817f1a0bf31e3c515a" => :el_capitan
|
|
sha256 "c2f39e0661b126e8711c032a09c0cb8d7fa8ba6a52214986d2d7b9091acf419f" => :yosemite
|
|
end
|
|
|
|
depends_on "pkg-config" => :build
|
|
depends_on "autoconf" => :build
|
|
depends_on "automake" => :build
|
|
depends_on "intltool" => :build
|
|
depends_on "gettext"
|
|
depends_on "gtk+3"
|
|
depends_on "gdk-pixbuf"
|
|
depends_on "pango"
|
|
depends_on "cairo"
|
|
depends_on "libtiff"
|
|
depends_on "jpeg"
|
|
depends_on "atk"
|
|
depends_on "glib"
|
|
depends_on "imagemagick"
|
|
depends_on "exiv2"
|
|
depends_on "little-cms2"
|
|
|
|
def install
|
|
ENV["NOCONFIGURE"] = "yes"
|
|
system "./autogen.sh"
|
|
system "./configure", "--disable-dependency-tracking",
|
|
"--prefix=#{prefix}",
|
|
"--disable-glibtest",
|
|
"--disable-gtktest"
|
|
system "make", "install"
|
|
end
|
|
|
|
test do
|
|
system "#{bin}/geeqie", "--version"
|
|
end
|
|
end
|