pkg-config 1.6.2 → 1.6.3

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/NEWS.md +13 -0
  3. data/lib/pkg-config.rb +6 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a7e1cf5d660f2266bd2b7b33b4bea74f886eaf24018e6381ece093e3175fc9cc
4
- data.tar.gz: 5297a48889e115f5f08a508eaf3bd43e409d56ea19354f6d8817b31422cc3106
3
+ metadata.gz: 53a3d87cdf57d9d78a5458eb6743ae3dd175e0760284c0ed6b885149ef3ebd53
4
+ data.tar.gz: d6c27bc63a6e3191ee88b53387428cfedbced08104f8d5c71a68f6deb75a82a8
5
5
  SHA512:
6
- metadata.gz: 18f13c71bc84f415e69190fca6eb0518242896c4606fa56f585ced55cad394d2d5d8916fa098a978418736b145959c332056597be5570598e7fb94bd2e891c53
7
- data.tar.gz: 2e88e75e57d264b56a756dd720a504f8138ecdced79ecde4358915a394793cfe7b4030bdf6e9c2bb9ad433d6566bad33efd588bd250abe4133a9fcee968114b5
6
+ metadata.gz: 488102c7ff0f8d6bfb6ba89d28a3db6bc98a1ecf4bcfa78df1d04020b1fede9e4517549830214fcd941832fe2db878a643951b7943b4d2edfee9d59a0777fd89
7
+ data.tar.gz: b3d212d31f385b43dbf5e24d2632fc99b0523d1b1f1defc458daceae11bb4021ecfc9a3fc34e7609c3fd94638c970dc9f34e6c6f4abee14c2f1e33a6f9dc4da3
data/NEWS.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # NEWS
2
2
 
3
+ ## 1.6.3 - 2025-08-27
4
+
5
+ ### Improvements
6
+
7
+ * Added support for detecting Homebrew's pkgconfig path by `brew
8
+ --path`.
9
+ * [ruby-gnome/pkg-config#36](https://github.com/ruby-gnome/pkg-config/issues/36)
10
+ * Patch by meredith
11
+
12
+ ### Thanks
13
+
14
+ * meredith
15
+
3
16
  ## 1.6.2 - 2025-04-27
4
17
 
5
18
  ### Improvements
data/lib/pkg-config.rb CHANGED
@@ -19,7 +19,7 @@ require "rbconfig"
19
19
  require "shellwords"
20
20
 
21
21
  module PKGConfig
22
- VERSION = "1.6.2"
22
+ VERSION = "1.6.3"
23
23
 
24
24
  @@paths = []
25
25
  @@override_variables = {}
@@ -343,6 +343,11 @@ class PackageConfig
343
343
  homebrew_repository_candidates <<
344
344
  Pathname(homebrew_repository.strip)
345
345
  end
346
+ homebrew_prefix = run_command("brew", "--prefix")
347
+ if homebrew_prefix
348
+ homebrew_repository_candidates <<
349
+ Pathname(homebrew_prefix.strip)
350
+ end
346
351
  end
347
352
  homebrew_repository_candidates.uniq.each do |candidate|
348
353
  mac_pkgconfig_base_path =
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pkg-config
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.2
4
+ version: 1.6.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sutou Kouhei
@@ -44,7 +44,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
44
44
  - !ruby/object:Gem::Version
45
45
  version: '0'
46
46
  requirements: []
47
- rubygems_version: 3.6.7
47
+ rubygems_version: 3.6.9
48
48
  specification_version: 4
49
49
  summary: A pkg-config implementation for Ruby
50
50
  test_files: