<commit_before>require 'formula'

class Pixman < Formula
  homepage 'http://www.cairographics.org/'
  url 'http://cairographics.org/releases/pixman-0.24.2.tar.gz'
  sha1 'acfc724d8032d3c0677b4466807e120e0c867678'

  depends_on 'pkg-config' => :build

  def options
    [["--universal", "Build a universal binary."]]
  end

  def install
    ENV.universal_binary if ARGV.build_universal?
    if ENV.compiler == :llvm
      if MacOS.xcode_version >= "4.1"
        ENV.clang
      else
        ENV.gcc_4_2
      end
    end

    # Disable gtk as it is only used to build tests
    system "./configure", "--disable-dependency-tracking",
                          "--prefix=#{prefix}",
                          "--enable-gtk=no"
    system "make install"
  end
end<commit_msg>pixman: Env.x11<commit_after>require 'formula'

class Pixman < Formula
  homepage 'http://www.cairographics.org/'
  url 'http://cairographics.org/releases/pixman-0.24.2.tar.gz'
  sha1 'acfc724d8032d3c0677b4466807e120e0c867678'

  depends_on 'pkg-config' => :build

  def options
    [["--universal", "Build a universal binary."]]
  end

  def install
    ENV.x11
    ENV.universal_binary if ARGV.build_universal?
    if ENV.compiler == :llvm
      if MacOS.xcode_version >= "4.1"
        ENV.clang
      else
        ENV.gcc_4_2
      end
    end

    # Disable gtk as it is only used to build tests
    system "./configure", "--disable-dependency-tracking",
                          "--prefix=#{prefix}",
                          "--enable-gtk=no"
    system "make install"
  end
end
{'fraction_non_alphanumeric': 0.12002567394094994, 'fraction_numerical': 0.051347881899871634, 'mean_word_length': 2.2683438155136266, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 0, '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': '2081260', 'n_tokens_mistral': 590, 'n_tokens_neox': 528, 'n_words': 117}