-
Notifications
You must be signed in to change notification settings - Fork 1
/
sonic-speech.rb
32 lines (26 loc) · 1.01 KB
/
sonic-speech.rb
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
# typed: false
# frozen_string_literal: true
class SonicSpeech < Formula
desc "Simple library to speed up or slow down speech"
homepage "https://github.com/espeak-ng/sonic"
url "https://github.com/espeak-ng/sonic/archive/release-0.2.0.tar.gz"
sha256 "c7827ce576838467590ffa1f935fbe1049e896dfed6c515cf569ad3779c24085"
revision 1
bottle do
root_url "https://github.com/danielbair/homebrew-tap/releases/download/bottles"
sha256 cellar: :any, yosemite: "9062b9127886de8c6895844d1a3dd23e3e4b49c041bc9a6fafac2ce705530137"
end
depends_on "libtool" => :build
depends_on "pkg-config" => :build
patch do
url "https://raw.githubusercontent.com/danielbair/homebrew-tap/7a24591f07c07e87f490823f620f6f4175aefbb9/patches/patch-sonic-mac.diff"
sha256 "d84f9e5be4c81fc7a5ebcc672d02b171b59ca4c17512d823b2deb4fe0e9ceed0"
end
def install
system "make", "USE_SPECTROGRAM=0", "PREFIX=#{prefix}"
system "make", "USE_SPECTROGRAM=0", "PREFIX=#{prefix}", "install"
end
test do
# nothing
end
end