diff --git a/Formula/gucharmap.rb b/Formula/gucharmap.rb index b0e7ecadc9..fcb022f951 100644 --- a/Formula/gucharmap.rb +++ b/Formula/gucharmap.rb @@ -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"