fastqr 1.0.16 → 1.0.19
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/CMakeLists.txt +10 -10
- data/VERSION +1 -1
- data/bindings/nodejs/lib/platform.js +1 -1
- data/bindings/nodejs/package.json +1 -1
- data/bindings/ruby/lib/fastqr/platform.rb +1 -1
- data/bindings/ruby/lib/fastqr/version.rb +1 -1
- data/bindings/ruby/prebuilt/linux-aarch64/bin/fastqr +0 -0
- data/bindings/ruby/prebuilt/linux-aarch64.tar.gz +0 -0
- data/bindings/ruby/prebuilt/linux-x86_64/bin/fastqr +0 -0
- data/bindings/ruby/prebuilt/linux-x86_64.tar.gz +0 -0
- data/bindings/ruby/prebuilt/macos-arm64/bin/fastqr +0 -0
- data/bindings/ruby/prebuilt/macos-arm64.tar.gz +0 -0
- data/bindings/ruby/prebuilt/macos-x86_64/bin/fastqr +0 -0
- data/bindings/ruby/prebuilt/macos-x86_64.tar.gz +0 -0
- data/scripts/build-binaries.sh +7 -0
- data/src/fastqr.cpp +1 -1
- metadata +2 -2
- data/bindings/ruby/prebuilt/linux-arm64.tar.gz +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e72762414a03881b03eb610b638d75a18cd344e052b82aa5f1f703e04e9060d6
|
|
4
|
+
data.tar.gz: 051e11a9e96a92e043ebee3b890d140a127ec229f95e1d5d620eb0cb4256c6bf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fa3fb17416e369698f1df12588e8bbe7f93f3e5ea989fbb50937e4fe5f0798c7a46a7700d825adb409162f835053adfca4855c41a0a4fb1746380b2b9eb6ba21
|
|
7
|
+
data.tar.gz: 2b647f5ca8f85512980fb0cd2ae2eb08af6673f06fa3fe945252f9ea89e5f25a8c87f8c87d9c48a79c63295807d97a58315b892b848d4e20534a260e6c4254b1
|
data/CMakeLists.txt
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
cmake_minimum_required(VERSION 3.15)
|
|
2
|
-
project(fastqr VERSION 1.0.
|
|
2
|
+
project(fastqr VERSION 1.0.19 LANGUAGES CXX C)
|
|
3
3
|
|
|
4
4
|
set(CMAKE_CXX_STANDARD 14)
|
|
5
5
|
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
|
@@ -99,15 +99,15 @@ if(NOT BUILD_SHARED_LIBS)
|
|
|
99
99
|
NO_DEFAULT_PATH
|
|
100
100
|
)
|
|
101
101
|
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
102
|
+
find_library(QRENCODE_STATIC_LIBRARY
|
|
103
|
+
NAMES libqrencode.a
|
|
104
|
+
PATHS
|
|
105
|
+
/usr/local/lib # Linux: from source build
|
|
106
|
+
${QRENCODE_LIBRARY_DIRS}
|
|
107
|
+
/opt/homebrew/lib # macOS: from Homebrew
|
|
108
|
+
/usr/lib
|
|
109
|
+
NO_DEFAULT_PATH
|
|
110
|
+
)
|
|
111
111
|
|
|
112
112
|
if(PNG_STATIC_LIBRARY AND QRENCODE_STATIC_LIBRARY)
|
|
113
113
|
message(STATUS "✓ Found static libpng: ${PNG_STATIC_LIBRARY}")
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.19
|
|
@@ -16,7 +16,7 @@ function detectPlatform() {
|
|
|
16
16
|
if (arch === 'x64') return 'macos-x86_64';
|
|
17
17
|
} else if (platform === 'linux') {
|
|
18
18
|
if (arch === 'x64') return 'linux-x86_64';
|
|
19
|
-
if (arch === 'arm64') return 'linux-
|
|
19
|
+
if (arch === 'arm64') return 'linux-aarch64';
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
throw new Error(`Unsupported platform: ${platform}-${arch}`);
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
data/scripts/build-binaries.sh
CHANGED
|
@@ -38,6 +38,13 @@ mkdir build
|
|
|
38
38
|
cd build
|
|
39
39
|
|
|
40
40
|
echo "🔧 Building standalone CLI with static linking..."
|
|
41
|
+
|
|
42
|
+
# Set PKG_CONFIG_PATH to find custom-built libraries
|
|
43
|
+
if [[ "$OS" == "linux" ]]; then
|
|
44
|
+
export PKG_CONFIG_PATH="/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH"
|
|
45
|
+
echo "PKG_CONFIG_PATH: $PKG_CONFIG_PATH"
|
|
46
|
+
fi
|
|
47
|
+
|
|
41
48
|
# Configure for standalone CLI (all dependencies static)
|
|
42
49
|
cmake .. \
|
|
43
50
|
-DCMAKE_BUILD_TYPE=Release \
|
data/src/fastqr.cpp
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fastqr
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.19
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- FastQR Project
|
|
@@ -85,11 +85,11 @@ files:
|
|
|
85
85
|
- bindings/ruby/lib/fastqr.rb
|
|
86
86
|
- bindings/ruby/lib/fastqr/platform.rb
|
|
87
87
|
- bindings/ruby/lib/fastqr/version.rb
|
|
88
|
+
- bindings/ruby/prebuilt/linux-aarch64.tar.gz
|
|
88
89
|
- bindings/ruby/prebuilt/linux-aarch64/bin/fastqr
|
|
89
90
|
- bindings/ruby/prebuilt/linux-aarch64/include/fastqr.h
|
|
90
91
|
- bindings/ruby/prebuilt/linux-aarch64/include/stb_image.h
|
|
91
92
|
- bindings/ruby/prebuilt/linux-aarch64/include/stb_image_write.h
|
|
92
|
-
- bindings/ruby/prebuilt/linux-arm64.tar.gz
|
|
93
93
|
- bindings/ruby/prebuilt/linux-x86_64.tar.gz
|
|
94
94
|
- bindings/ruby/prebuilt/linux-x86_64/bin/fastqr
|
|
95
95
|
- bindings/ruby/prebuilt/linux-x86_64/include/fastqr.h
|
|
Binary file
|