mediainfo-native 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: 96cbdd0092637b32864710d15fac06c55bbc6500
4
- data.tar.gz: fc283a05212d70048b0e69bfa3829d5b86d2f5fa
3
+ metadata.gz: 2a2aa4009aef0400d8a9633994d9ab7906178516
4
+ data.tar.gz: 6845a11a4d7b43a0db6654c963fc31ac5df24db4
5
5
  SHA512:
6
- metadata.gz: cc8efacc08144c5b3d6ddb97342c83d6ce0e9e9db04620ade5701ffd539abf54baf5c23800c648a1e448e1cee7fa89f3a09672c4fd4325a3c2091c3aa2c45f31
7
- data.tar.gz: 285c144f1f61558a7ef0a705e89e01b2cfd198515700908f05c385b2aefc66bdea6660d45f3e8a53b448a9a9a8eb15718ef768a0223672ee0b180dcf71ead822
6
+ metadata.gz: 2017198f63938bae28bfd6acd118b71d6577929784f19d6340799112814996b0555a8da19d18de467100b7335b99f9202814a3289d0bfd88d575299c03ad1225
7
+ data.tar.gz: 62816d19a8bebe7112dee3c864b832a58e64019f45be42e041387827899861fce757967c6edf8f7eae6d64864bf9d39c53dbd54ece6a4790b079f727dc39370f
@@ -1,20 +1,28 @@
1
1
  require 'mkmf'
2
2
 
3
- unless (mediainfo_cfg = pkg_config('libmediainfo'))
4
- abort 'Failed to locate pkg-config file for libmediainfo.'
5
- end
3
+ if (mediainfo_cfg = pkg_config('libmediainfo'))
6
4
 
7
- unless have_library('mediainfo')
8
- abort 'Failed to test-link against libmediainfo.'
9
- end
5
+ unless have_library('mediainfo')
6
+ abort 'Failed to test-link against libmediainfo.'
7
+ end
10
8
 
11
- non_std_location = mediainfo_cfg.detect { |flag| flag =~ /^-L/ }
12
- if non_std_location
13
- non_std_location.gsub!('-L', '')
14
- $LDFLAGS << " -Wl,-rpath,#{non_std_location}"
15
- message "embedding path to library into libmediainfo.so: #{non_std_location}\n"
16
- end
9
+ non_std_location = mediainfo_cfg.detect { |flag| flag =~ /^-L/ }
10
+ if non_std_location
11
+ non_std_location.gsub!('-L', '')
12
+ $LDFLAGS << " -Wl,-rpath,#{non_std_location}"
13
+ message "embedding path to library into libmediainfo.so: #{non_std_location}\n"
14
+ end
17
15
 
18
- with_cppflags("#{(mediainfo_cfg.detect { |flag| flag =~ /^-I/ })}") do
19
- create_makefile('mediainfo_native')
16
+ with_cppflags("#{(mediainfo_cfg.detect { |flag| flag =~ /^-I/ })}") do
17
+ create_makefile('mediainfo_native')
18
+ end
19
+ else
20
+ unless have_library('mediainfo')
21
+ abort 'Failed to test-link against libmediainfo.'
22
+ end
23
+
24
+ with_cppflags("-lmediainfo") do
25
+ create_makefile('mediainfo_native')
26
+ end
20
27
  end
28
+
@@ -1,3 +1,3 @@
1
1
  module MediaInfoNative
2
- VERSION = '0.2.3'
2
+ VERSION = '0.2.4'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mediainfo-native
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
  - FlavourSys Technology GmbH
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-28 00:00:00.000000000 Z
11
+ date: 2016-02-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake-compiler
@@ -86,9 +86,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
86
86
  version: '0'
87
87
  requirements: []
88
88
  rubyforge_project:
89
- rubygems_version: 2.2.2
89
+ rubygems_version: 2.5.2
90
90
  signing_key:
91
91
  specification_version: 4
92
92
  summary: Native bindings for mediainfo
93
93
  test_files: []
94
- has_rdoc: