<commit_before>class Synfig < Formula
  desc "Command-line renderer"
  homepage "https://synfig.org/"
  license "GPL-3.0-or-later"
  revision 2

  stable do
    url "https://downloads.sourceforge.net/project/synfig/releases/1.4.2/synfig-1.4.2.tar.gz"
    mirror "https://github.com/synfig/synfig/releases/download/v1.4.2/synfig-1.4.2.tar.gz"
    sha256 "e66688b908ab2f05f87cc5a364f958a1351f101ccab3b3ade33a926453002f4e"

    # Fix build with FFmpeg 5. Remove in the next release.
    # Backport of upstream commit due to NULL -> nullptr changes.
    # PR ref: https://github.com/synfig/synfig/pull/2734
    patch :DATA
  end

  livecheck do
    url :stable
    regex(%r{url=.*?/synfig[._-]v?(\d+(?:\.\d+)+)\.t}i)
  end

  bottle do
    sha256 arm64_monterey: "0cd5dc3b5382d939719fdb9ecc8e235bc497a94176f8a5325a7d6746a5d83ffa"
    sha256 arm64_big_sur:  "248a8a69404babd55d6d1e678fb2022d42639f47e7e5a8b34c92a014abbbd7ed"
    sha256 monterey:       "af48b521c6c938a7b9659ccc521a2dec3f4ee9d525b4f6cfa89e890423e7ed9d"
    sha256 big_sur:        "f85dbdbe02942899a886ad52ae90250d92eab5d9d107274f29d2f58051db47d2"
    sha256 catalina:       "5fab8763baffa4652cd3ff289ee4fad1530cd0a3dbbee0b74c17d0c52b785b4e"
    sha256 x86_64_linux:   "b6865d57013ac63ae95ee4208b993e7123390758fe195bd278b377eb2f5b8823"
  end

  head do
    url "https://github.com/synfig/synfig.git", branch: "master"
    depends_on "autoconf" => :build
    depends_on "automake" => :build
  end

  depends_on "intltool" => :build
  depends_on "pkg-config" => :build
  depends_on "boost"
  depends_on "cairo"
  depends_on "etl"
  depends_on "fftw"
  depends_on "freetype"
  depends_on "gettext"
  depends_on "libpng"
  depends_on "libsigc++@2"
  depends_on "libtool"
  depends_on "libxml++"<commit_msg>synfig: update 1.4.2_2 bottle.<commit_after>class Synfig < Formula
  desc "Command-line renderer"
  homepage "https://synfig.org/"
  license "GPL-3.0-or-later"
  revision 2

  stable do
    url "https://downloads.sourceforge.net/project/synfig/releases/1.4.2/synfig-1.4.2.tar.gz"
    mirror "https://github.com/synfig/synfig/releases/download/v1.4.2/synfig-1.4.2.tar.gz"
    sha256 "e66688b908ab2f05f87cc5a364f958a1351f101ccab3b3ade33a926453002f4e"

    # Fix build with FFmpeg 5. Remove in the next release.
    # Backport of upstream commit due to NULL -> nullptr changes.
    # PR ref: https://github.com/synfig/synfig/pull/2734
    patch :DATA
  end

  livecheck do
    url :stable
    regex(%r{url=.*?/synfig[._-]v?(\d+(?:\.\d+)+)\.t}i)
  end

  bottle do
    sha256 arm64_monterey: "920d6f73d8236b3559cf93465893931aaa929782f60e73107c53bb4e30a308e6"
    sha256 arm64_big_sur:  "c6f2045f16807852b5973ad47c2f569bec472cd3057b16b81936c8f5cfd968b5"
    sha256 monterey:       "be1fa009cdf23d70a48a1da1476f5ae76e42326a0411b349328fb8a7be370f22"
    sha256 big_sur:        "92612f7abc22c970ba345e09c01a426fa2ffe7080c6a5ec251fca8ed8ecfd2e4"
    sha256 catalina:       "0840206906aa67a5a26635465e96f5bc9578b7c8d5310d9052a10707726fa6ad"
    sha256 x86_64_linux:   "719aaac98ecf68e066a771f39b70322eca878d5fcbab89b86e901d331eb5e03d"
  end

  head do
    url "https://github.com/synfig/synfig.git", branch: "master"
    depends_on "autoconf" => :build
    depends_on "automake" => :build
  end

  depends_on "intltool" => :build
  depends_on "pkg-config" => :build
  depends_on "boost"
  depends_on "cairo"
  depends_on "etl"
  depends_on "fftw"
  depends_on "freetype"
  depends_on "gettext"
  depends_on "libpng"
  depends_on "libsigc++@2"
  depends_on "libtool"
  depends_on "libxml++"
{'fraction_non_alphanumeric': 0.10618469358938153, 'fraction_numerical': 0.18808246258119177, 'mean_word_length': 4.216494845360825, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 13, 'https://': 10, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7612941', 'n_tokens_mistral': 1906, 'n_tokens_neox': 1593, 'n_words': 224}