pkg-config 1.6.1 → 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.
- checksums.yaml +4 -4
- data/NEWS.md +26 -0
- data/lib/pkg-config.rb +18 -8
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 53a3d87cdf57d9d78a5458eb6743ae3dd175e0760284c0ed6b885149ef3ebd53
|
4
|
+
data.tar.gz: d6c27bc63a6e3191ee88b53387428cfedbced08104f8d5c71a68f6deb75a82a8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 488102c7ff0f8d6bfb6ba89d28a3db6bc98a1ecf4bcfa78df1d04020b1fede9e4517549830214fcd941832fe2db878a643951b7943b4d2edfee9d59a0777fd89
|
7
|
+
data.tar.gz: b3d212d31f385b43dbf5e24d2632fc99b0523d1b1f1defc458daceae11bb4021ecfc9a3fc34e7609c3fd94638c970dc9f34e6c6f4abee14c2f1e33a6f9dc4da3
|
data/NEWS.md
CHANGED
@@ -1,5 +1,31 @@
|
|
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
|
+
|
16
|
+
## 1.6.2 - 2025-04-27
|
17
|
+
|
18
|
+
### Improvements
|
19
|
+
|
20
|
+
* Added support for detecting Homebrew's pkgconfig path without
|
21
|
+
`pkgconf`.
|
22
|
+
* [apche/arrow#46235](https://github.com/apache/arrow/issues/46245)
|
23
|
+
* Reported by Shizuo Fujita
|
24
|
+
|
25
|
+
### Thanks
|
26
|
+
|
27
|
+
* Shizuo Fujita
|
28
|
+
|
3
29
|
## 1.6.1 - 2025-04-17
|
4
30
|
|
5
31
|
### 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.
|
22
|
+
VERSION = "1.6.3"
|
23
23
|
|
24
24
|
@@paths = []
|
25
25
|
@@override_variables = {}
|
@@ -340,17 +340,27 @@ class PackageConfig
|
|
340
340
|
if brew
|
341
341
|
homebrew_repository = run_command("brew", "--repository")
|
342
342
|
if homebrew_repository
|
343
|
-
|
344
|
-
|
343
|
+
homebrew_repository_candidates <<
|
344
|
+
Pathname(homebrew_repository.strip)
|
345
|
+
end
|
346
|
+
homebrew_prefix = run_command("brew", "--prefix")
|
347
|
+
if homebrew_prefix
|
348
|
+
homebrew_repository_candidates <<
|
349
|
+
Pathname(homebrew_prefix.strip)
|
345
350
|
end
|
346
351
|
end
|
347
352
|
homebrew_repository_candidates.uniq.each do |candidate|
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
353
|
+
mac_pkgconfig_base_path =
|
354
|
+
candidate + "Library/Homebrew/os/mac/pkgconfig"
|
355
|
+
mac_pkgconfig_path = mac_pkgconfig_base_path + mac_os_version
|
356
|
+
unless mac_pkgconfig_path.exist?
|
357
|
+
mac_pkgconfig_path =
|
358
|
+
mac_pkgconfig_base_path + mac_os_version.gsub(/\.\d+\z/, "")
|
352
359
|
end
|
353
|
-
paths <<
|
360
|
+
paths << mac_pkgconfig_path.to_s if mac_pkgconfig_path.exist?
|
361
|
+
|
362
|
+
pkgconfig_path = candidate + "lib/pkgconfig"
|
363
|
+
paths << pkgconfig_path.to_s if pkgconfig_path.exist?
|
354
364
|
end
|
355
365
|
end
|
356
366
|
paths.concat(default_paths)
|
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.
|
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.
|
47
|
+
rubygems_version: 3.6.9
|
48
48
|
specification_version: 4
|
49
49
|
summary: A pkg-config implementation for Ruby
|
50
50
|
test_files:
|