pkg-config 1.3.9 → 1.4.0
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 +6 -0
- data/lib/pkg-config.rb +7 -7
- data/lib/pkg-config/version.rb +1 -1
- 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: a83385090e3b6e095368c03006b2c5acd72667ceb0b906f21e5fe0b3a1becf2e
|
|
4
|
+
data.tar.gz: 41816b28d440895d76ce10c57c64e323109a893a01a51a0011441dbb8205794f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: eee27aa9f295b5f2d3570c1b2caa45790be5d4870c294db31cfeeebc52b512c24ccc8d4a7b406bcb9b189960ba5ddb17b9b17c34f2445517a374dd6acd140e80
|
|
7
|
+
data.tar.gz: 5fcace2bbadde0b6dc0f33eba70a90c587dbc339a60637f0020b9bbddc7615332aa40d55b19d52603c5575abbf40c538d0c4c00146bb904a2261d7517687de5b
|
data/NEWS
CHANGED
data/lib/pkg-config.rb
CHANGED
|
@@ -122,6 +122,7 @@ class PackageConfig
|
|
|
122
122
|
def compute_native_pkg_config_prefix
|
|
123
123
|
pkg_config = native_pkg_config
|
|
124
124
|
return nil unless pkg_config.absolute?
|
|
125
|
+
return nil unless pkg_config.exist?
|
|
125
126
|
|
|
126
127
|
pkg_config_prefix = pkg_config.parent.parent
|
|
127
128
|
if File::ALT_SEPARATOR
|
|
@@ -465,14 +466,13 @@ class PackageConfig
|
|
|
465
466
|
homebrew_repository_candidates << pkg_config_prefix + "Homebrew"
|
|
466
467
|
homebrew_repository_candidates << pkg_config_prefix
|
|
467
468
|
end
|
|
468
|
-
else
|
|
469
|
-
brew = self.class.__send__(:search_executable_from_path, "brew")
|
|
470
|
-
if brew
|
|
471
|
-
homebrew_repository = `brew --repository`.chomp
|
|
472
|
-
homebrew_repository_candidates << Pathname(homebrew_repository)
|
|
473
|
-
end
|
|
474
469
|
end
|
|
475
|
-
|
|
470
|
+
brew = self.class.__send__(:search_executable_from_path, "brew")
|
|
471
|
+
if brew
|
|
472
|
+
homebrew_repository = `brew --repository`.chomp
|
|
473
|
+
homebrew_repository_candidates << Pathname(homebrew_repository)
|
|
474
|
+
end
|
|
475
|
+
homebrew_repository_candidates.uniq.each do |candidate|
|
|
476
476
|
path = candidate + "Library/Homebrew/os/mac/pkgconfig/#{mac_os_version}"
|
|
477
477
|
paths << path.to_s if path.exist?
|
|
478
478
|
end
|
data/lib/pkg-config/version.rb
CHANGED
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.
|
|
4
|
+
version: 1.4.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kouhei Sutou
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-
|
|
11
|
+
date: 2019-10-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: test-unit
|