diff options
author | ryoon <ryoon@pkgsrc.org> | 2020-02-05 13:17:21 +0000 |
---|---|---|
committer | ryoon <ryoon@pkgsrc.org> | 2020-02-05 13:17:21 +0000 |
commit | 3dbd0e3d1e65cab248409288e2da0df54f84366b (patch) | |
tree | 5dd5176335ff9a2a8b4f62d06205f258fde5487d /graphics | |
parent | a65316e520ef78cccf3212c0468983f538bc7008 (diff) | |
download | pkgsrc-3dbd0e3d1e65cab248409288e2da0df54f84366b.tar.gz |
graphics/qr-code-generator: import qr-code-generator-1.4.0
QR Code generator library written in C/C++.
The aim of this library is the best and clearest QR Code generation.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/qr-code-generator/DESCR | 2 | ||||
-rw-r--r-- | graphics/qr-code-generator/Makefile | 36 | ||||
-rw-r--r-- | graphics/qr-code-generator/PLIST | 12 | ||||
-rw-r--r-- | graphics/qr-code-generator/buildlink3.mk | 14 | ||||
-rw-r--r-- | graphics/qr-code-generator/distinfo | 6 |
5 files changed, 70 insertions, 0 deletions
diff --git a/graphics/qr-code-generator/DESCR b/graphics/qr-code-generator/DESCR new file mode 100644 index 00000000000..08c8fcac1b2 --- /dev/null +++ b/graphics/qr-code-generator/DESCR @@ -0,0 +1,2 @@ +QR Code generator library written in C/C++. +The aim of this library is the best and clearest QR Code generation. diff --git a/graphics/qr-code-generator/Makefile b/graphics/qr-code-generator/Makefile new file mode 100644 index 00000000000..eef447865bb --- /dev/null +++ b/graphics/qr-code-generator/Makefile @@ -0,0 +1,36 @@ +# $NetBSD: Makefile,v 1.1 2020/02/05 13:17:21 ryoon Exp $ + +DISTNAME= QR-Code-generator-1.4.0 +PKGNAME= ${DISTNAME:tl} +CATEGORIES= graphics +MASTER_SITES= https://dev-www.libreoffice.org/src/ + +MAINTAINER= ryoon@NetBSD.org +HOMEPAGE= https://github.com/nayuki/QR-Code-generator +COMMENT= High-quality QR Code generator in C/C++ +LICENSE= mit + +USE_LANGUAGES= c c++11 +USE_TOOLS+= gmake + +BUILDLINK_TRANSFORM+= rm:-fsanitize=undefined +# Automatically added to CXXFLAGS too. +CFLAGS+= -fPIC + +BUILD_DIRS= c cpp + +INSTALLATION_DIRS+= bin include/qrcodegen lib + +do-install: + ${INSTALL_LIB} ${WRKSRC}/c/libqrcodegen.a ${DESTDIR}${PREFIX}/lib + ${INSTALL_DATA} ${WRKSRC}/c/*.h ${DESTDIR}${PREFIX}/include/qrcodegen + ${INSTALL_PROGRAM} ${WRKSRC}/c/qrcodegen-demo ${DESTDIR}${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/c/qrcodegen-test ${DESTDIR}${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/c/qrcodegen-worker ${DESTDIR}${PREFIX}/bin + + ${INSTALL_LIB} ${WRKSRC}/cpp/libqrcodegen.a ${DESTDIR}${PREFIX}/lib/libqrcodegencpp.a + ${INSTALL_PROGRAM} ${WRKSRC}/cpp/QrCodeGeneratorDemo ${DESTDIR}${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/cpp/QrCodeGeneratorWorker ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/cpp/*.hpp ${DESTDIR}${PREFIX}/include/qrcodegen + +.include "../../mk/bsd.pkg.mk" diff --git a/graphics/qr-code-generator/PLIST b/graphics/qr-code-generator/PLIST new file mode 100644 index 00000000000..45f281a13b0 --- /dev/null +++ b/graphics/qr-code-generator/PLIST @@ -0,0 +1,12 @@ +@comment $NetBSD: PLIST,v 1.1 2020/02/05 13:17:21 ryoon Exp $ +bin/QrCodeGeneratorDemo +bin/QrCodeGeneratorWorker +bin/qrcodegen-demo +bin/qrcodegen-test +bin/qrcodegen-worker +include/qrcodegen/BitBuffer.hpp +include/qrcodegen/QrCode.hpp +include/qrcodegen/QrSegment.hpp +include/qrcodegen/qrcodegen.h +lib/libqrcodegen.a +lib/libqrcodegencpp.a diff --git a/graphics/qr-code-generator/buildlink3.mk b/graphics/qr-code-generator/buildlink3.mk new file mode 100644 index 00000000000..106ab4dba47 --- /dev/null +++ b/graphics/qr-code-generator/buildlink3.mk @@ -0,0 +1,14 @@ +# $NetBSD: buildlink3.mk,v 1.1 2020/02/05 13:17:21 ryoon Exp $ + +BUILDLINK_TREE+= qr-code-generator + +.if !defined(QR_CODE_GENERATOR_BUILDLINK3_MK) +QR_CODE_GENERATOR_BUILDLINK3_MK:= + +BUILDLINK_DEPMETHOD.qr-code-generator?= build + +BUILDLINK_API_DEPENDS.qr-code-generator+= qr-code-generator>=1.4.0 +BUILDLINK_PKGSRCDIR.qr-code-generator?= ../../graphics/qr-code-generator +.endif # QR_CODE_GENERATOR_BUILDLINK3_MK + +BUILDLINK_TREE+= -qr-code-generator diff --git a/graphics/qr-code-generator/distinfo b/graphics/qr-code-generator/distinfo new file mode 100644 index 00000000000..154cf310860 --- /dev/null +++ b/graphics/qr-code-generator/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2020/02/05 13:17:21 ryoon Exp $ + +SHA1 (QR-Code-generator-1.4.0.tar.gz) = df391cea80b616eec37a51eb8b2dddb0024c8e6a +RMD160 (QR-Code-generator-1.4.0.tar.gz) = 85b239aeff420e06358532a2efac1e13e8f15a35 +SHA512 (QR-Code-generator-1.4.0.tar.gz) = 314a757bfdf9a38bcf07fd7a0103d28a2d1dd7311b8234761304efeef7bfdb740db78ab01e6b67e99a28d523cc2be9c1073b2de9d65e853d191c3dad19af56d0 +Size (QR-Code-generator-1.4.0.tar.gz) = 146339 bytes |