<commit_before>require 'formula'

class X264 <Formula
  head 'git://git.videolan.org/x264.git', :tag => '114461'
  depends_on 'yasm'

  homepage 'http://www.videolan.org/developers/x264.html'

  def install
    system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking","--enable-shared"
    system "make install"
  end
end<commit_msg>Update x264<commit_after>require 'formula'

class X264 <Formula
  homepage 'http://www.videolan.org/developers/x264.html'
  head 'git://git.videolan.org/x264.git',
        :tag => '20fa784d2d9e0d5e524d4e3834699e9ff9b57511'

  depends_on 'yasm'


  def install
    system "./configure", "--prefix=#{prefix}",
                          "--enable-shared"

    inreplace 'config.mak' do |s|
      ldflags = s.get_make_var 'LDFLAGS'
      s.change_make_var! 'LDFLAGS', ldflags.gsub!(' -s', '')

      if MACOS_VERSION >= 10.6 and Hardware.is_64_bit?
        soflags = s.get_make_var 'SOFLAGS'
        s.change_make_var! 'SOFLAGS', soflags.gsub!(' -Wl,-read_only_relocs,suppress', '')
      end
    end

    system "make install"
  end
end
{'fraction_non_alphanumeric': 0.15579710144927536, 'fraction_numerical': 0.05344202898550725, 'mean_word_length': 3.123134328358209, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 6, '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': '775722', 'n_tokens_mistral': 448, 'n_tokens_neox': 402, 'n_words': 74}