pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/qr-code-generator graphics/qr-code-generator:...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/078b3d1193ad
branches:  trunk
changeset: 422850:078b3d1193ad
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Wed Feb 05 13:17:21 2020 +0000

description:
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:

 graphics/qr-code-generator/DESCR         |   2 +
 graphics/qr-code-generator/Makefile      |  36 ++++++++++++++++++++++++++++++++
 graphics/qr-code-generator/PLIST         |  12 ++++++++++
 graphics/qr-code-generator/buildlink3.mk |  14 ++++++++++++
 graphics/qr-code-generator/distinfo      |   6 +++++
 5 files changed, 70 insertions(+), 0 deletions(-)

diffs (90 lines):

diff -r 7cf90a837e6e -r 078b3d1193ad graphics/qr-code-generator/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/qr-code-generator/DESCR  Wed Feb 05 13:17:21 2020 +0000
@@ -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 -r 7cf90a837e6e -r 078b3d1193ad graphics/qr-code-generator/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/qr-code-generator/Makefile       Wed Feb 05 13:17:21 2020 +0000
@@ -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@localhost
+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 -r 7cf90a837e6e -r 078b3d1193ad graphics/qr-code-generator/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/qr-code-generator/PLIST  Wed Feb 05 13:17:21 2020 +0000
@@ -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 -r 7cf90a837e6e -r 078b3d1193ad graphics/qr-code-generator/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/qr-code-generator/buildlink3.mk  Wed Feb 05 13:17:21 2020 +0000
@@ -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 -r 7cf90a837e6e -r 078b3d1193ad graphics/qr-code-generator/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/qr-code-generator/distinfo       Wed Feb 05 13:17:21 2020 +0000
@@ -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



Home | Main Index | Thread Index | Old Index