pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics/qr-code-generator



Module Name:    pkgsrc
Committed By:   ryoon
Date:           Wed Feb  5 13:17:21 UTC 2020

Added Files:
        pkgsrc/graphics/qr-code-generator: DESCR Makefile PLIST buildlink3.mk
            distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/graphics/qr-code-generator/DESCR \
    pkgsrc/graphics/qr-code-generator/Makefile \
    pkgsrc/graphics/qr-code-generator/PLIST \
    pkgsrc/graphics/qr-code-generator/buildlink3.mk \
    pkgsrc/graphics/qr-code-generator/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/graphics/qr-code-generator/DESCR
diff -u /dev/null pkgsrc/graphics/qr-code-generator/DESCR:1.1
--- /dev/null   Wed Feb  5 13:17:21 2020
+++ pkgsrc/graphics/qr-code-generator/DESCR     Wed Feb  5 13:17:21 2020
@@ -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.
Index: pkgsrc/graphics/qr-code-generator/Makefile
diff -u /dev/null pkgsrc/graphics/qr-code-generator/Makefile:1.1
--- /dev/null   Wed Feb  5 13:17:21 2020
+++ pkgsrc/graphics/qr-code-generator/Makefile  Wed Feb  5 13:17:21 2020
@@ -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"
Index: pkgsrc/graphics/qr-code-generator/PLIST
diff -u /dev/null pkgsrc/graphics/qr-code-generator/PLIST:1.1
--- /dev/null   Wed Feb  5 13:17:21 2020
+++ pkgsrc/graphics/qr-code-generator/PLIST     Wed Feb  5 13:17:21 2020
@@ -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
Index: pkgsrc/graphics/qr-code-generator/buildlink3.mk
diff -u /dev/null pkgsrc/graphics/qr-code-generator/buildlink3.mk:1.1
--- /dev/null   Wed Feb  5 13:17:21 2020
+++ pkgsrc/graphics/qr-code-generator/buildlink3.mk     Wed Feb  5 13:17:21 2020
@@ -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
Index: pkgsrc/graphics/qr-code-generator/distinfo
diff -u /dev/null pkgsrc/graphics/qr-code-generator/distinfo:1.1
--- /dev/null   Wed Feb  5 13:17:21 2020
+++ pkgsrc/graphics/qr-code-generator/distinfo  Wed Feb  5 13:17:21 2020
@@ -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