Files
buildroot/package/zxing-cpp/zxing-cpp.mk
Thomas Petazzoni f78163431c package/zxing-cpp: drop support for Python bindings
Since the bump of zxing-cpp to version 2.3.0 in Buildroot commit
fb032bd34a ("package/zxing-cpp: bump to
version 2.3.0"), the build of the Python bindings has been broken. We
tried to figure things out, but couldn't, and nobody bothered fixing
this since February 2025, so let's drop support for the Python
bindings for the time being.

Fixes:

  https://autobuild.buildroot.net/results/93ffa69b9f92f142c65169f9c3a7c7ad0e733551/

Cc: Thomas Bonnefille <thomas.bonnefille@bootlin.com>
Cc: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2025-12-30 23:04:37 +01:00

33 lines
899 B
Makefile

################################################################################
#
# zxing-cpp
#
################################################################################
ZXING_CPP_VERSION = 2.3.0
ZXING_CPP_SITE = $(call github,zxing-cpp,zxing-cpp,v$(ZXING_CPP_VERSION))
ZXING_CPP_LICENSE = Apache-2.0
ZXING_CPP_LICENSE_FILES = LICENSE
ZXING_CPP_INSTALL_STAGING = YES
ZXING_CPP_SUPPORTS_IN_SOURCE_BUILD = NO
ZXING_CPP_DEPENDENCIES = host-pkgconf stb
ZXING_CPP_CONF_OPTS = \
-DBUILD_BLACKBOX_TESTS=OFF \
-DBUILD_UNIT_TESTS=OFF \
-DBUILD_DEPENDENCIES=LOCAL \
-DBUILD_PYTHON_MODULE=OFF
ifeq ($(BR2_PACKAGE_ZXING_CPP_READERS),y)
ZXING_CPP_CONF_OPTS += -DBUILD_READERS=ON
else
ZXING_CPP_CONF_OPTS += -DBUILD_READERS=OFF
endif
ifeq ($(BR2_PACKAGE_ZXING_CPP_WRITERS),y)
ZXING_CPP_CONF_OPTS += -DBUILD_WRITERS=ON
else
ZXING_CPP_CONF_OPTS += -DBUILD_WRITERS=OFF
endif
$(eval $(cmake-package))