Compare commits

..
6 Commits
Author SHA1 Message Date
EnumDev a07b041ee4 Update package version to 3.1.1 2026-09-04 15:58:25 +03:00
EnumDev 375d6702bf Update package version to 3.1.0 2026-07-16 21:58:05 +03:00
EnumDev 0461c41d73 Switch to new package format 2026-06-13 20:02:00 +03:00
EnumDev 6f122d0c29 Update package version to 3.0.2 2026-02-20 19:56:29 +02:00
EnumDev 7fab0a5c40 Fix dependencies and enable QT examples 2026-02-14 20:28:34 +02:00
EnumDev 14c9f494a9 Update package version to 3.0.1 2026-02-14 15:11:50 +02:00
3 changed files with 31 additions and 6 deletions
+2 -1
View File
@@ -1,2 +1,3 @@
# Exclude bpm archives # Ignore BPM archives and signatures
*.bpm *.bpm
*.bpm.sig
+13 -2
View File
@@ -1,18 +1,29 @@
name: zxing-cpp name: zxing-cpp
description: C++ port of ZXing description: C++ port of ZXing
version: 2.3.0 version: 3.1.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:
- gcc-libs - gcc-libs
- glibc - glibc
- zint
optional_depends:
- qt6-multimedia:For ZXingQtCamReader
make_depends: make_depends:
- cmake - cmake
- opencv
- qt6-base
- qt6-declarative
- qt6-multimedia
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: 7286b1e6ade66fe82b7c8208b4595deeb55d6486b410834fdc65702f46650542
+15 -2
View File
@@ -1,14 +1,27 @@
# This is the source.sh script. It is executed by BPM in a temporary directory when compiling a source package # This is the recipe.sh script. It is executed by BPM in a temporary directory when compiling a source package
# BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE # BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE
# BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT # BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT
# 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_EXAMPLES_QT=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() {