mediainfo-native 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/mediainfo_native/extconf.rb +8 -3
- data/lib/mediainfo-native/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 70c6c9709a5937a8b4f10399767268e69ebf56b9
|
4
|
+
data.tar.gz: c892ef01f15ea58c45eb9c55df3313fca00ad1d7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a6764cefff286e2aef364bac2bcd89a017d6e2b505849b1d1c9ef10d2123466c6471ebdbf703d4b0c0947aa8ada79bec6b1db80d14b1ab54a112ca44faa2ebc9
|
7
|
+
data.tar.gz: 7356a016c6c5dfb8c2021c0bde36428aee132dfa0237edf0b7e2f3a0fe57b2a83acd31f84506101e4cb4c23affa057208aa01810e7c9d9f05e372a15ba21e2e5
|
@@ -4,13 +4,18 @@ unless (mediainfo_cfg = pkg_config('libmediainfo'))
|
|
4
4
|
abort 'Failed to locate pkg-config file for libmediainfo.'
|
5
5
|
end
|
6
6
|
|
7
|
+
puts mediainfo_cfg
|
8
|
+
|
7
9
|
unless have_library('mediainfo')
|
8
10
|
abort 'Failed to test-link against libmediainfo.'
|
9
11
|
end
|
10
12
|
|
11
|
-
|
12
|
-
|
13
|
-
|
13
|
+
non_std_location = mediainfo_cfg.detect { |flag| flag =~ /^-L/ }
|
14
|
+
if non_std_location
|
15
|
+
non_std_location.gsub!('-L', '')
|
16
|
+
$LDFLAGS << " -Wl,-rpath,#{non_std_location}"
|
17
|
+
message "embedding path to library into libmediainfo.so: #{non_std_location}\n"
|
18
|
+
end
|
14
19
|
|
15
20
|
with_cppflags("#{(mediainfo_cfg.detect { |flag| flag =~ /^-I/ })}") do
|
16
21
|
create_makefile('mediainfo_native')
|
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.0.
|
4
|
+
version: 0.0.7
|
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: 2014-01-
|
11
|
+
date: 2014-01-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake-compiler
|