gucharmap 12.0.0

Closes #37805.

Signed-off-by: Chongyu Zhu <i@lembacon.com>
This commit is contained in:
Tom Schoonjans 2019-03-12 06:33:41 +00:00 committed by Chongyu Zhu
parent 6918df6d7f
commit ee23192598
No known key found for this signature in database
GPG key ID: 1A43E3C9100B38F5

View file

@ -1,8 +1,8 @@
class Gucharmap < Formula
desc "GNOME Character Map, based on the Unicode Character Database"
homepage "https://wiki.gnome.org/Apps/Gucharmap"
url "https://download.gnome.org/sources/gucharmap/11.0/gucharmap-11.0.3.tar.xz"
sha256 "6fe4405aa4d2edeedf412befa3cdf423211c80f8836085c4c8c56679658e37fa"
url "https://download.gnome.org/sources/gucharmap/12.0/gucharmap-12.0.0.tar.xz"
sha256 "cdc3557a38a96d8163f81ce5bdec777bc4b652b0e069fdfa5144f5f0561b0ef9"
bottle do
rebuild 1
@ -19,6 +19,11 @@ class Gucharmap < Formula
depends_on "python" => :build
depends_on "gtk+3"
patch do
url "https://gitlab.gnome.org/GNOME/gucharmap/commit/f832495aeeeb6b20a598b895261a9d1853005147.patch"
sha256 "d86f94bc4b73503d7653ee4ac77fabc00ceca4f9063f33141848af4a335b0f95"
end
def install
xy = Language::Python.major_minor_version "python3"
ENV.append_path "PYTHONPATH", "#{Formula["libxml2"].opt_lib}/python#{xy}/site-packages"