pkg-config 1.2.0 → 1.2.1

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: 56c8d39cbcc6e7d0d73b4d05ee95f875d4867526
4
- data.tar.gz: 428f76ce6f03f61c462b0325084f82dac36e7967
3
+ metadata.gz: 9d606c8e484eaba6b266086bb721c1fd7297b00e
4
+ data.tar.gz: '09e2b18fc2306f19c6f8c279a13e93544e5410e7'
5
5
  SHA512:
6
- metadata.gz: cb0a0bd9b5cc84faf8f77fadd5a0626a395ed9d6cf2a4b6562afebebeed19c7639e50c1fe31233d73eba2d90b8fa3ea1ce1d81edf8c516b8a6bfcb301c940ab8
7
- data.tar.gz: 10731a8fbc4e92cfda51646c467f15222ddc10630f0b9f7fe1e200e169146209696e46e7cac821e3ffbe6743c64ae1467fb83a2f85f043d0043b74a7ac0bdda9
6
+ metadata.gz: d19603dcfa45ad565d3a74dcd8ecb819afcf0e486afe67fbb4d716b06e8cf63e3bff5a0b32e8c185fb0ea34fc62c3866a69d49b7be97c1f3c6b8e142de4c5edd
7
+ data.tar.gz: 9b7acfbe20f12f8fb52fe877d7f54104dcb894fa5bb178fd1b451ee3e1b11ff489ba904695b17aea34e892c57cb394984163527bd31537e0d116825d7e5407d6
data/NEWS CHANGED
@@ -1,5 +1,11 @@
1
1
  = NEWS
2
2
 
3
+ == 1.2.1 - 2017-05-29
4
+
5
+ === Improvements
6
+
7
+ * Supported MSYS2.
8
+
3
9
  == 1.2.0 - 2017-04-25
4
10
 
5
11
  === Improvements
@@ -313,14 +313,14 @@ class PackageConfig
313
313
  end
314
314
 
315
315
  def guess_default_path
316
- arch_depended_path = Dir.glob('/usr/lib/*/pkgconfig').join(SEPARATOR)
316
+ arch_depended_path = Dir.glob("/usr/lib/*/pkgconfig")
317
317
  default_paths = [
318
318
  "/usr/local/lib64/pkgconfig",
319
319
  "/usr/local/libx32/pkgconfig",
320
320
  "/usr/local/lib/pkgconfig",
321
321
  "/usr/local/libdata/pkgconfig",
322
322
  "/opt/local/lib/pkgconfig",
323
- arch_depended_path,
323
+ *arch_depended_path,
324
324
  "/usr/lib64/pkgconfig",
325
325
  "/usr/libx32/pkgconfig",
326
326
  "/usr/lib/pkgconfig",
@@ -329,6 +329,12 @@ class PackageConfig
329
329
  "/opt/X11/lib/pkgconfig",
330
330
  "/usr/share/pkgconfig",
331
331
  ]
332
+ case RUBY_PLATFORM
333
+ when "x86-mingw32"
334
+ default_paths.concat(Dir.glob("c:/msys*/mingw32/lib/pkgconfig"))
335
+ when "x64-mingw32"
336
+ default_paths.concat(Dir.glob("c:/msys*/mingw64/lib/pkgconfig"))
337
+ end
332
338
  default_path = default_paths.join(SEPARATOR)
333
339
  libdir = ENV["PKG_CONFIG_LIBDIR"]
334
340
  default_path = [libdir, default_path].join(SEPARATOR) if libdir
@@ -15,5 +15,5 @@
15
15
  # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16
16
 
17
17
  module PKGConfig
18
- VERSION = "1.2.0"
18
+ VERSION = "1.2.1"
19
19
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pkg-config
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kouhei Sutou
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-04-24 00:00:00.000000000 Z
11
+ date: 2017-05-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: test-unit