<commit_before>require 'formula'

class Ncmpcpp < Formula
  homepage 'http://ncmpcpp.rybczak.net/'
  url 'http://ncmpcpp.rybczak.net/stable/ncmpcpp-0.5.10.tar.bz2'
  sha1 '5e34733e7fbaf2862f04fdf8af8195ce860a9014'

  head do
    url 'git://repo.or.cz/ncmpcpp.git'

    depends_on :autoconf
    depends_on :automake
    depends_on :libtool
    depends_on 'boost' # not needed by stable
  end

  depends_on 'pkg-config' => :build
  depends_on 'taglib'
  depends_on 'libmpdclient'
  depends_on 'fftw' if build.include? "visualizer"

  fails_with :clang do
    cause "'itsTempString' is a private member of 'NCurses::basic_buffer<char>'"
  end if build.stable?

  option 'outputs', 'Compile with mpd outputs control'
  option 'visualizer', 'Compile with built-in visualizer'
  option 'clock', 'Compile with optional clock tab'<commit_msg>ncmpcpp: depends_on 'readline' if build.head?<commit_after>require 'formula'

class Ncmpcpp < Formula
  homepage 'http://ncmpcpp.rybczak.net/'
  url 'http://ncmpcpp.rybczak.net/stable/ncmpcpp-0.5.10.tar.bz2'
  sha1 '5e34733e7fbaf2862f04fdf8af8195ce860a9014'

  head do
    url 'git://repo.or.cz/ncmpcpp.git'

    depends_on :autoconf
    depends_on :automake
    depends_on :libtool
    depends_on 'boost' # not needed by stable
    depends_on 'readline'
  end

  depends_on 'pkg-config' => :build
  depends_on 'taglib'
  depends_on 'libmpdclient'
  depends_on 'fftw' if build.include? "visualizer"

  fails_with :clang do
    cause "'itsTempString' is a private member of 'NCurses::basic_buffer<char>'"
  end if build.stable?

  option 'outputs', 'Compile with mpd outputs control'
  option 'visualizer', 'Compile with built-in visualizer'
  option 'clock', 'Compile with optional clock tab'
{'fraction_non_alphanumeric': 0.10834298957126304, 'fraction_numerical': 0.03592120509849363, 'mean_word_length': 4.201807228915663, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '327113', 'n_tokens_mistral': 675, 'n_tokens_neox': 643, 'n_words': 153}