<commit_before>require 'formula'

class Jack < Formula
  homepage 'http://jackaudio.org'
  url 'http://www.grame.fr/~letz/jack-1.9.7.tar.bz2'
  sha1 '0a344fd962666f7c95969da0576ac0228e71b30d'

  depends_on 'celt'
  depends_on 'libsamplerate'

  # default build assumes ppc+i386, changed to i386+x86_64
  def patches
    "https://gist.github.com/raw/636194/jack-1.9.6_homebrew.patch"
  end

  fails_with :clang do
    cause 'waf fails to find g++ when compiling with clang'
  end

  def install<commit_msg>jack: use fedora mirror<commit_after>require 'formula'

class Jack < Formula
  homepage 'http://jackaudio.org'
  url 'http://pkgs.fedoraproject.org/repo/pkgs/jack-audio-connection-kit/jack-1.9.7.tar.bz2/9759670feecbd43eeccf1c0f743ec199/jack-1.9.7.tar.bz2'
  sha1 '0a344fd962666f7c95969da0576ac0228e71b30d'

  depends_on 'celt'
  depends_on 'libsamplerate'

  # default build assumes ppc+i386, changed to i386+x86_64
  def patches
    "https://gist.github.com/raw/636194/jack-1.9.6_homebrew.patch"
  end

  fails_with :clang do
    cause 'waf fails to find g++ when compiling with clang'
  end

  def install
{'fraction_non_alphanumeric': 0.11151079136690648, 'fraction_numerical': 0.11241007194244604, 'mean_word_length': 4.013513513513513, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 1, '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': '5966726', 'n_tokens_mistral': 522, 'n_tokens_neox': 456, 'n_words': 86}