discorb-voice_dlls 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 192e8de1c4c9ff8852b0868f3c37c5c31d6af51c9047f4cab1354e4252fcc9f3
4
+ data.tar.gz: 42b965d718491709ea1cf115d86367a25255046f867cdd90804d1f128b51c62f
5
+ SHA512:
6
+ metadata.gz: c2c42264622895cf13e2ae18aa983cbf6b85a67c0325201890ab959202532795e5f9c4ea127fdeaf0c2bc589a0b91bfbaec2f451cea0e29e2e313597225a9e9a
7
+ data.tar.gz: f3c2bcf984d520cef90b1deebfd765bfd285a31c8a97ec94ce62c01dd6ef2c99d716ad387102279a7d4e41bbbd272b193f3f2bd0b429a9501bbbac239d70587b
data/CHANGELOG.md ADDED
@@ -0,0 +1,5 @@
1
+ ## [Unreleased]
2
+
3
+ ## [0.1.0] - 2022-04-09
4
+
5
+ - Initial release
data/Gemfile ADDED
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ source "https://rubygems.org"
4
+
5
+ # Specify your gem's dependencies in discorb-voice_dlls.gemspec
6
+ gemspec
7
+
8
+ gem "rake", "~> 13.0"
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2022 sevenc-nanashi
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,15 @@
1
+ # discorb-voice_dlls
2
+
3
+ DLL file of libsodium and opus.
4
+ Their license is under the folder.
5
+
6
+ ## Version info
7
+
8
+ | Library | Version |
9
+ | :-------- | ------- |
10
+ | opus | 1.3.1 |
11
+ | libsodium | 1.0.18 |
12
+
13
+ ## License
14
+
15
+ This repository is open on MIT License.
data/Rakefile ADDED
@@ -0,0 +1,4 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "bundler/gem_tasks"
4
+ task default: %i[]
@@ -0,0 +1,18 @@
1
+ /*
2
+ * ISC License
3
+ *
4
+ * Copyright (c) 2013-2022
5
+ * Frank Denis <j at pureftpd dot org>
6
+ *
7
+ * Permission to use, copy, modify, and/or distribute this software for any
8
+ * purpose with or without fee is hereby granted, provided that the above
9
+ * copyright notice and this permission notice appear in all copies.
10
+ *
11
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
12
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
13
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
14
+ * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
15
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
16
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
17
+ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
18
+ */
Binary file
data/bin/opus/COPYING ADDED
@@ -0,0 +1,44 @@
1
+ Copyright 2001-2011 Xiph.Org, Skype Limited, Octasic,
2
+ Jean-Marc Valin, Timothy B. Terriberry,
3
+ CSIRO, Gregory Maxwell, Mark Borgerding,
4
+ Erik de Castro Lopo
5
+
6
+ Redistribution and use in source and binary forms, with or without
7
+ modification, are permitted provided that the following conditions
8
+ are met:
9
+
10
+ - Redistributions of source code must retain the above copyright
11
+ notice, this list of conditions and the following disclaimer.
12
+
13
+ - Redistributions in binary form must reproduce the above copyright
14
+ notice, this list of conditions and the following disclaimer in the
15
+ documentation and/or other materials provided with the distribution.
16
+
17
+ - Neither the name of Internet Society, IETF or IETF Trust, nor the
18
+ names of specific contributors, may be used to endorse or promote
19
+ products derived from this software without specific prior written
20
+ permission.
21
+
22
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
23
+ ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
24
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
25
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
26
+ OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
27
+ EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
28
+ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
29
+ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
30
+ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
31
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
32
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33
+
34
+ Opus is subject to the royalty-free patent licenses which are
35
+ specified at:
36
+
37
+ Xiph.Org Foundation:
38
+ https://datatracker.ietf.org/ipr/1524/
39
+
40
+ Microsoft Corporation:
41
+ https://datatracker.ietf.org/ipr/1914/
42
+
43
+ Broadcom Corporation:
44
+ https://datatracker.ietf.org/ipr/1526/
data/bin/opus/opus.dll ADDED
Binary file
@@ -0,0 +1,33 @@
1
+ # frozen_string_literal: true
2
+
3
+ Gem::Specification.new do |spec|
4
+ spec.name = "discorb-voice_dlls"
5
+ spec.version = "1.0.0"
6
+ spec.authors = ["sevenc-nanashi"]
7
+ spec.email = ["sevenc-nanashi@sevenbot.jp"]
8
+
9
+ spec.summary = "DLL files for libsodium and opus."
10
+ spec.homepage = "https://github.com/discorb-lib/discorb-voice_dlls"
11
+ spec.license = "MIT"
12
+ spec.required_ruby_version = ">= 2.6.0"
13
+
14
+ spec.metadata["homepage_uri"] = spec.homepage
15
+ spec.metadata["source_code_uri"] = "https://github.com/discorb-lib/discorb-voice_dlls"
16
+
17
+ # Specify which files should be added to the gem when it is released.
18
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
19
+ spec.files = Dir.chdir(File.expand_path(__dir__)) do
20
+ `git ls-files -z`.split("\x0").reject do |f|
21
+ (f == __FILE__) || f.match(%r{\A(?:(?:test|spec|features)/|\.(?:git|travis|circleci)|appveyor)})
22
+ end
23
+ end
24
+ spec.bindir = "exe"
25
+ spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
26
+ spec.require_paths = ["lib"]
27
+
28
+ # Uncomment to register a new dependency of your gem
29
+ # spec.add_dependency "example-gem", "~> 1.0"
30
+
31
+ # For more information and examples about making a new gem, check out our
32
+ # guide at: https://bundler.io/guides/creating_gem.html
33
+ end
@@ -0,0 +1,4 @@
1
+ # frozen_string_literal: true
2
+
3
+ RubyInstaller::Runtime.add_dll_directory(__dir__ + "../../../bin/opus")
4
+ RubyInstaller::Runtime.add_dll_directory(__dir__ + "../../../bin/libsodium")
@@ -0,0 +1,3 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "discorb/voice_dlls"
metadata ADDED
@@ -0,0 +1,57 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: discorb-voice_dlls
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - sevenc-nanashi
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2022-04-09 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description:
14
+ email:
15
+ - sevenc-nanashi@sevenbot.jp
16
+ executables: []
17
+ extensions: []
18
+ extra_rdoc_files: []
19
+ files:
20
+ - CHANGELOG.md
21
+ - Gemfile
22
+ - LICENSE.txt
23
+ - README.md
24
+ - Rakefile
25
+ - bin/libsodium/LICENSE
26
+ - bin/libsodium/sodium.dll
27
+ - bin/opus/COPYING
28
+ - bin/opus/opus.dll
29
+ - discorb-voice_dlls.gemspec
30
+ - lib/discorb-voice_dlls.rb
31
+ - lib/discorb/voice_dlls.rb
32
+ homepage: https://github.com/discorb-lib/discorb-voice_dlls
33
+ licenses:
34
+ - MIT
35
+ metadata:
36
+ homepage_uri: https://github.com/discorb-lib/discorb-voice_dlls
37
+ source_code_uri: https://github.com/discorb-lib/discorb-voice_dlls
38
+ post_install_message:
39
+ rdoc_options: []
40
+ require_paths:
41
+ - lib
42
+ required_ruby_version: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - ">="
45
+ - !ruby/object:Gem::Version
46
+ version: 2.6.0
47
+ required_rubygems_version: !ruby/object:Gem::Requirement
48
+ requirements:
49
+ - - ">="
50
+ - !ruby/object:Gem::Version
51
+ version: '0'
52
+ requirements: []
53
+ rubygems_version: 3.2.32
54
+ signing_key:
55
+ specification_version: 4
56
+ summary: DLL files for libsodium and opus.
57
+ test_files: []