<commit_before>require 'formula'

class Libdc1394 < Formula
  homepage 'http://damien.douxchamps.net/ieee1394/libdc1394/'
  url 'http://downloads.sourceforge.net/project/libdc1394/libdc1394-2/2.2.0/libdc1394-2.2.0.tar.gz'
  sha1 '7e831258a65e7e111a9d52d8062aec6d28a1e4c4'

  depends_on 'pkg-config' => :build
  depends_on 'libusb'
  depends_on :x11

  def patches
    # fix issue due to bug in OSX Firewire stack<commit_msg>libdc1394: fix X11 dependency.<commit_after>require 'formula'

class Libdc1394 < Formula
  homepage 'http://damien.douxchamps.net/ieee1394/libdc1394/'
  url 'http://downloads.sourceforge.net/project/libdc1394/libdc1394-2/2.2.0/libdc1394-2.2.0.tar.gz'
  sha1 '7e831258a65e7e111a9d52d8062aec6d28a1e4c4'

  def patches
    # fix issue due to bug in OSX Firewire stack
{'fraction_non_alphanumeric': 0.11294416243654823, 'fraction_numerical': 0.15736040609137056, 'mean_word_length': 4.5174825174825175, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 4, 'https://': 0, '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': '4782143', 'n_tokens_mistral': 394, 'n_tokens_neox': 341, 'n_words': 53}