<commit_before>class LSmash < Formula
  desc "Tool for working with MP4 files"
  homepage "https://l-smash.github.io/l-smash/"
  url "https://github.com/l-smash/l-smash.git",
      shallow:  false,
      tag:      "v2.9.1",
      revision: "4cea08d264933634db5bc06da9d8d88fb5ddae07"
  license "ISC"
  head "https://github.com/l-smash/l-smash.git"

  bottle do
    cellar :any
    sha256 "504caa461b4bc44e2d22420bf21ac7242145f1edd6e982d22ae08d3291c82a99" => :catalina
    sha256 "811e696583af5a78ec288d46f8815d5a5db246f335d2ba2e0d4f3fce9a98e2a2" => :mojave
    sha256 "eae1dfce4f50c3b48d2a3fabf415ad7ec98de0937d610fec98d700e517e18934" => :high_sierra
    sha256 "57802892865529a99658bd4da1b29eb5287259183658131cc215ef80fcd0cfbe" => :sierra
    sha256 "5751796e42e7d544f4976bc304a0ae7407dc5217b2b4218b0a6afdc18ea3eeaf" => :el_capitan
    sha256 "3703bdeb1dfe66aef898e60a990f4e64f0ab3c1fe26a49cf824b3c6998acaacc" => :yosemite
    sha256 "78c5c52a90e1609694b43a45240126515f97be8a1d129a57215d4a7ba9e3717f" => :mavericks
  end

  # failed to upgrade since 02-11-2018
  # https://github.com/l-smash/l-smash/issues/80
  disable! because: "is unable to be upgraded, necessary patches not merged upstream"

  def install
    system "./configure", "--prefix=#{prefix}", "--enable-shared"<commit_msg>l-smash: disable<commit_after>class LSmash < Formula
  desc "Tool for working with MP4 files"
  homepage "https://l-smash.github.io/l-smash/"
  url "https://github.com/l-smash/l-smash.git",
      shallow:  false,
      tag:      "v2.9.1",
      revision: "4cea08d264933634db5bc06da9d8d88fb5ddae07"
  license "ISC"
  head "https://github.com/l-smash/l-smash.git"

  bottle do
    cellar :any
    sha256 "504caa461b4bc44e2d22420bf21ac7242145f1edd6e982d22ae08d3291c82a99" => :catalina
    sha256 "811e696583af5a78ec288d46f8815d5a5db246f335d2ba2e0d4f3fce9a98e2a2" => :mojave
    sha256 "eae1dfce4f50c3b48d2a3fabf415ad7ec98de0937d610fec98d700e517e18934" => :high_sierra
    sha256 "57802892865529a99658bd4da1b29eb5287259183658131cc215ef80fcd0cfbe" => :sierra
    sha256 "5751796e42e7d544f4976bc304a0ae7407dc5217b2b4218b0a6afdc18ea3eeaf" => :el_capitan
    sha256 "3703bdeb1dfe66aef898e60a990f4e64f0ab3c1fe26a49cf824b3c6998acaacc" => :yosemite
    sha256 "78c5c52a90e1609694b43a45240126515f97be8a1d129a57215d4a7ba9e3717f" => :mavericks
  end

  disable! date: "2020-12-08", because: :unmaintained

  # failed to upgrade since 02-11-2018
  # https://github.com/l-smash/l-smash/issues/80
  disable! because: "is unable to be upgraded, necessary patches not merged upstream"

  def install
    system "./configure", "--prefix=#{prefix}", "--enable-shared"
{'fraction_non_alphanumeric': 0.1006074411541382, 'fraction_numerical': 0.25740318906605925, 'mean_word_length': 5.02974828375286, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 17, 'https://': 8, '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': '3467560', 'n_tokens_mistral': 1530, 'n_tokens_neox': 1194, 'n_words': 153}