ffmpeg-video-info 0.2.3 → 0.2.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c8874bac59a2261e92cfec4efc85fa1212c391fe
4
- data.tar.gz: 42121f13db7d8c4fb7e1e42f191e490872046a67
3
+ metadata.gz: 017e2102047aeb3c4ea69d5fa80faa725e8df6e9
4
+ data.tar.gz: d4ac444234820410f79d543cf70524f61b640f9d
5
5
  SHA512:
6
- metadata.gz: e00d3dc5c7a950fbd484ff37f008255bf6cdad3eb6591bc5c67e3ad88307224d1b79504a7e88a38ee53bf1281401d5b4c5d246128de2ca91e61887ad691b9df4
7
- data.tar.gz: e06727f6f96cb98bc803f3c22d682fe1097730322f92456dcc1fab1d5f1d1741f73c7cd00ca2bcaf41f2d9c337a3be524b8fd289e998b3aeeb35339e514c9da8
6
+ metadata.gz: 4e41bf061ba419850e667dd2d8acbcffa4a6aba928b863de0ff2fd261010850e95d3146d0a3d6d05bc541f3dc7ecf1a7730f1f8e3ac163c9ee196c221ca1786d
7
+ data.tar.gz: f61179643dee0b91e707f73a241d0b8f6e4c6cb513be5443d841288a153950e878ecc29d804498626ec932be5f2aa7e8f8ea48cabd46af9ee3af9db18cb5a99c
data/Gemfile CHANGED
@@ -12,5 +12,5 @@ group :development do
12
12
  gem "jeweler"
13
13
  gem "rspec"
14
14
  gem "rake-compiler"
15
- gem "mini_portile"
16
- end
15
+ gem "mini_portile2"
16
+ end
@@ -31,6 +31,7 @@ GEM
31
31
  json (1.8.1)
32
32
  jwt (1.0.0)
33
33
  mini_portile (0.6.0)
34
+ mini_portile2 (2.1.0)
34
35
  multi_json (1.10.1)
35
36
  multi_xml (0.5.5)
36
37
  multipart-post (2.0.0)
@@ -69,7 +70,7 @@ PLATFORMS
69
70
  DEPENDENCIES
70
71
  bundler
71
72
  jeweler
72
- mini_portile
73
+ mini_portile2
73
74
  rake-compiler
74
75
  rdoc
75
76
  rice
data/Rakefile CHANGED
@@ -37,20 +37,7 @@ Rake::RDocTask.new do |rdoc|
37
37
  rdoc.rdoc_files.include('lib/**/*.rb')
38
38
  end
39
39
 
40
- recipe = MiniPortile.new('ffmpeg', FFmpeg::Version)
41
- recipe.files = ["https://github.com/FFmpeg/FFmpeg/archive/n#{FFmpeg::Version}.tar.gz"]
42
- recipe.configure_options = ['--enable-shared']
43
- task :ffmpeg do
44
- checkpoint = ".#{recipe.name}-#{recipe.version}.installed"
45
- unless File.exist?(checkpoint)
46
- recipe.cook
47
- touch checkpoint
48
- end
49
- recipe.activate
50
- end
51
- task :compile => [:ffmpeg, :'compile:ffmpeg_video_info_ext']
40
+ task :compile => [:'compile:ffmpeg_video_info_ext']
52
41
 
53
42
  require "rake/extensiontask"
54
- Rake::ExtensionTask.new('ffmpeg_video_info_ext') do |e|
55
- e.config_includes = [recipe.path + '/include']
56
- end
43
+ Rake::ExtensionTask.new('ffmpeg_video_info_ext')
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.3
1
+ 0.2.4
@@ -1,4 +1,18 @@
1
- require "mkmf"
1
+ require 'mkmf'
2
+ require 'fileutils'
3
+ require 'mini_portile2'
4
+ ffmpeg_ver = '2.7.1'
5
+ recipe = MiniPortile.new('ffmpeg', ffmpeg_ver)
6
+ recipe.files = ["https://github.com/FFmpeg/FFmpeg/archive/n#{ffmpeg_ver}.tar.gz"]
7
+ recipe.configure_options = ['--enable-shared']
8
+ checkpoint = ".#{recipe.name}-#{recipe.version}.installed"
9
+ unless File.exist?(checkpoint)
10
+ recipe.cook
11
+ FileUtils.touch(checkpoint)
12
+ end
13
+ recipe.activate
14
+
15
+ $INCFLAGS << " -I#{recipe.path}/include"
2
16
  $CXXFLAGS += '-fPIC'
