<commit_before>class Vips < Formula
  desc "Image processing library"
  homepage "https://github.com/libvips/libvips"
  url "https://github.com/libvips/libvips/releases/download/v8.13.1/vips-8.13.1.tar.gz"
  sha256 "ad377b7e561bb2118de9a3864fcaa60c61ba7f47e849f6044d1b339906197702"
  license "LGPL-2.1-or-later"

  livecheck do
    url :stable
    strategy :github_latest
  end

  bottle do
    sha256 arm64_monterey: "321af8d4643cefc321ca350800d059ccd0671fcd2d5550a3d52869d5de1b5bbf"
    sha256 arm64_big_sur:  "0bce10169f0d654aaf4a54925e20a90707280df2f0e1ffdb34cbfe53d0fb77f9"
    sha256 monterey:       "8396cca72483ff7702006b6c38fdc0931dbedc5f7a3bd02bb396bd9571487f2f"
    sha256 big_sur:        "75d86a0a03df9781be556632d059fb2587a001c4de7f1338bbc8971452c678a8"
    sha256 catalina:       "9a2b7a0442105de8aa6773786c1c666abe7de3829dd94d6d70d51f386d470bef"
    sha256 x86_64_linux:   "5b15129a3f66a817e4e7a19fe0d63d6d407f9cb8b2ebaad2c57c257b504052a8"
  end

  depends_on "gobject-introspection" => :build
  depends_on "meson" => :build
  depends_on "ninja" => :build
  depends_on "pkg-config" => :build
  depends_on "cairo"
  depends_on "cfitsio"
  depends_on "cgif"
  depends_on "fftw"
  depends_on "fontconfig"
  depends_on "gettext"
  depends_on "glib"
  depends_on "imagemagick"
  depends_on "jpeg-xl"
  depends_on "libexif"
  depends_on "libgsf"
  depends_on "libheif"
  depends_on "libimagequant"
  depends_on "libmatio"
  depends_on "librsvg"
  depends_on "libspng"
  depends_on "libtiff"
  depends_on "little-cms2"
  depends_on "mozjpeg"
  depends_on "openexr"
  depends_on "openjpeg"
  depends_on "openslide"
  depends_on "orc"
  depends_on "pango"
  depends_on "poppler"
  depends_on "webp"

  uses_from_macos "expat"
  uses_from_macos "zlib"

  on_linux do
    depends_on "gcc"
  end

  fails_with gcc: "5"

  def install<commit_msg>vips: drop GCC dependency<commit_after>class Vips < Formula
  desc "Image processing library"
  homepage "https://github.com/libvips/libvips"
  url "https://github.com/libvips/libvips/releases/download/v8.13.1/vips-8.13.1.tar.gz"
  sha256 "ad377b7e561bb2118de9a3864fcaa60c61ba7f47e849f6044d1b339906197702"
  license "LGPL-2.1-or-later"

  livecheck do
    url :stable
    strategy :github_latest
  end

  bottle do
    sha256 arm64_monterey: "321af8d4643cefc321ca350800d059ccd0671fcd2d5550a3d52869d5de1b5bbf"
    sha256 arm64_big_sur:  "0bce10169f0d654aaf4a54925e20a90707280df2f0e1ffdb34cbfe53d0fb77f9"
    sha256 monterey:       "8396cca72483ff7702006b6c38fdc0931dbedc5f7a3bd02bb396bd9571487f2f"
    sha256 big_sur:        "75d86a0a03df9781be556632d059fb2587a001c4de7f1338bbc8971452c678a8"
    sha256 catalina:       "9a2b7a0442105de8aa6773786c1c666abe7de3829dd94d6d70d51f386d470bef"
    sha256 x86_64_linux:   "5b15129a3f66a817e4e7a19fe0d63d6d407f9cb8b2ebaad2c57c257b504052a8"
  end

  depends_on "gobject-introspection" => :build
  depends_on "meson" => :build
  depends_on "ninja" => :build
  depends_on "pkg-config" => :build
  depends_on "cairo"
  depends_on "cfitsio"
  depends_on "cgif"
  depends_on "fftw"
  depends_on "fontconfig"
  depends_on "gettext"
  depends_on "glib"
  depends_on "imagemagick"
  depends_on "jpeg-xl"
  depends_on "libexif"
  depends_on "libgsf"
  depends_on "libheif"
  depends_on "libimagequant"
  depends_on "libmatio"
  depends_on "librsvg"
  depends_on "libspng"
  depends_on "libtiff"
  depends_on "little-cms2"
  depends_on "mozjpeg"
  depends_on "openexr"
  depends_on "openjpeg"
  depends_on "openslide"
  depends_on "orc"
  depends_on "pango"
  depends_on "poppler"
  depends_on "webp"

  uses_from_macos "expat"
  uses_from_macos "zlib"

  fails_with gcc: "5"

  def install
{'fraction_non_alphanumeric': 0.07937806873977087, 'fraction_numerical': 0.1751227495908347, 'mean_word_length': 5.03125, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, 'https://': 4, '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': '7099897', 'n_tokens_mistral': 1990, 'n_tokens_neox': 1713, 'n_words': 239}