<commit_before>require "formula"

class Lilypond < Formula
  homepage "http://lilypond.org/"
  url "http://download.linuxaudio.org/lilypond/sources/v2.18/lilypond-2.18.2.tar.gz"
  sha1 "09d3a1e0e9fadeb8ef6e279227a2b30812c7ee9b"
  revision 3

  devel do
    url "http://download.linuxaudio.org/lilypond/source/v2.19/lilypond-2.19.15.tar.gz"
    sha1 "d4be61e4074edc2d0447304db52941c147be06b6"
  end

  # LilyPond currently only builds with an older version of Guile (<1.9)
  resource "guile18" do
    url "http://ftpmirror.gnu.org/guile/guile-1.8.8.tar.gz"
    sha1 "548d6927aeda332b117f8fc5e4e82c39a05704f9"
  end

  env :std

  option "with-doc", "Build documentation in addition to binaries (may require several hours)."

  # Dependencies for LilyPond
  depends_on :tex
  depends_on :x11
  depends_on "pkg-config" => :build
  depends_on "gettext"
  depends_on "pango"
  depends_on "ghostscript"
  depends_on "mftrace"
  depends_on "fontforge" => "with-x11"
  depends_on "fondu"
  depends_on "texinfo"

  # Additional dependencies for guile1.8.
  depends_on :libtool
  depends_on "libffi"
  depends_on "libunistring"
  depends_on "bdw-gc"
  depends_on "gmp"<commit_msg>lilypond: modernize autotools deps<commit_after>require "formula"

class Lilypond < Formula
  homepage "http://lilypond.org/"
  url "http://download.linuxaudio.org/lilypond/sources/v2.18/lilypond-2.18.2.tar.gz"
  sha1 "09d3a1e0e9fadeb8ef6e279227a2b30812c7ee9b"
  revision 3

  devel do
    url "http://download.linuxaudio.org/lilypond/source/v2.19/lilypond-2.19.15.tar.gz"
    sha1 "d4be61e4074edc2d0447304db52941c147be06b6"
  end

  # LilyPond currently only builds with an older version of Guile (<1.9)
  resource "guile18" do
    url "http://ftpmirror.gnu.org/guile/guile-1.8.8.tar.gz"
    sha1 "548d6927aeda332b117f8fc5e4e82c39a05704f9"
  end

  env :std

  option "with-doc", "Build documentation in addition to binaries (may require several hours)."

  # Dependencies for LilyPond
  depends_on :tex
  depends_on :x11
  depends_on "pkg-config" => :build
  depends_on "gettext"
  depends_on "pango"
  depends_on "ghostscript"
  depends_on "mftrace"
  depends_on "fontforge" => "with-x11"
  depends_on "fondu"
  depends_on "texinfo"

  # Additional dependencies for guile1.8.
  depends_on "libtool" => :build
  depends_on "libffi"
  depends_on "libunistring"
  depends_on "bdw-gc"
  depends_on "gmp"
{'fraction_non_alphanumeric': 0.10750421585160203, 'fraction_numerical': 0.0893760539629005, 'mean_word_length': 4.158695652173913, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 8, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5857551', 'n_tokens_mistral': 1069, 'n_tokens_neox': 999, 'n_words': 187}