3
17
  unless ENV['LIBRARY_PATH'].nil?
4
18
  $LDFLAGS <<" -Wl,-rpath,#{ENV['LIBRARY_PATH']}:#{File.expand_path(File.dirname(__FILE__))}"
@@ -7,4 +21,4 @@ end
7
21
  have_library('avcodec') or raise
8
22
  have_library('avformat') or raise
9
23
 
10
- create_makefile('ffmpeg_video_info_ext')
24
+ create_makefile('ffmpeg_video_info_ext')
@@ -2,17 +2,17 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: ffmpeg-video-info 0.2.3 ruby lib
5
+ # stub: ffmpeg-video-info 0.2.4 ruby lib
6
6
  # stub: ext/ffmpeg_video_info_ext/extconf.rb
7
7
 
8
8
  Gem::Specification.new do |s|
9
9
  s.name = "ffmpeg-video-info"
10
- s.version = "0.2.3"
10
+ s.version = "0.2.4"
11
11
 
12
12
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
13
13
  s.require_paths = ["lib"]
14
14
  s.authors = ["Pavel Tatarsky"]
15
- s.date = "2015-07-13"
15
+ s.date = "2016-01-27"
16
16
  s.description = "It only provides gathering info about media files"
17
17
  s.email = "fazzzenda@mail.ru"
18
18
  s.extensions = ["ext/ffmpeg_video_info_ext/extconf.rb"]
@@ -51,7 +51,7 @@ Gem::Specification.new do |s|
51
51
  s.add_development_dependency(%q<jeweler>, [">= 0"])
52
52
  s.add_development_dependency(%q<rspec>, [">= 0"])
53
53
  s.add_development_dependency(%q<rake-compiler>, [">= 0"])
54
- s.add_development_dependency(%q<mini_portile>, [">= 0"])
54
+ s.add_development_dependency(%q<mini_portile2>, [">= 0"])
55
55
  else
56
56
  s.add_dependency(%q<rdoc>, [">= 0"])
57
57
  s.add_dependency(%q<rice>, [">= 0"])
@@ -59,7 +59,7 @@ Gem::Specification.new do |s|
59
59
  s.add_dependency(%q<jeweler>, [">= 0"])
60
60
  s.add_dependency(%q<rspec>, [">= 0"])
61
61
  s.add_dependency(%q<rake-compiler>, [">= 0"])
62
- s.add_dependency(%q<mini_portile>, [">= 0"])
62
+ s.add_dependency(%q<mini_portile2>, [">= 0"])
63
63
  end
64
64
  else
65
65
  s.add_dependency(%q<rdoc>, [">= 0"])
@@ -68,7 +68,7 @@ Gem::Specification.new do |s|
68
68
  s.add_dependency(%q<jeweler>, [">= 0"])
69
69
  s.add_dependency(%q<rspec>, [">= 0"])
70
70
  s.add_dependency(%q<rake-compiler>, [">= 0"])
71
- s.add_dependency(%q<mini_portile>, [">= 0"])
71
+ s.add_dependency(%q<mini_portile2>, [">= 0"])
72
72
  end
73
73
  end
74
74
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ffmpeg-video-info
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pavel Tatarsky
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-13 00:00:00.000000000 Z
11
+ date: 2016-01-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rdoc
@@ -95,7 +95,7 @@ dependencies:
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
- name: mini_portile
98
+ name: mini_portile2
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - ">="