-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathvhs.rb
More file actions
65 lines (59 loc) · 2.37 KB
/
vhs.rb
File metadata and controls
65 lines (59 loc) · 2.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class Vhs < Formula
desc "A tool for recording terminal GIFs"
homepage "https://charm.land/"
version "0.11.0"
license "MIT"
depends_on "ffmpeg"
depends_on "ttyd"
on_macos do
if Hardware::CPU.intel?
url "https://github.com/charmbracelet/vhs/releases/download/v0.11.0/vhs_0.11.0_Darwin_x86_64.tar.gz"
sha256 "dd5c86c1cec1cf9ebd5ac6cf8119efcb731f055bbe7c7010408c741ee7770f64"
define_method(:install) do
bin.install "vhs"
bash_completion.install "completions/vhs.bash" => "vhs"
zsh_completion.install "completions/vhs.zsh" => "_vhs"
fish_completion.install "completions/vhs.fish"
man1.install "manpages/vhs.1.gz"
end
end
if Hardware::CPU.arm?
url "https://github.com/charmbracelet/vhs/releases/download/v0.11.0/vhs_0.11.0_Darwin_arm64.tar.gz"
sha256 "eec91ee450ba50b6d4fce2800593b2ac5fdd88a73056367d2c3b870ee44de3f7"
define_method(:install) do
bin.install "vhs"
bash_completion.install "completions/vhs.bash" => "vhs"
zsh_completion.install "completions/vhs.zsh" => "_vhs"
fish_completion.install "completions/vhs.fish"
man1.install "manpages/vhs.1.gz"
end
end
end
on_linux do
if Hardware::CPU.intel? && Hardware::CPU.is_64_bit?
url "https://github.com/charmbracelet/vhs/releases/download/v0.11.0/vhs_0.11.0_Linux_x86_64.tar.gz"
sha256 "99cb634587eaae0473c1ea377db80c3a048c27f99fe0a7febb1a1e8cb7ee5009"
define_method(:install) do
bin.install "vhs"
bash_completion.install "completions/vhs.bash" => "vhs"
zsh_completion.install "completions/vhs.zsh" => "_vhs"
fish_completion.install "completions/vhs.fish"
man1.install "manpages/vhs.1.gz"
end
end
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://github.com/charmbracelet/vhs/releases/download/v0.11.0/vhs_0.11.0_Linux_arm64.tar.gz"
sha256 "af782cddbf844a377df6ea41c0e72339393fa021be3f6cb70a2f47d48675d92b"
define_method(:install) do
bin.install "vhs"
bash_completion.install "completions/vhs.bash" => "vhs"
zsh_completion.install "completions/vhs.zsh" => "_vhs"
fish_completion.install "completions/vhs.fish"
man1.install "manpages/vhs.1.gz"
end
end
end
end