evince: build with comic book archive support
Closes #39395. Signed-off-by: Chongyu Zhu <i@lembacon.com>
This commit is contained in:
parent
74571e3883
commit
8c4f3901bd
1 changed files with 7 additions and 1 deletions
|
@ -3,7 +3,7 @@ class Evince < Formula
|
|||
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 1
|
||||
revision 2
|
||||
|
||||
bottle do
|
||||
rebuild 1
|
||||
|
@ -21,6 +21,7 @@ class Evince < Formula
|
|||
depends_on "gspell"
|
||||
depends_on "gtk+3"
|
||||
depends_on "hicolor-icon-theme"
|
||||
depends_on "libarchive"
|
||||
depends_on "libsecret"
|
||||
depends_on "libspectre"
|
||||
depends_on "libxml2"
|
||||
|
@ -35,6 +36,11 @@ class Evince < Formula
|
|||
# Reported 15 Sep 2017 https://bugzilla.gnome.org/show_bug.cgi?id=787709
|
||||
inreplace "configure", "AR_FLAGS=crD", "AR_FLAGS=r"
|
||||
|
||||
# Add MacOS mime-types to the list of supported comic book archive mime-types
|
||||
# Submitted upstream at https://gitlab.gnome.org/GNOME/evince/merge_requests/157
|
||||
inreplace "configure", "COMICS_MIME_TYPES=\"",
|
||||
"COMICS_MIME_TYPES=\"application/x-rar;application/zip;application/x-cb7;application/x-7z-comperssed;application/x-tar;"
|
||||
|
||||
# forces use of gtk3-update-icon-cache instead of gtk-update-icon-cache. No bugreport should
|
||||
# be filed for this since it only occurs because Homebrew renames gtk+3's gtk-update-icon-cache
|
||||
# to gtk3-update-icon-cache in order to avoid a collision between gtk+ and gtk+3.
|
||||
|
|
Loading…
Reference in a new issue