<commit_before>require 'formula'

class Pango < Formula
  homepage 'http://www.pango.org/'
  url 'http://ftp.gnome.org/pub/GNOME/sources/pango/1.34/pango-1.34.1.tar.xz'
  sha256 '1aea30df34a8ae4fcce71afd22aa5b57224b52916d46e3ea81ff9f1eb130e64c'

  bottle do
    root_url 'http://archive.org/download/julialang/bottles'
    cellar :any
    sha1 '9f6fe108b836d2c02f0bb2da9ab0d520599582dd' => :mountain_lion
    sha1 '9f6fe108b836d2c02f0bb2da9ab0d520599582dd' => :lion
    sha1 '9f6fe108b836d2c02f0bb2da9ab0d520599582dd' => :snow_leopard
  end

  option 'without-x', 'Build without X11 support'

  depends_on 'staticfloat/juliadeps/pkg-config' => :build
  depends_on 'staticfloat/juliadeps/xz' => :build
  depends_on 'staticfloat/juliadeps/glib'
  depends_on 'staticfloat/juliadeps/harfbuzz'

  unless build.include? 'without-x'
    depends_on :x11
    # Needs fontconfig 2.10.91, which is newer than what XQuartz provides
    depends_on 'staticfloat/juliadeps/fontconfig'
  end

  # The Cairo library shipped with Lion contains a flaw that causes Graphviz
  # to segfault. See the following ticket for information:
  #   https://trac.macports.org/ticket/30370
  # We depend on our cairo on all platforms for consistency
  depends_on 'staticfloat/juliadeps/cairo'

  fails_with :llvm do<commit_msg>Tell brew to not worry about x11 on pango as well<commit_after>require 'formula'

class Pango < Formula
  homepage 'http://www.pango.org/'
  url 'http://ftp.gnome.org/pub/GNOME/sources/pango/1.34/pango-1.34.1.tar.xz'
  sha256 '1aea30df34a8ae4fcce71afd22aa5b57224b52916d46e3ea81ff9f1eb130e64c'

  bottle do
    root_url 'http://archive.org/download/julialang/bottles'
    cellar :any
    sha1 '9f6fe108b836d2c02f0bb2da9ab0d520599582dd' => :mountain_lion
    sha1 '9f6fe108b836d2c02f0bb2da9ab0d520599582dd' => :lion
    sha1 '9f6fe108b836d2c02f0bb2da9ab0d520599582dd' => :snow_leopard
  end

  depends_on 'staticfloat/juliadeps/pkg-config' => :build
  depends_on 'staticfloat/juliadeps/xz' => :build
  depends_on 'staticfloat/juliadeps/glib'
  depends_on 'staticfloat/juliadeps/harfbuzz'

  # The Cairo library shipped with Lion contains a flaw that causes Graphviz
  # to segfault. See the following ticket for information:
  #   https://trac.macports.org/ticket/30370
  # We depend on our cairo on all platforms for consistency
  depends_on 'staticfloat/juliadeps/cairo'

  fails_with :llvm do
{'fraction_non_alphanumeric': 0.09296482412060302, 'fraction_numerical': 0.10845896147403684, 'mean_word_length': 4.5429234338747095, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 13, 'https://': 2, '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': '2414034', 'n_tokens_mistral': 1085, 'n_tokens_neox': 964, 'n_words': 179}