hornetseye-alsa 1.3.1 → 1.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Rakefile +5 -97
- data/config.rb +24 -0
- metadata +25 -46
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 656ebba0f409d7dec7ba0db407112279036ce7da
|
4
|
+
data.tar.gz: 5993a040d495bdd827287122fff8c1d9b92661a6
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 244458f84b2886db91669902dc343877d44b887545bd03174dbf6b400a84ab33db64b08cdb1bbfc5b07d91130d340e97c7fd457946d8b9aad07a72a078fcf39c
|
7
|
+
data.tar.gz: dd0131c53b2998d096fc945c3d9f69db1f56229ac5a6ebd2fce186f23b13a15a8c9b78df6c436a80d340ef911a5c7196a46f93ea3383973044030ce4fa8e1be8
|
data/Rakefile
CHANGED
@@ -5,33 +5,14 @@ require 'rake/testtask'
|
|
5
5
|
require 'rake/packagetask'
|
6
6
|
require 'rake/loaders/makefile'
|
7
7
|
require 'rbconfig'
|
8
|
-
|
9
|
-
PKG_NAME = 'hornetseye-alsa'
|
10
|
-
PKG_VERSION = '1.3.1'
|
11
|
-
CFG = RbConfig::CONFIG
|
12
|
-
CXX = ENV[ 'CXX' ] || 'g++'
|
13
|
-
RB_FILES = FileList[ 'lib/**/*.rb' ]
|
14
|
-
CC_FILES = FileList[ 'ext/*.cc' ]
|
15
|
-
HH_FILES = FileList[ 'ext/*.hh' ] + FileList[ 'ext/*.tcc' ]
|
16
|
-
TC_FILES = FileList[ 'test/tc_*.rb' ]
|
17
|
-
TS_FILES = FileList[ 'test/ts_*.rb' ]
|
18
|
-
SO_FILE = "ext/#{PKG_NAME.tr '\-', '_'}.#{CFG[ 'DLEXT' ]}"
|
19
|
-
PKG_FILES = [ 'Rakefile', 'README.md', 'COPYING', '.document' ] +
|
20
|
-
RB_FILES + CC_FILES + HH_FILES + TS_FILES + TC_FILES
|
21
|
-
BIN_FILES = [ 'README.md', 'COPYING', '.document', SO_FILE ] +
|
22
|
-
RB_FILES + TS_FILES + TC_FILES
|
23
|
-
SUMMARY = %q{Play audio data using libalsa}
|
24
|
-
DESCRIPTION = %q{This Ruby extension provides an interface for playing audio data using ALSA.}
|
25
|
-
LICENSE = 'GPL-3+'
|
26
|
-
AUTHOR = %q{Jan Wedekind}
|
27
|
-
EMAIL = %q{jan@wedesoft.de}
|
28
|
-
HOMEPAGE = %q{http://wedesoft.github.com/hornetseye-alsa/}
|
8
|
+
require_relative 'config'
|
29
9
|
|
30
10
|
OBJ = CC_FILES.ext 'o'
|
31
11
|
$CXXFLAGS = "-DNDEBUG #{CFG[ 'CPPFLAGS' ]} #{CFG[ 'CFLAGS' ]}"
|
32
|
-
if CFG[
|
33
|
-
$CXXFLAGS = "#{$CXXFLAGS} -I#{CFG[
|
34
|
-
|
12
|
+
if CFG['rubyarchhdrdir']
|
13
|
+
$CXXFLAGS = "#{$CXXFLAGS} -I#{CFG['rubyhdrdir']} -I#{CFG['rubyarchhdrdir']}"
|
14
|
+
elsif CFG['rubyhdrdir']
|
15
|
+
$CXXFLAGS = "#{$CXXFLAGS} -I#{CFG['rubyhdrdir' ]} -I#{CFG['rubyhdrdir']}/#{CFG['arch']}"
|
35
16
|
else
|
36
17
|
$CXXFLAGS = "#{$CXXFLAGS} -I#{CFG[ 'archdir' ]}"
|
37
18
|
end
|
@@ -93,79 +74,6 @@ Rake::PackageTask.new PKG_NAME, PKG_VERSION do |p|
|
|
93
74
|
p.package_files = PKG_FILES
|
94
75
|
end
|
95
76
|
|
96
|
-
begin
|
97
|
-
require 'rubygems'
|
98
|
-
require 'rubygems/builder'
|
99
|
-
$SPEC = Gem::Specification.new do |s|
|
100
|
-
s.name = PKG_NAME
|
101
|
-
s.version = PKG_VERSION
|
102
|
-
s.platform = Gem::Platform::RUBY
|
103
|
-
s.date = Date.today.to_s
|
104
|
-
s.summary = SUMMARY
|
105
|
-
s.description = DESCRIPTION
|
106
|
-
s.license = LICENSE
|
107
|
-
s.author = AUTHOR
|
108
|
-
s.email = EMAIL
|
109
|
-
s.homepage = HOMEPAGE
|
110
|
-
s.files = PKG_FILES
|
111
|
-
s.test_files = TC_FILES
|
112
|
-
s.require_paths = [ 'lib', 'ext' ]
|
113
|
-
s.rubyforge_project = %q{hornetseye}
|
114
|
-
s.extensions = %w{Rakefile}
|
115
|
-
s.has_rdoc = 'yard'
|
116
|
-
s.extra_rdoc_files = []
|
117
|
-
s.rdoc_options = %w{--no-private}
|
118
|
-
s.add_dependency %<malloc>, [ '~> 1.2' ]
|
119
|
-
s.add_dependency %<multiarray>, [ '~> 1.0' ]
|
120
|
-
s.add_development_dependency %q{rake}
|
121
|
-
end
|
122
|
-
GEM_SOURCE = "#{PKG_NAME}-#{PKG_VERSION}.gem"
|
123
|
-
$BINSPEC = Gem::Specification.new do |s|
|
124
|
-
s.name = PKG_NAME
|
125
|
-
s.version = PKG_VERSION
|
126
|
-
s.platform = Gem::Platform::CURRENT
|
127
|
-
s.date = Date.today.to_s
|
128
|
-
s.summary = SUMMARY
|
129
|
-
s.description = DESCRIPTION
|
130
|
-
s.license = LICENSE
|
131
|
-
s.author = AUTHOR
|
132
|
-
s.email = EMAIL
|
133
|
-
s.homepage = HOMEPAGE
|
134
|
-
s.files = BIN_FILES
|
135
|
-
s.test_files = TC_FILES
|
136
|
-
s.require_paths = [ 'lib', 'ext' ]
|
137
|
-
s.rubyforge_project = %q{hornetseye}
|
138
|
-
s.has_rdoc = 'yard'
|
139
|
-
s.extra_rdoc_files = []
|
140
|
-
s.rdoc_options = %w{--no-private}
|
141
|
-
s.add_dependency %<malloc>, [ '~> 1.2' ]
|
142
|
-
s.add_dependency %<multiarray>, [ '~> 1.0' ]
|
143
|
-
end
|
144
|
-
GEM_BINARY = "#{PKG_NAME}-#{PKG_VERSION}-#{$BINSPEC.platform}.gem"
|
145
|
-
desc "Build the gem file #{GEM_SOURCE}"
|
146
|
-
task :gem => [ "pkg/#{GEM_SOURCE}" ]
|
147
|
-
file "pkg/#{GEM_SOURCE}" => [ 'pkg' ] + $SPEC.files do
|
148
|
-
when_writing 'Creating GEM' do
|
149
|
-
Gem::Builder.new( $SPEC ).build
|
150
|
-
verbose true do
|
151
|
-
FileUtils.mv GEM_SOURCE, "pkg/#{GEM_SOURCE}"
|
152
|
-
end
|
153
|
-
end
|
154
|
-
end
|
155
|
-
desc "Build the gem file #{GEM_BINARY}"
|
156
|
-
task :gem_binary => [ "pkg/#{GEM_BINARY}" ]
|
157
|
-
file "pkg/#{GEM_BINARY}" => [ 'pkg' ] + $BINSPEC.files do
|
158
|
-
when_writing 'Creating binary GEM' do
|
159
|
-
Gem::Builder.new( $BINSPEC ).build
|
160
|
-
verbose true do
|
161
|
-
FileUtils.mv GEM_BINARY, "pkg/#{GEM_BINARY}"
|
162
|
-
end
|
163
|
-
end
|
164
|
-
end
|
165
|
-
rescue LoadError
|
166
|
-
STDERR.puts 'Please install \'rubygems\' if you want to create Gem packages'
|
167
|
-
end
|
168
|
-
|
169
77
|
rule '.o' => '.cc' do |t|
|
170
78
|
sh "#{CXX} #{$CXXFLAGS} -c -o #{t.name} #{t.source}"
|
171
79
|
end
|
data/config.rb
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
require 'rake'
|
2
|
+
|
3
|
+
PKG_NAME = 'hornetseye-alsa'
|
4
|
+
PKG_VERSION = '1.3.2'
|
5
|
+
CFG = RbConfig::CONFIG
|
6
|
+
CXX = ENV[ 'CXX' ] || 'g++'
|
7
|
+
RB_FILES = ['config.rb'] + FileList[ 'lib/**/*.rb' ]
|
8
|
+
CC_FILES = FileList[ 'ext/*.cc' ]
|
9
|
+
HH_FILES = FileList[ 'ext/*.hh' ] + FileList[ 'ext/*.tcc' ]
|
10
|
+
TC_FILES = FileList[ 'test/tc_*.rb' ]
|
11
|
+
TS_FILES = FileList[ 'test/ts_*.rb' ]
|
12
|
+
SO_FILE = "ext/#{PKG_NAME.tr '\-', '_'}.#{CFG[ 'DLEXT' ]}"
|
13
|
+
PKG_FILES = [ 'Rakefile', 'README.md', 'COPYING', '.document' ] +
|
14
|
+
RB_FILES + CC_FILES + HH_FILES + TS_FILES + TC_FILES
|
15
|
+
BIN_FILES = [ 'README.md', 'COPYING', '.document', SO_FILE ] +
|
16
|
+
RB_FILES + TS_FILES + TC_FILES
|
17
|
+
SUMMARY = %q{Play audio data using libalsa}
|
18
|
+
DESCRIPTION = %q{This Ruby extension provides an interface for playing audio data using ALSA.}
|
19
|
+
LICENSE = 'GPL-3+'
|
20
|
+
AUTHOR = %q{Jan Wedekind}
|
21
|
+
EMAIL = %q{jan@wedesoft.de}
|
22
|
+
HOMEPAGE = %q{http://wedesoft.github.com/hornetseye-alsa/}
|
23
|
+
|
24
|
+
|
metadata
CHANGED
@@ -1,64 +1,43 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hornetseye-alsa
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
5
|
-
prerelease:
|
4
|
+
version: 1.3.2
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Jan Wedekind
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2015-05-15 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: malloc
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- - ~>
|
17
|
+
- - "~>"
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: '1.2'
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- - ~>
|
24
|
+
- - "~>"
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: '1.2'
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: multiarray
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
|
-
- - ~>
|
31
|
+
- - "~>"
|
36
32
|
- !ruby/object:Gem::Version
|
37
33
|
version: '1.0'
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
|
-
- - ~>
|
38
|
+
- - "~>"
|
44
39
|
- !ruby/object:Gem::Version
|
45
40
|
version: '1.0'
|
46
|
-
- !ruby/object:Gem::Dependency
|
47
|
-
name: rake
|
48
|
-
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
|
-
requirements:
|
51
|
-
- - ! '>='
|
52
|
-
- !ruby/object:Gem::Version
|
53
|
-
version: '0'
|
54
|
-
type: :development
|
55
|
-
prerelease: false
|
56
|
-
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
|
-
requirements:
|
59
|
-
- - ! '>='
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '0'
|
62
41
|
description: This Ruby extension provides an interface for playing audio data using
|
63
42
|
ALSA.
|
64
43
|
email: jan@wedesoft.de
|
@@ -67,48 +46,48 @@ extensions:
|
|
67
46
|
- Rakefile
|
68
47
|
extra_rdoc_files: []
|
69
48
|
files:
|
70
|
-
-
|
71
|
-
- README.md
|
49
|
+
- ".document"
|
72
50
|
- COPYING
|
73
|
-
- .
|
74
|
-
-
|
75
|
-
-
|
76
|
-
- lib/hornetseye-alsa/alsaoutput.rb
|
77
|
-
- lib/hornetseye-alsa/docs.rb
|
78
|
-
- ext/sequence.cc
|
79
|
-
- ext/init.cc
|
51
|
+
- README.md
|
52
|
+
- Rakefile
|
53
|
+
- config.rb
|
80
54
|
- ext/alsainput.cc
|
81
|
-
- ext/alsaoutput.cc
|
82
|
-
- ext/sequence.hh
|
83
55
|
- ext/alsainput.hh
|
56
|
+
- ext/alsaoutput.cc
|
84
57
|
- ext/alsaoutput.hh
|
85
58
|
- ext/error.hh
|
59
|
+
- ext/init.cc
|
86
60
|
- ext/rubyinc.hh
|
61
|
+
- ext/sequence.cc
|
62
|
+
- ext/sequence.hh
|
63
|
+
- lib/hornetseye-alsa/alsainput.rb
|
64
|
+
- lib/hornetseye-alsa/alsaoutput.rb
|
65
|
+
- lib/hornetseye-alsa/docs.rb
|
66
|
+
- lib/hornetseye_alsa_ext.rb
|
87
67
|
homepage: http://wedesoft.github.com/hornetseye-alsa/
|
88
68
|
licenses:
|
89
69
|
- GPL-3+
|
70
|
+
metadata: {}
|
90
71
|
post_install_message:
|
91
|
-
rdoc_options:
|
92
|
-
- --no-private
|
72
|
+
rdoc_options: []
|
93
73
|
require_paths:
|
94
74
|
- lib
|
95
75
|
- ext
|
96
76
|
required_ruby_version: !ruby/object:Gem::Requirement
|
97
|
-
none: false
|
98
77
|
requirements:
|
99
|
-
- -
|
78
|
+
- - ">="
|
100
79
|
- !ruby/object:Gem::Version
|
101
80
|
version: '0'
|
102
81
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
103
|
-
none: false
|
104
82
|
requirements:
|
105
|
-
- -
|
83
|
+
- - ">="
|
106
84
|
- !ruby/object:Gem::Version
|
107
85
|
version: '0'
|
108
86
|
requirements: []
|
109
87
|
rubyforge_project: hornetseye
|
110
|
-
rubygems_version:
|
88
|
+
rubygems_version: 2.4.6
|
111
89
|
signing_key:
|
112
|
-
specification_version:
|
90
|
+
specification_version: 4
|
113
91
|
summary: Play audio data using libalsa
|
114
92
|
test_files: []
|
93
|
+
has_rdoc: yard
|