1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-12-06 17:26:35 +01:00

Add possibility to save QR code in PNG file format

This commit is contained in:
Ansa89
2016-10-05 11:55:45 +02:00
parent e17fa89d8f
commit 958df9f2e8
12 changed files with 234 additions and 67 deletions

View File

@@ -34,6 +34,12 @@ ifneq ($(DESK_NOTIFY), disabled)
-include $(CHECKS_DIR)/desktop_notifications.mk
endif
# Check if we want build QR exported as PNG support
QR_PNG = $(shell if [ -z "$(DISABLE_QRPNG)" ] || [ "$(DISABLE_QRPNG)" = "0" ] ; then echo enabled ; else echo disabled ; fi)
ifneq ($(QR_PNG), disabled)
-include $(CHECKS_DIR)/qr_png.mk
endif
# Check if we can build Toxic
CHECK_LIBS = $(shell $(PKG_CONFIG) --exists $(LIBS) || echo -n "error")
ifneq ($(CHECK_LIBS), error)