Update package version to 3.0.1

This commit is contained in:
2026-02-14 15:11:50 +02:00
parent 8f7955286a
commit 14c9f494a9
2 changed files with 19 additions and 3 deletions
+6 -2
View File
@@ -1,9 +1,11 @@
name: zxing-cpp name: zxing-cpp
description: C++ port of ZXing description: C++ port of ZXing
version: 2.3.0 version: 3.0.1
revision: 1 revision: 1
url: https://github.com/zxing-cpp/zxing-cpp url: https://github.com/zxing-cpp/zxing-cpp
license: Apache-2.0 license: Apache-2.0
maintainers:
- [email protected]
architecture: any architecture: any
type: source type: source
depends: depends:
@@ -11,8 +13,10 @@ depends:
- glibc - glibc
make_depends: make_depends:
- cmake - cmake
check_depends:
- googletest
downloads: downloads:
- url: https://github.com/zxing-cpp/zxing-cpp/archive/refs/tags/v${BPM_PKG_VERSION}.tar.gz - url: https://github.com/zxing-cpp/zxing-cpp/archive/refs/tags/v${BPM_PKG_VERSION}.tar.gz
extract_to: ${BPM_SOURCE} extract_to: ${BPM_SOURCE}
extract_strip_components: 1 extract_strip_components: 1
checksum: 64e4139103fdbc57752698ee15b5f0b0f7af9a0331ecbdc492047e0772c417ba checksum: de58cf0f49d5947616266b80c12d67b799af6de65ed2f2027a4e8dd418b3bd97
+13 -1
View File
@@ -5,10 +5,22 @@
# The build function is executed in the source directory # The build function is executed in the source directory
# This function is used to compile the source code # This function is used to compile the source code
build() { build() {
cmake -B build -DCMAKE_INSTALL_PREFIX=/usr -DZXING_EXAMPLES=ON -DZXING_C_API=ON cmake -B build \
-DCMAKE_INSTALL_PREFIX=/usr \
-DZXING_EXAMPLES=ON \
-DZXING_C_API=ON \
-DZXING_USE_BUNDLED_ZINT=OFF \
-DZXING_WRITERS=BOTH \
-DZXING_UNIT_TESTS=ON
cmake --build build cmake --build build
} }
# The check function is executed in the source directory
# This function is used to run tests to verify the package has been compiled correctly
check() {
ctest --test-dir build --output-on-failure
}
# The package function is executed in the source directory # The package function is executed in the source directory
# This function is used to move the compiled files into the output directory # This function is used to move the compiled files into the output directory
package() { package() {