pkg-config 1.5.1 → 1.5.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c90e9d9dd81d99b7fd6412e1befe74deaabf67d3c181d50261846a2da0fe9d43
4
- data.tar.gz: 9dd90a3ffc4e140bce369c8b45ba0c34ba8f3ccea6f0a49ce884b8ba6a2d9825
3
+ metadata.gz: bd3801ee52598218ff2e302d7f3333061b37e37b11c05f358bd879c74fe08830
4
+ data.tar.gz: 555996afc720c1df211f3ab1a50df6187dc8c25319f7b7f6c7e2968f48584f7a
5
5
  SHA512:
6
- metadata.gz: de054c89cbe328715e28258636442959dfbca1c859e1fbff4f076bd945e019ced3aa0515f69cdb470288c76811b2d0138293b65398470acc24415c4631f298bc
7
- data.tar.gz: a5414ffd42e1bc9cdde74df9ae83689473c9799ef7b6606ee9bb02379017b42db93b5d80f550820f9cea9befddd2a3402cf65435290b0f78db578c55480b9c00
6
+ metadata.gz: c178151d14bab1004d468c23250b4b46e1d6eda4d21df0001773f16dbb75df959b60f6408ee77e24fbbea9ac1bfd20618b480d8c55fe08d081a49acb0ece6509
7
+ data.tar.gz: 6f442145770a3ceaaa70d4de5c25845e141a8d50fd7ab0fa22a1114fad9abaf70c8e6d0cf11b012569d812883b282f9be96896a2534efd175391af61f0f98609
data/NEWS CHANGED
@@ -1,5 +1,11 @@
1
1
  = NEWS
2
2
 
3
+ == 1.5.2 - 2023-06-25
4
+
5
+ === Improvements
6
+
7
+ * Added support for conda.
8
+
3
9
  == 1.5.1 - 2022-11-23
4
10
 
5
11
  === Improvements
@@ -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.5.1"
18
+ VERSION = "1.5.2"
19
19
  end
data/lib/pkg-config.rb CHANGED
@@ -1,4 +1,4 @@
1
- # Copyright 2008-2022 Sutou Kouhei <kou@cozmixng.org>
1
+ # Copyright 2008-2023 Sutou Kouhei <kou@cozmixng.org>
2
2
  #
3
3
  # This library is free software; you can redistribute it and/or
4
4
  # modify it under the terms of the GNU Lesser General Public
@@ -170,6 +170,10 @@ class PackageConfig
170
170
  default_paths << (pkg_config_prefix + "libdata/pkgconfig").to_s
171
171
  default_paths << (pkg_config_prefix + "share/pkgconfig").to_s
172
172
  end
173
+ conda_prefix = ENV["CONDA_PREFIX"]
174
+ if conda_prefix
175
+ default_paths << File.join(conda_prefix, "lib", "pkgconfig")
176
+ end
173
177
  default_paths << "/usr/local/lib64/pkgconfig"
174
178
  default_paths << "/usr/local/libx32/pkgconfig"
175
179
  default_paths << "/usr/local/lib/pkgconfig"
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.5.1
4
+ version: 1.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kouhei Sutou
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-11-23 00:00:00.000000000 Z
11
+ date: 2023-06-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: test-unit
@@ -89,7 +89,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
89
89
  - !ruby/object:Gem::Version
90
90
  version: '0'
91
91
  requirements: []
92
- rubygems_version: 3.4.0.dev
92
+ rubygems_version: 3.5.0.dev
93
93
  signing_key:
94
94
  specification_version: 4
95
95
  summary: A pkg-config implementation for Ruby