File: whispercpp.gemspec

package info (click to toggle)
whisper.cpp 1.8.3%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 32,228 kB
  • sloc: cpp: 188,765; ansic: 121,729; lisp: 10,221; sh: 4,272; objc: 2,159; ruby: 1,682; python: 1,177; javascript: 594; makefile: 144
file content (36 lines) | stat: -rw-r--r-- 1,162 bytes parent folder | download
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
require_relative "extsources"

Gem::Specification.new do |s|
  s.name    = "whispercpp"
  s.authors = ["Georgi Gerganov", "Todd A. Fisher"]
  s.version = '1.3.5'
  s.description = %q{High-performance inference of OpenAI's Whisper automatic speech recognition (ASR) model via Ruby}
  s.email   = 'todd.fisher@gmail.com'
  s.extra_rdoc_files = ['LICENSE', 'README.md']

  s.files = `git ls-files . -z`.split("\x0") +
              EXTSOURCES.collect {|file|
                basename = File.basename(file)
                if s.extra_rdoc_files.include?(basename)
                  basename
                else
                  file.sub("../..", "ext/sources")
                      .sub("../javascript", "ext/sources/bindings/javascript")
                end
              }

  s.summary = %q{Ruby whisper.cpp bindings}
  s.test_files = s.files.select {|file| file.start_with? "test/"}

  s.extensions << 'ext/extconf.rb'
  s.required_ruby_version = '>= 3.1.0'

  #### Documentation and testing.
  s.homepage = 'https://github.com/ggml-org/whisper.cpp'
  s.rdoc_options = ['--main', 'README.md']


    s.platform = Gem::Platform::RUBY

  s.licenses = ['MIT']
end