hornetseye-ffmpeg 1.2.2 → 1.2.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +7 -0
  2. data/Rakefile +5 -100
  3. data/config.rb +22 -0
  4. metadata +26 -49
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 45507c93f9cc81475b5131c712b889233387eba4
4
+ data.tar.gz: 4f5ab8109f039d49b2c3df9819b1ddf1aa07d1ea
5
+ SHA512:
6
+ metadata.gz: 7b92762bf737b96692fdd5204eadce4a0b6ff618d18753b1f641141a3fa4b9e5ec23c5ce7ad5d88f2d1e2e32ceb696102273ca1f3a0b1ee305bc47c00ec24d82
7
+ data.tar.gz: 7d3da487dcda8a06964a1895ca6342418c9389e6983010df7869825ebf6be7ec40a3109dca7fb603ab784d772f53b5f74136e83021942f14e0a9c47101c34c14
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-ffmpeg'
10
- PKG_VERSION = '1.2.2'
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{Read/write video frames using libffmpeg}
24
- DESCRIPTION = %q{This Ruby extension defines the class Hornetseye::AVInput for reading frames from video files and the class Hornetseye::AVOutput for writing frames to video files.}
25
- LICENSE = 'GPL-3+'
26
- AUTHOR = %q{Jan Wedekind}
27
- EMAIL = %q{jan@wedesoft.de}
28
- HOMEPAGE = %q{http://wedesoft.github.com/hornetseye-ffmpeg/}
8
+ require_relative 'config'
29
9
 
30
10
  OBJ = CC_FILES.ext 'o'
31
11
  $CXXFLAGS = "-DNDEBUG -DHAVE_CONFIG_H -D__STDC_CONSTANT_MACROS #{CFG[ 'CPPFLAGS' ]} #{CFG[ 'CFLAGS' ]}"
32
- if CFG[ 'rubyhdrdir' ]
33
- $CXXFLAGS = "#{$CXXFLAGS} -I#{CFG[ 'rubyhdrdir' ]} " +
34
- "-I#{CFG[ 'rubyhdrdir' ]}/#{CFG[ 'arch' ]}"
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
@@ -141,82 +122,6 @@ Rake::PackageTask.new PKG_NAME, PKG_VERSION do |p|
141
122
  p.package_files = PKG_FILES
142
123
  end
143
124
 
144
-
145
- begin
146
- require 'rubygems'
147
- require "rubygems/builder"
148
- $SPEC = Gem::Specification.new do |s|
149
- s.name = PKG_NAME
150
- s.version = PKG_VERSION
151
- s.platform = Gem::Platform::RUBY
152
- s.date = Date.today.to_s
153
- s.summary = SUMMARY
154
- s.description = DESCRIPTION
155
- s.license = LICENSE
156
- s.author = AUTHOR
157
- s.email = EMAIL
158
- s.homepage = HOMEPAGE
159
- s.files = PKG_FILES
160
- s.test_files = TC_FILES
161
- s.require_paths = [ 'lib', 'ext' ]
162
- s.rubyforge_project = %q{hornetseye}
163
- s.extensions = %w{Rakefile}
164
- s.has_rdoc = 'yard'
165
- s.extra_rdoc_files = []
166
- s.rdoc_options = %w{--no-private}
167
- s.add_dependency %<malloc>, [ '~> 1.2' ]
168
- s.add_dependency %<multiarray>, [ '~> 1.0' ]
169
- s.add_dependency %<hornetseye-frame>, [ '~> 1.0' ]
170
- s.add_development_dependency %q{rake}
171
- end
172
- GEM_SOURCE = "#{PKG_NAME}-#{PKG_VERSION}.gem"
173
- $BINSPEC = Gem::Specification.new do |s|
174
- s.name = PKG_NAME
175
- s.version = PKG_VERSION
176
- s.platform = Gem::Platform::CURRENT
177
- s.date = Date.today.to_s
178
- s.summary = SUMMARY
179
- s.description = DESCRIPTION
180
- s.license = LICENSE
181
- s.author = AUTHOR
182
- s.email = EMAIL
183
- s.homepage = HOMEPAGE
184
- s.files = BIN_FILES
185
- s.test_files = TC_FILES
186
- s.require_paths = [ 'lib', 'ext' ]
187
- s.rubyforge_project = %q{hornetseye}
188
- s.has_rdoc = 'yard'
189
- s.extra_rdoc_files = []
190
- s.rdoc_options = %w{--no-private}
191
- s.add_dependency %<malloc>, [ '~> 1.2' ]
192
- s.add_dependency %<multiarray>, [ '~> 1.0' ]
193
- s.add_dependency %<hornetseye-frame>, [ '~> 1.0' ]
194
- end
195
- GEM_BINARY = "#{PKG_NAME}-#{PKG_VERSION}-#{$BINSPEC.platform}.gem"
196
- desc "Build the gem file #{GEM_SOURCE}"
197
- task :gem => [ "pkg/#{GEM_SOURCE}" ]
198
- file "pkg/#{GEM_SOURCE}" => [ 'pkg' ] + $SPEC.files do
199
- when_writing 'Creating GEM' do
200
- Gem::Builder.new( $SPEC ).build
201
- verbose true do
202
- FileUtils.mv GEM_SOURCE, "pkg/#{GEM_SOURCE}"
203
- end
204
- end
205
- end
206
- desc "Build the gem file #{GEM_BINARY}"
207
- task :gem_binary => [ "pkg/#{GEM_BINARY}" ]
208
- file "pkg/#{GEM_BINARY}" => [ 'pkg' ] + $BINSPEC.files do
209
- when_writing 'Creating binary GEM' do
210
- Gem::Builder.new( $BINSPEC ).build
211
- verbose true do
212
- FileUtils.mv GEM_BINARY, "pkg/#{GEM_BINARY}"
213
- end
214
- end
215
- end
216
- rescue LoadError
217
- STDERR.puts 'Please install \'rubygems\' if you want to create Gem packages'
218
- end
219
-
220
125
  rule '.o' => '.cc' do |t|
221
126
  sh "#{CXX} #{$CXXFLAGS} -c -o #{t.name} #{t.source}"
222
127
  end
@@ -0,0 +1,22 @@
1
+ require 'rake'
2
+
3
+ PKG_NAME = 'hornetseye-ffmpeg'
4
+ PKG_VERSION = '1.2.3'
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{Read/write video frames using libffmpeg}
18
+ DESCRIPTION = %q{This Ruby extension defines the class Hornetseye::AVInput for reading frames from video files and the class Hornetseye::AVOutput for writing frames to video files.}
19
+ LICENSE = 'GPL-3+'
20
+ AUTHOR = %q{Jan Wedekind}
21
+ EMAIL = %q{jan@wedesoft.de}
22
+ HOMEPAGE = %q{http://wedesoft.github.com/hornetseye-ffmpeg/}
metadata CHANGED
@@ -1,80 +1,57 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hornetseye-ffmpeg
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.2
5
- prerelease:
4
+ version: 1.2.3
6
5
  platform: ruby
7
6
  authors:
8
7
  - Jan Wedekind
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2015-04-10 00:00:00.000000000 Z
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
41
  - !ruby/object:Gem::Dependency
47
42
  name: hornetseye-frame
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
- - - ~>
45
+ - - "~>"
52
46
  - !ruby/object:Gem::Version
53
47
  version: '1.0'
54
48
  type: :runtime
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
- - - ~>
52
+ - - "~>"
60
53
  - !ruby/object:Gem::Version
61
54
  version: '1.0'
62
- - !ruby/object:Gem::Dependency
63
- name: rake
64
- requirement: !ruby/object:Gem::Requirement
65
- none: false
66
- requirements:
67
- - - ! '>='
68
- - !ruby/object:Gem::Version
69
- version: '0'
70
- type: :development
71
- prerelease: false
72
- version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
- requirements:
75
- - - ! '>='
76
- - !ruby/object:Gem::Version
77
- version: '0'
78
55
  description: This Ruby extension defines the class Hornetseye::AVInput for reading
79
56
  frames from video files and the class Hornetseye::AVOutput for writing frames to
80
57
  video files.
@@ -84,49 +61,49 @@ extensions:
84
61
  - Rakefile
85
62
  extra_rdoc_files: []
86
63
  files:
87
- - Rakefile
88
- - README.md
64
+ - ".document"
89
65
  - COPYING
90
- - .document
91
- - lib/hornetseye-ffmpeg/avinput.rb
92
- - lib/hornetseye-ffmpeg/avoutput.rb
93
- - lib/hornetseye_ffmpeg_ext.rb
66
+ - README.md
67
+ - Rakefile
68
+ - config.rb
94
69
  - ext/avinput.cc
95
- - ext/avoutput.cc
96
- - ext/frame.cc
97
- - ext/init.cc
98
- - ext/sequence.cc
99
70
  - ext/avinput.hh
71
+ - ext/avoutput.cc
100
72
  - ext/avoutput.hh
101
73
  - ext/error.hh
74
+ - ext/frame.cc
102
75
  - ext/frame.hh
76
+ - ext/init.cc
103
77
  - ext/rubyinc.hh
78
+ - ext/sequence.cc
104
79
  - ext/sequence.hh
80
+ - lib/hornetseye-ffmpeg/avinput.rb
81
+ - lib/hornetseye-ffmpeg/avoutput.rb
82
+ - lib/hornetseye_ffmpeg_ext.rb
105
83
  homepage: http://wedesoft.github.com/hornetseye-ffmpeg/
106
84
  licenses:
107
85
  - GPL-3+
86
+ metadata: {}
108
87
  post_install_message:
109
- rdoc_options:
110
- - --no-private
88
+ rdoc_options: []
111
89
  require_paths:
112
90
  - lib
113
91
  - ext
114
92
  required_ruby_version: !ruby/object:Gem::Requirement
115
- none: false
116
93
  requirements:
117
- - - ! '>='
94
+ - - ">="
118
95
  - !ruby/object:Gem::Version
119
96
  version: '0'
120
97
  required_rubygems_version: !ruby/object:Gem::Requirement
121
- none: false
122
98
  requirements:
123
- - - ! '>='
99
+ - - ">="
124
100
  - !ruby/object:Gem::Version
125
101
  version: '0'
126
102
  requirements: []
127
103
  rubyforge_project: hornetseye
128
- rubygems_version: 1.8.23
104
+ rubygems_version: 2.4.6
129
105
  signing_key:
130
- specification_version: 3
106
+ specification_version: 4
131
107
  summary: Read/write video frames using libffmpeg
132
108
  test_files: []
109
+ has_rdoc: yard