<commit_before>class GtkMacIntegration < Formula
  desc "Integrates GTK macOS applications with the Mac desktop"
  homepage "https://wiki.gnome.org/Projects/GTK+/OSX/Integration"

  stable do
    url "https://download.gnome.org/sources/gtk-mac-integration/2.1/gtk-mac-integration-2.1.2.tar.xz"
    sha256 "68e682a3ba952e7d4b1cfa2c7147c5fcd76f8bd9792a567e175a619af5954af1"

    patch do
      url "https://github.com/jralls/gtk-mac-integration/pull/11.patch?full_index=1"
      sha256 "4523207ea652b9048d01a58c05369c871def4e187db267ab7bad85ae1e102c31"
    end

    patch do
      url "https://github.com/jralls/gtk-mac-integration/pull/13.patch?full_index=1"
      sha256 "b0ecfb9a3c5cd9651584b33191b69915627cc9e09e78fb4623fcaa64915ee13d"
    end
  end

  bottle do
    rebuild 1
    sha256 "99f446a854580ede1ac39c3c6c9bb7575e989391f0ad2b73bfd5e394dd2cd9f1" => :mojave
    sha256 "ec24d3b0e4c0509dcae72e6d6b9a55d1045de25ecd45d923d0d2744e0775010f" => :high_sierra
    sha256 "a81bce6683ec07ebe6acf464f5dabf417681ea5785194bf69f1614cef2353c2c" => :sierra
    sha256 "1be8f19849300cb593fd454d4407620c25fbb04ca4f4d7dc0e16261b1d26e04e" => :el_capitan
  end

  head do
    url "https://github.com/jralls/gtk-mac-integration.git"

    depends_on "autoconf" => :build
    depends_on "automake" => :build
    depends_on "gtk-doc" => :build
    depends_on "libtool" => :build
  end

  depends_on "gobject-introspection" => :build
  depends_on "pkg-config" => :build
  depends_on "gettext"
  depends_on "gtk+"
  depends_on "gtk+3"
  depends_on "pygtk"

  def install
    args = %W[
      --disable-dependency-tracking
      --disable-silent-rules<commit_msg>gtk-mac-integration 2.1.3<commit_after>class GtkMacIntegration < Formula
  desc "Integrates GTK macOS applications with the Mac desktop"
  homepage "https://wiki.gnome.org/Projects/GTK+/OSX/Integration"
  url "https://download.gnome.org/sources/gtk-mac-integration/2.1/gtk-mac-integration-2.1.3.tar.xz"
  sha256 "d5f72302daad1f517932194d72967a32e72ed8177cfa38aaf64f0a80564ce454"

  bottle do
    rebuild 1
    sha256 "99f446a854580ede1ac39c3c6c9bb7575e989391f0ad2b73bfd5e394dd2cd9f1" => :mojave
    sha256 "ec24d3b0e4c0509dcae72e6d6b9a55d1045de25ecd45d923d0d2744e0775010f" => :high_sierra
    sha256 "a81bce6683ec07ebe6acf464f5dabf417681ea5785194bf69f1614cef2353c2c" => :sierra
    sha256 "1be8f19849300cb593fd454d4407620c25fbb04ca4f4d7dc0e16261b1d26e04e" => :el_capitan
  end

  head do
    url "https://github.com/jralls/gtk-mac-integration.git"

    depends_on "autoconf" => :build
    depends_on "automake" => :build
    depends_on "gtk-doc" => :build
    depends_on "libtool" => :build
  end

  depends_on "gobject-introspection" => :build
  depends_on "pkg-config" => :build
  depends_on "gettext"
  depends_on "gtk+"
  depends_on "gtk+3"
  depends_on "pygtk"

  def install
    args = %W[
      --disable-dependency-tracking
      --disable-silent-rules
{'fraction_non_alphanumeric': 0.09982788296041308, 'fraction_numerical': 0.18313253012048192, 'mean_word_length': 4.462406015037594, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 23, 'https://': 8, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3602482', 'n_tokens_mistral': 1540, 'n_tokens_neox': 1257, 'n_words': 161}