35 lines
1.3 KiB
Ruby
35 lines
1.3 KiB
Ruby
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",
|
|
tag: "v2.9.1",
|
|
revision: "4cea08d264933634db5bc06da9d8d88fb5ddae07"
|
|
license "ISC"
|
|
head "https://github.com/l-smash/l-smash.git"
|
|
|
|
bottle do
|
|
sha256 cellar: :any, catalina: "504caa461b4bc44e2d22420bf21ac7242145f1edd6e982d22ae08d3291c82a99"
|
|
sha256 cellar: :any, mojave: "811e696583af5a78ec288d46f8815d5a5db246f335d2ba2e0d4f3fce9a98e2a2"
|
|
sha256 cellar: :any, high_sierra: "eae1dfce4f50c3b48d2a3fabf415ad7ec98de0937d610fec98d700e517e18934"
|
|
sha256 cellar: :any, sierra: "57802892865529a99658bd4da1b29eb5287259183658131cc215ef80fcd0cfbe"
|
|
sha256 cellar: :any, el_capitan: "5751796e42e7d544f4976bc304a0ae7407dc5217b2b4218b0a6afdc18ea3eeaf"
|
|
sha256 cellar: :any, yosemite: "3703bdeb1dfe66aef898e60a990f4e64f0ab3c1fe26a49cf824b3c6998acaacc"
|
|
end
|
|
|
|
# failed to upgrade since 02-11-2018
|
|
# https://github.com/l-smash/l-smash/issues/80
|
|
disable! date: "2020-12-08", because: :unmaintained
|
|
|
|
def install
|
|
system "./configure", "--prefix=#{prefix}", "--enable-shared"
|
|
system "make", "install"
|
|
end
|
|
|
|
test do
|
|
system bin/"boxdumper", "-v"
|
|
system bin/"muxer", "-v"
|
|
system bin/"remuxer", "-v"
|
|
system bin/"timelineeditor", "-v"
|
|
end
|
|
end
|