<commit_before>class Corsixth < Formula
  desc "Open source clone of Theme Hospital"
  homepage "https://github.com/CorsixTH/CorsixTH"
  url "https://github.com/CorsixTH/CorsixTH/archive/v0.66.tar.gz"
  sha256 "9f87ff002405501b12798a715b691496775a4f9727188eeba167143816992a0f"
  license "MIT"
  revision 1
  head "https://github.com/CorsixTH/CorsixTH.git", branch: "master"

  bottle do
    sha256 arm64_monterey: "f4d14eb421f532a4a488e679132d306eaf9bf1ebd1b39c2e02e63fbb04bdad4b"
    sha256 arm64_big_sur:  "5beb15c7c0b6ed9f546005d5acbe37517a508e877e96321c9bf6523b3c80d367"
    sha256 monterey:       "e924cb36de87cb61b5eb08d6eaeb28b8be0c9b905cd78f78b39d5ff8a4bcb7cd"
    sha256 big_sur:        "478d7f02be8a3b833146a89f1328323c5278bed101b09e8bb8a1c3381cba07d3"
    sha256 catalina:       "38f468fe76921a98c93b6c136bfeee177abb3e5d17aaf8d0f1e885191661d065"
    sha256 x86_64_linux:   "3adb8207f243c96478315ccee89c7869a8d9daeb6dc8e41d4fc81b5acc4d0fa7"
  end

  depends_on "cmake" => :build
  depends_on "luarocks" => :build
  depends_on xcode: :build
  depends_on "ffmpeg"
  depends_on "freetype"
  depends_on "lua"
  depends_on "sdl2"
  depends_on "sdl2_mixer"

  on_linux do
    depends_on "gcc"
    depends_on "mesa"
  end

  fails_with gcc: "5" # ffmpeg is compiled with GCC

  resource "lpeg" do
    url "http://www.inf.puc-rio.br/~roberto/lpeg/lpeg-1.0.2.tar.gz"
    mirror "https://sources.voidlinux.org/lua-lpeg-1.0.2/lpeg-1.0.2.tar.gz"
    sha256 "48d66576051b6c78388faad09b70493093264588fcd0f258ddaab1cdd4a15ffe"<commit_msg>corsixth: remove remove gcc dependency on linux<commit_after>class Corsixth < Formula
  desc "Open source clone of Theme Hospital"
  homepage "https://github.com/CorsixTH/CorsixTH"
  url "https://github.com/CorsixTH/CorsixTH/archive/v0.66.tar.gz"
  sha256 "9f87ff002405501b12798a715b691496775a4f9727188eeba167143816992a0f"
  license "MIT"
  revision 1
  head "https://github.com/CorsixTH/CorsixTH.git", branch: "master"

  # Linux bottle removed for GCC 12 migration
  bottle do
    sha256 arm64_monterey: "f4d14eb421f532a4a488e679132d306eaf9bf1ebd1b39c2e02e63fbb04bdad4b"
    sha256 arm64_big_sur:  "5beb15c7c0b6ed9f546005d5acbe37517a508e877e96321c9bf6523b3c80d367"
    sha256 monterey:       "e924cb36de87cb61b5eb08d6eaeb28b8be0c9b905cd78f78b39d5ff8a4bcb7cd"
    sha256 big_sur:        "478d7f02be8a3b833146a89f1328323c5278bed101b09e8bb8a1c3381cba07d3"
    sha256 catalina:       "38f468fe76921a98c93b6c136bfeee177abb3e5d17aaf8d0f1e885191661d065"
  end

  depends_on "cmake" => :build
  depends_on "luarocks" => :build
  depends_on xcode: :build
  depends_on "ffmpeg"
  depends_on "freetype"
  depends_on "lua"
  depends_on "sdl2"
  depends_on "sdl2_mixer"

  on_linux do
    depends_on "mesa"
  end

  fails_with gcc: "5" # ffmpeg is compiled with GCC

  resource "lpeg" do
    url "http://www.inf.puc-rio.br/~roberto/lpeg/lpeg-1.0.2.tar.gz"
    mirror "https://sources.voidlinux.org/lua-lpeg-1.0.2/lpeg-1.0.2.tar.gz"
    sha256 "48d66576051b6c78388faad09b70493093264588fcd0f258ddaab1cdd4a15ffe"
{'fraction_non_alphanumeric': 0.0861101946552293, 'fraction_numerical': 0.2256680963378423, 'mean_word_length': 4.9450980392156865, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 8, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3904736', 'n_tokens_mistral': 1762, 'n_tokens_neox': 1437, 'n_words': 183}