Skip to content

Commit

Permalink
Update to latest release. Use options framework to all user to build a
Browse files Browse the repository at this point in the history
statically linked package. Buildlink pthread. Simplify HOMEPAGE. USE .bz2
distfile. From NEWS:

Version 3.4.2 (2013.3.1)
------------------------
* Bug fix release. (Thanks to chisj, vlad417, Petr and Viona)

Release Note:
Micro QR Code encoder had a bug that caused incorrect output (issue #25). Now
the bug has been fixed. Memory leak bug (#24) and insufficient string splitting
bug have been fixed.
  • Loading branch information
rodent committed Jun 9, 2013
1 parent 79e7d61 commit 88ee075
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 8 deletions.
11 changes: 7 additions & 4 deletions converters/qrencode/Makefile
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# $NetBSD: Makefile,v 1.10 2013/02/16 11:20:37 wiz Exp $
# $NetBSD: Makefile,v 1.11 2013/06/09 13:48:50 rodent Exp $
#

DISTNAME= qrencode-3.4.1
PKGREVISION= 1
DISTNAME= qrencode-3.4.2
CATEGORIES= converters
MASTER_SITES= http://fukuchi.org/works/qrencode/
EXTRACT_SUFX= .tar.bz2

MAINTAINER= [email protected]
HOMEPAGE= http://fukuchi.org/works/qrencode/index.html.en
HOMEPAGE= http://fukuchi.org/works/qrencode/
COMMENT= QR Code generator
LICENSE= gnu-lgpl-v2.1

Expand All @@ -24,5 +24,8 @@ CONFIGURE_ARGS+= --without-tests

PKGCONFIG_OVERRIDE+= libqrencode.pc.in

.include "options.mk"

.include "../../graphics/png/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
8 changes: 4 additions & 4 deletions converters/qrencode/distinfo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.5 2012/12/16 14:23:07 ryoon Exp $
$NetBSD: distinfo,v 1.6 2013/06/09 13:48:50 rodent Exp $

SHA1 (qrencode-3.4.1.tar.gz) = 3a651b077bc58d4108d350033de412d063de852d
RMD160 (qrencode-3.4.1.tar.gz) = 170b77cfdb50db795ee71b6540cbc605daf370c9
Size (qrencode-3.4.1.tar.gz) = 459434 bytes
SHA1 (qrencode-3.4.2.tar.bz2) = f9066b442d001333829538a99fa17275c05248d6
RMD160 (qrencode-3.4.2.tar.bz2) = 0c3deb1b1579313890d40fe83a868c069d310a71
Size (qrencode-3.4.2.tar.bz2) = 375876 bytes
13 changes: 13 additions & 0 deletions converters/qrencode/options.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# $NetBSD: options.mk,v 1.1 2013/06/09 13:48:50 rodent Exp $

PKG_OPTIONS_VAR= PKG_OPTIONS.qrencode
PKG_SUPPORTED_OPTIONS= static
PKG_SUGGESTED_OPTIONS+= # blank

.include "../../mk/bsd.options.mk"

.if !empty(PKG_OPTIONS:Mstatic)
CONFIGURE_ARGS+= --enable-static=yes
.else
CONFIGURE_ARGS+= --enable-static=no
.endif

0 comments on commit 88ee075

Please sign in to comment.