From 940b4d1848e8c70ab7642901a68594e8016caffc Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 27 Apr 2024 18:51:28 +0200 Subject: Adding upstream version 1:7.0.4. Signed-off-by: Daniel Baumann --- external/qrcodegen/Makefile | 7 +++++++ external/qrcodegen/Module_qrcodegen.mk | 24 +++++++++++++++++++++++ external/qrcodegen/README | 3 +++ external/qrcodegen/StaticLibrary_qrcodegen.mk | 26 +++++++++++++++++++++++++ external/qrcodegen/UnpackedTarball_qrcodegen.mk | 19 ++++++++++++++++++ 5 files changed, 79 insertions(+) create mode 100644 external/qrcodegen/Makefile create mode 100644 external/qrcodegen/Module_qrcodegen.mk create mode 100644 external/qrcodegen/README create mode 100644 external/qrcodegen/StaticLibrary_qrcodegen.mk create mode 100644 external/qrcodegen/UnpackedTarball_qrcodegen.mk (limited to 'external/qrcodegen') diff --git a/external/qrcodegen/Makefile b/external/qrcodegen/Makefile new file mode 100644 index 000000000..e4968cf85 --- /dev/null +++ b/external/qrcodegen/Makefile @@ -0,0 +1,7 @@ +# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- + +module_directory:=$(dir $(realpath $(firstword $(MAKEFILE_LIST)))) + +include $(module_directory)/../../solenv/gbuild/partial_build.mk + +# vim: set noet sw=4 ts=4: diff --git a/external/qrcodegen/Module_qrcodegen.mk b/external/qrcodegen/Module_qrcodegen.mk new file mode 100644 index 000000000..09c771d0d --- /dev/null +++ b/external/qrcodegen/Module_qrcodegen.mk @@ -0,0 +1,24 @@ +# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- +# +# This file is part of the LibreOffice project. +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# + +$(eval $(call gb_Module_Module,qrcodegen)) + +$(eval $(call gb_Module_add_targets,qrcodegen,\ + UnpackedTarball_qrcodegen \ +)) + +ifeq ($(ENABLE_QRCODEGEN),TRUE) + +$(eval $(call gb_Module_add_targets,qrcodegen,\ + StaticLibrary_qrcodegen \ +)) + +endif + +# vim: set noet sw=4 ts=4: diff --git a/external/qrcodegen/README b/external/qrcodegen/README new file mode 100644 index 000000000..d6f19abdc --- /dev/null +++ b/external/qrcodegen/README @@ -0,0 +1,3 @@ +QR code generating library, available from [https://github.com/nayuki/QR-Code-generator/tree/master/cpp]. + +qrcodegenerator to make the QR code out of a link or text in libreoffice. diff --git a/external/qrcodegen/StaticLibrary_qrcodegen.mk b/external/qrcodegen/StaticLibrary_qrcodegen.mk new file mode 100644 index 000000000..d4b21673b --- /dev/null +++ b/external/qrcodegen/StaticLibrary_qrcodegen.mk @@ -0,0 +1,26 @@ +# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- +# +# This file is part of the LibreOffice project. +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# + +$(eval $(call gb_StaticLibrary_StaticLibrary,qrcodegen)) + +$(eval $(call gb_StaticLibrary_use_unpacked,qrcodegen,qrcodegen)) + +$(eval $(call gb_StaticLibrary_set_generated_cxx_suffix,qrcodegen,cpp)) + +$(eval $(call gb_StaticLibrary_use_external,qrcodegen,icu_headers)) + +$(eval $(call gb_StaticLibrary_set_warnings_disabled,qrcodegen)) + +$(eval $(call gb_StaticLibrary_add_generated_exception_objects,qrcodegen,\ + UnpackedTarball/qrcodegen/cpp/BitBuffer \ + UnpackedTarball/qrcodegen/cpp/QrCode \ + UnpackedTarball/qrcodegen/cpp/QrSegment \ +)) + +# vim: set noet sw=4 ts=4: diff --git a/external/qrcodegen/UnpackedTarball_qrcodegen.mk b/external/qrcodegen/UnpackedTarball_qrcodegen.mk new file mode 100644 index 000000000..1ddbc5bc5 --- /dev/null +++ b/external/qrcodegen/UnpackedTarball_qrcodegen.mk @@ -0,0 +1,19 @@ +#-*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- +# +# This file is part of the LibreOffice project. +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# + +$(eval $(call gb_UnpackedTarball_UnpackedTarball,qrcodegen)) + +$(eval $(call gb_UnpackedTarball_set_tarball,qrcodegen,$(QRCODEGEN_TARBALL))) + +$(eval $(call gb_UnpackedTarball_set_patchlevel,qrcodegen,1)) + +$(eval $(call gb_UnpackedTarball_add_patches,qrcodegen, \ +)) + +# vim: set noet sw=4 ts=4: -- cgit v1.2.3