<commit_before>class Gearboy < Formula
  desc "Nintendo Game Boy (Color) emulator"
  homepage "https://github.com/drhelius/Gearboy"
  url "https://github.com/drhelius/Gearboy/archive/gearboy-2.3.1.tar.gz"
  sha256 "5182f74b7d4a76ee3a995968149e8f2b07841225b30193537ffda17dfd6feb01"
  head "https://github.com/drhelius/Gearboy.git"

  bottle do
    cellar :any
    sha256 "2c6a9f3e619bbb3a334ede4c3ab8cdfbb930b14536285427c4ec42e571a54755" => :sierra
    sha256 "2c6a9f3e619bbb3a334ede4c3ab8cdfbb930b14536285427c4ec42e571a54755" => :el_capitan
    sha256 "1e0697e7131d6a8b273055153c60fa4d596e23fc916a6a7bc85c47bc2ac02a5f" => :yosemite
  end

  depends_on "qt5"
  depends_on "sdl2"

  def install
    cd "platforms/macosx/Gearboy" do
      inreplace "Gearboy.pro" do |s|
        s.gsub! "/usr/local/include", Formula["sdl2"].include
        s.gsub! "/usr/local/lib", Formula["sdl2"].lib
      end
      system "#{Formula["qt5"].bin}/qmake", "PREFIX=#{prefix}", "CONFIG+=c++11"<commit_msg>gearboy: rename qt5 to qt.<commit_after>class Gearboy < Formula
  desc "Nintendo Game Boy (Color) emulator"
  homepage "https://github.com/drhelius/Gearboy"
  url "https://github.com/drhelius/Gearboy/archive/gearboy-2.3.1.tar.gz"
  sha256 "5182f74b7d4a76ee3a995968149e8f2b07841225b30193537ffda17dfd6feb01"
  revision 1
  head "https://github.com/drhelius/Gearboy.git"

  bottle do
    cellar :any
    sha256 "2c6a9f3e619bbb3a334ede4c3ab8cdfbb930b14536285427c4ec42e571a54755" => :sierra
    sha256 "2c6a9f3e619bbb3a334ede4c3ab8cdfbb930b14536285427c4ec42e571a54755" => :el_capitan
    sha256 "1e0697e7131d6a8b273055153c60fa4d596e23fc916a6a7bc85c47bc2ac02a5f" => :yosemite
  end

  depends_on "qt"
  depends_on "sdl2"

  def install
    cd "platforms/macosx/Gearboy" do
      inreplace "Gearboy.pro" do |s|
        s.gsub! "/usr/local/include", Formula["sdl2"].include
        s.gsub! "/usr/local/lib", Formula["sdl2"].lib
      end
      system "#{Formula["qt"].bin}/qmake", "PREFIX=#{prefix}", "CONFIG+=c++11"
{'fraction_non_alphanumeric': 0.12349397590361445, 'fraction_numerical': 0.18473895582329317, 'mean_word_length': 4.598314606741573, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, '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': '5586299', 'n_tokens_mistral': 1073, 'n_tokens_neox': 905, 'n_words': 115}