<commit_before>class Libxkbcommon < Formula
  desc "Keyboard handling library"
  homepage "https://xkbcommon.org/"
  url "https://xkbcommon.org/download/libxkbcommon-0.8.4.tar.xz"
  sha256 "60ddcff932b7fd352752d51a5c4f04f3d0403230a584df9a2e0d5ed87c486c8b"

  bottle do
    cellar :any_skip_relocation
    sha256 "d11930a50f52bee01e250ae80e1972a12f10a422bb885df42befdb4784f3a983" => :mojave
    sha256 "da3a6ad4c591da868a4aeb245b9311181a03d4392e82cc5159d24740c8695b86" => :high_sierra
    sha256 "6b78ab52d77c4c1c81485d4071298a38a78ec1d74e55e57786d833ea8ecc58af" => :sierra
  end

  head do
    url "https://github.com/xkbcommon/libxkbcommon.git"

    depends_on "autoconf" => :build
    depends_on "automake" => :build
    depends_on "libtool" => :build
  end

  depends_on "bison" => :build
  depends_on "pkg-config" => :build
  depends_on :x11 if OS.mac?

  unless OS.mac?
    depends_on "linuxbrew/xorg/xkeyboardconfig"
    depends_on "linuxbrew/xorg/libxcb"
  end

  def install
    system "./autogen.sh" if build.head?<commit_msg>libxkbcommon: update 0.8.4 bottle.<commit_after>class Libxkbcommon < Formula
  desc "Keyboard handling library"
  homepage "https://xkbcommon.org/"
  url "https://xkbcommon.org/download/libxkbcommon-0.8.4.tar.xz"
  sha256 "60ddcff932b7fd352752d51a5c4f04f3d0403230a584df9a2e0d5ed87c486c8b"

  bottle do
    cellar :any_skip_relocation
    sha256 "d11930a50f52bee01e250ae80e1972a12f10a422bb885df42befdb4784f3a983" => :mojave
    sha256 "da3a6ad4c591da868a4aeb245b9311181a03d4392e82cc5159d24740c8695b86" => :high_sierra
    sha256 "6b78ab52d77c4c1c81485d4071298a38a78ec1d74e55e57786d833ea8ecc58af" => :sierra
    sha256 "0bb5124a1cf6a6e1213a091c14d9605473bbe4baec950655a141e39a705eedf4" => :x86_64_linux
  end

  head do
    url "https://github.com/xkbcommon/libxkbcommon.git"

    depends_on "autoconf" => :build
    depends_on "automake" => :build
    depends_on "libtool" => :build
  end

  depends_on "bison" => :build
  depends_on "pkg-config" => :build
  depends_on :x11 if OS.mac?

  unless OS.mac?
    depends_on "linuxbrew/xorg/xkeyboardconfig"
    depends_on "linuxbrew/xorg/libxcb"
  end

  def install
    system "./autogen.sh" if build.head?
{'fraction_non_alphanumeric': 0.09469350411710888, 'fraction_numerical': 0.18755718206770358, 'mean_word_length': 4.80106100795756, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 20, 'https://': 6, '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': '6923440', 'n_tokens_mistral': 1160, 'n_tokens_neox': 967, 'n_words': 133}