mediainfo-native 0.0.6 → 0.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f64beab22d1edc8263d33f3e97f7bf8da57749a7
4
- data.tar.gz: 1b9344a3f4e2b334a4fb9ddd8a94446b84716dc2
3
+ metadata.gz: 70c6c9709a5937a8b4f10399767268e69ebf56b9
4
+ data.tar.gz: c892ef01f15ea58c45eb9c55df3313fca00ad1d7
5
5
  SHA512:
6
- metadata.gz: 09d1198564b03a3e6d9a2457a1852ce0ebf248cf36b073258fe7ce6967ffb691ba45e3525c66cce8dc61b817f209f39f57e18ad958fcbf5e1e6aa5b9dc77ff02
7
- data.tar.gz: de2b77e3187849a19c84d66bd5b12307604537a9949aa3cceec7bc849d4d31d2f220f6c77d1d9abf646d4fb80b6fc9171494ce81609ec43a917b4ecf0fd43a8e
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
- location = (mediainfo_cfg.detect { |flag| flag =~ /^-L/ }).gsub('-L', '')
12
- $LDFLAGS << " -Wl,-rpath,#{location}"
13
- message "embedding path to library into libmediainfo.so: #{location}\n"
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')
@@ -1,3 +1,3 @@
1
1
  module MediaInfoNative
2
- VERSION = '0.0.6'
2
+ VERSION = '0.0.7'
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.0.6
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-29 00:00:00.000000000 Z
11
+ date: 2014-01-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake-compiler