evince 3.32.0

This commit is contained in:
Tom Schoonjans 2019-05-09 15:18:35 +01:00 committed by FX Coudert
parent 7c8286578c
commit 5061fd0ca1

View file

@ -1,9 +1,8 @@
class Evince < Formula
desc "GNOME document viewer"
homepage "https://wiki.gnome.org/Apps/Evince"
url "https://download.gnome.org/sources/evince/3.30/evince-3.30.2.tar.xz"
sha256 "a95bbdeb452c9cc910bba751e7c782ce60ffe7972c461bccbe8bbcdb8ca5f24c"
revision 2
url "https://download.gnome.org/sources/evince/3.32/evince-3.32.0.tar.xz"
sha256 "f0d977216466ed2f5a6de64476ef7113dc7c7c9832336f1ff07f3c03c5324c40"
bottle do
sha256 "47f74e9d5ea7d016b8d8eb13f0ac8d5879b08254d7831ff6aa81685b117e6c23" => :mojave
@ -11,6 +10,7 @@ class Evince < Formula
sha256 "7d7fea09c433f50734de80cbd63bb719196fd45ec0b3e651857d5f1d57b5b54e" => :sierra
end
depends_on "appstream-glib" => :build
depends_on "gobject-introspection" => :build
depends_on "intltool" => :build
depends_on "itstool" => :build
@ -31,6 +31,8 @@ class Evince < Formula
patch :DATA
def install
ENV["GETTEXTDATADIR"] = "#{Formula["appstream-glib"].opt_share}/gettext"
# Fix build failure "ar: illegal option -- D"
# Reported 15 Sep 2017 https://bugzilla.gnome.org/show_bug.cgi?id=787709
inreplace "configure", "AR_FLAGS=crD", "AR_FLAGS=r"