<commit_before>class Wesnoth < Formula
  desc "Single- and multi-player turn-based strategy game"
  homepage "https://www.wesnoth.org/"
  url "https://downloads.sourceforge.net/project/wesnoth/wesnoth-1.12/wesnoth-1.12.6/wesnoth-1.12.6.tar.bz2"
  sha256 "a50f384cead15f68f31cfa1a311e76a12098428702cb674d3521eb169eb92e4e"
  revision 4
  head "https://github.com/wesnoth/wesnoth.git"

  bottle do
    sha256 "c43c7a174fb7e8563de7090ae3b78d2ed9d5c988f0ee0c95d12b2de2511b1d31" => :sierra
    sha256 "c920c200fc992acee2dc18f680bd32844d88b5d0a3d42c66e21b396f306b17df" => :el_capitan
    sha256 "9f39e62c69724280814df1291928215db9a940a40e0b50e2fc5661b495c5ef4d" => :yosemite
  end

  option "with-ccache", "Speeds recompilation, convenient for beta testers"
  option "with-debug", "Build with debugging symbols"

  depends_on "scons" => :build
  depends_on "gettext" => :build
  depends_on "ccache" => :optional
  depends_on "fribidi"
  depends_on "boost"
  depends_on "libpng"
  depends_on "fontconfig"
  depends_on "cairo"
  depends_on "pango"

  depends_on "sdl"
  depends_on "sdl_image" # Must have png support
  depends_on "sdl_mixer" # The music is in .ogg format
  depends_on "sdl_net"
  depends_on "sdl_ttf"

  def install
    args = %W[prefix=#{prefix} docdir=#{doc} mandir=#{man} fifodir=#{var}/run/wesnothd gettextdir=#{Formula["gettext"].opt_prefix}]
    args << "OS_ENV=true"<commit_msg>wesnoth: update 1.12.6_4 bottle.<commit_after>class Wesnoth < Formula
  desc "Single- and multi-player turn-based strategy game"
  homepage "https://www.wesnoth.org/"
  url "https://downloads.sourceforge.net/project/wesnoth/wesnoth-1.12/wesnoth-1.12.6/wesnoth-1.12.6.tar.bz2"
  sha256 "a50f384cead15f68f31cfa1a311e76a12098428702cb674d3521eb169eb92e4e"
  revision 4
  head "https://github.com/wesnoth/wesnoth.git"

  bottle do
    sha256 "2ef2d6ab76e861711ca5d5f307e9771eb0fa3d0235f9ee9236b95864db1801e0" => :sierra
    sha256 "8878bacb681b332d3ae2d08a106692166d1d4cb7056b713f9613368303f1fd74" => :el_capitan
    sha256 "4802ef4287047c312dbb433e57a474ec0dc4040d1f15275c0f7514090fb2cbc7" => :yosemite
  end

  option "with-ccache", "Speeds recompilation, convenient for beta testers"
  option "with-debug", "Build with debugging symbols"

  depends_on "scons" => :build
  depends_on "gettext" => :build
  depends_on "ccache" => :optional
  depends_on "fribidi"
  depends_on "boost"
  depends_on "libpng"
  depends_on "fontconfig"
  depends_on "cairo"
  depends_on "pango"

  depends_on "sdl"
  depends_on "sdl_image" # Must have png support
  depends_on "sdl_mixer" # The music is in .ogg format
  depends_on "sdl_net"
  depends_on "sdl_ttf"

  def install
    args = %W[prefix=#{prefix} docdir=#{doc} mandir=#{man} fifodir=#{var}/run/wesnothd gettextdir=#{Formula["gettext"].opt_prefix}]
    args << "OS_ENV=true"
{'fraction_non_alphanumeric': 0.11122994652406418, 'fraction_numerical': 0.13832442067736186, 'mean_word_length': 5.249443207126949, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 15, 'https://': 6, 'lorem ipsum': 0, 'www.': 2, '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': '4848005', 'n_tokens_mistral': 1401, 'n_tokens_neox': 1215, 'n_words': 196}