gucharmap 3.16.2 (new formula)
Closes Homebrew/homebrew#43047. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
65661af2a4
commit
31508af2cb
1 changed files with 33 additions and 0 deletions
33
Formula/gucharmap.rb
Normal file
33
Formula/gucharmap.rb
Normal file
|
@ -0,0 +1,33 @@
|
|||
class Gucharmap < Formula
|
||||
desc "GNOME Character Map, based on the Unicode Character Database"
|
||||
homepage "https://live.gnome.org/Gucharmap"
|
||||
url "https://download.gnome.org/sources/gucharmap/3.16/gucharmap-3.16.2.tar.xz"
|
||||
sha256 "0a3fa996ae271c8f4812a7d8dc573ece0c000d63185b4865fa99387455e1b13d"
|
||||
|
||||
depends_on "pkg-config" => :build
|
||||
depends_on "intltool" => :build
|
||||
depends_on "itstool" => :build
|
||||
depends_on "desktop-file-utils" => :build
|
||||
depends_on "gtk+3"
|
||||
|
||||
def install
|
||||
ENV.append_path "PYTHONPATH", "#{Formula["libxml2"].opt_lib}/python2.7/site-packages"
|
||||
system "./configure", "--disable-debug",
|
||||
"--disable-dependency-tracking",
|
||||
"--disable-silent-rules",
|
||||
"--prefix=#{prefix}",
|
||||
"--disable-Bsymbolic",
|
||||
"--disable-schemas-compile",
|
||||
"--enable-introspection=no"
|
||||
system "make"
|
||||
system "make", "install"
|
||||
end
|
||||
|
||||
def post_install
|
||||
system "#{Formula["glib"].opt_bin}/glib-compile-schemas", "#{HOMEBREW_PREFIX}/share/glib-2.0/schemas"
|
||||
end
|
||||
|
||||
test do
|
||||
system "#{bin}/gucharmap", "--version"
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue