pico_phone 0.8.2-aarch64-linux → 0.8.3-aarch64-linux
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/ext/pico_phone/extconf.rb +15 -3
- data/lib/pico_phone/3.1/pico_phone.so +0 -0
- data/lib/pico_phone/3.2/pico_phone.so +0 -0
- data/lib/pico_phone/3.3/pico_phone.so +0 -0
- data/lib/pico_phone/3.4/pico_phone.so +0 -0
- data/lib/pico_phone/4.0/pico_phone.so +0 -0
- data/lib/pico_phone/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: 965752be132472c84ebc3c44a4f6e9c0d7dab75e0fd6a2d00d8c3c1bcd067d97
|
|
4
|
+
data.tar.gz: 4cc31f8ca9c78376050cb1dfaa975378cc9c854256afcab6f8767c435efa1b5d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8f287600c35cf64e7fe6207381e8dd1de7b5ab15e5c040a5da3472229a1ca30bff5f6984274397684c71687ede09eed974ea7642e563b8d352657fbe9721b9c9
|
|
7
|
+
data.tar.gz: e733ec47cecb382de8d882f90fe98f3ab1341d49320439d1a35342bf22f20ec4546ae2a330e7f55218eb0af9573aac15e73ef43db39d47d98396ed3595143a12
|
data/ext/pico_phone/extconf.rb
CHANGED
|
@@ -13,6 +13,18 @@ $INCFLAGS << " -I#{File.expand_path("vendor_headers", __dir__)}"
|
|
|
13
13
|
VENDOR_INSTALL = File.expand_path("vendor/install", __dir__)
|
|
14
14
|
NATIVE_BUILD = ENV["PICO_PHONE_NATIVE_BUILD"] == "1"
|
|
15
15
|
|
|
16
|
+
# Homebrew ICU used for macOS native (static) builds. Must match ICU_PREFIX in
|
|
17
|
+
# build_deps.sh and the `brew install` in release.yml.
|
|
18
|
+
MACOS_STATIC_ICU = "icu4c@79"
|
|
19
|
+
|
|
20
|
+
# The versioned ICU formula Homebrew's libphonenumber is currently built
|
|
21
|
+
# against. Homebrew moves it to each new ICU major (icu4c@78 -> @79 -> ...), so
|
|
22
|
+
# it's looked up rather than hardcoded; the geocoder header needs that ICU's
|
|
23
|
+
# headers.
|
|
24
|
+
def homebrew_libphonenumber_icu
|
|
25
|
+
`brew deps libphonenumber 2>/dev/null`.split.grep(/\Aicu4c(@\d+)?\z/).last
|
|
26
|
+
end
|
|
27
|
+
|
|
16
28
|
if NATIVE_BUILD
|
|
17
29
|
# Static linking against vendored libraries for native gem builds.
|
|
18
30
|
# All five dependencies are baked into the .so — users need nothing installed.
|
|
@@ -41,7 +53,7 @@ if NATIVE_BUILD
|
|
|
41
53
|
|
|
42
54
|
if RUBY_PLATFORM.include?("darwin")
|
|
43
55
|
boost_prefix = `brew --prefix boost 2>/dev/null`.strip
|
|
44
|
-
icu_prefix = `brew --prefix
|
|
56
|
+
icu_prefix = `brew --prefix #{MACOS_STATIC_ICU} 2>/dev/null`.strip
|
|
45
57
|
|
|
46
58
|
$INCFLAGS << " -I#{icu_prefix}/include"
|
|
47
59
|
|
|
@@ -97,9 +109,9 @@ if NATIVE_BUILD
|
|
|
97
109
|
else
|
|
98
110
|
# Dynamic linking against system/Homebrew libraries (default developer workflow).
|
|
99
111
|
if RUBY_PLATFORM.include?("darwin")
|
|
100
|
-
#
|
|
112
|
+
# ICU is already a transitive dependency of Homebrew's libphonenumber
|
|
101
113
|
# formula (which itself ships geocoding), so no extra install step needed.
|
|
102
|
-
%w[libphonenumber protobuf abseil
|
|
114
|
+
%w[libphonenumber protobuf abseil].push(homebrew_libphonenumber_icu).compact.each do |pkg|
|
|
103
115
|
prefix = `brew --prefix #{pkg} 2>/dev/null`.strip
|
|
104
116
|
next if prefix.empty?
|
|
105
117
|
$INCFLAGS << " -I#{prefix}/include"
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
data/lib/pico_phone/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pico_phone
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.8.
|
|
4
|
+
version: 0.8.3
|
|
5
5
|
platform: aarch64-linux
|
|
6
6
|
authors:
|
|
7
7
|
- Gabi Jack
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-10-
|
|
11
|
+
date: 2026-10-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rice
|