file-roller: update libxml2 dependency

This commit is contained in:
Dominyk Tiller 2017-05-29 02:45:21 +01:00 committed by ilovezfs
parent f8854771c9
commit 96ad919d07

View file

@ -13,7 +13,7 @@ class FileRoller < Formula
depends_on "pkg-config" => :build
depends_on "intltool" => :build
depends_on "itstool" => :build
depends_on "libxml2" => ["with-python", :build]
depends_on "libxml2" => :build
depends_on "gtk+3"
depends_on "json-glib"
depends_on "libmagic"
@ -34,6 +34,7 @@ class FileRoller < Formula
# 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.
inreplace "data/Makefile.in", "gtk-update-icon-cache", "gtk3-update-icon-cache"
ENV.append "CFLAGS", "-I#{Formula["libmagic"].opt_include}"
ENV.append "LIBS", "-L#{Formula["libmagic"].opt_lib}"