[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / devel / protobuf

File: [cvs.NetBSD.org] / pkgsrc / devel / protobuf / Makefile (download)

Revision 1.24, Tue Nov 26 18:59:31 2019 UTC (3 months ago) by adam
Branch: MAIN
Changes since 1.23: +2 -2 lines

protobuf: updated to 3.11.0

Protocol Buffers v3.11.0

C++
Make serialization method naming consistent
Make proto runtime + generated code free of deprecation warnings
Moved ShutdownProtobufLibrary() to message_lite.h. For backward compatibility a declaration is still available in stubs/common.h, but users should prefer message_lite.h
Removed non-namespace macro EXPECT_OK()
Removed mathlimits.h from stubs in favor of using std::numeric_limits from C++11
Fixed bug in parser when ending on a group tag
Add a helper function to UnknownFieldSet to deal with the changing return value of message::unknown_fields()
Fix incorrect use of string_view iterators
Support direct pickling of nested messages
Skip extension tag validation for MessageSet if unknown dependencies are allowed
Updated deprecation macros to annotate deprecated code
Remove conversion warning in MapEntryFuncs::ByteSizeLong
Revert "Make shared libraries be able to link to MSVC static runtime libraries, so that VC runtime is not required."

Python
Add float_precision option in json format printer
Optionally print bytes fields as messages in unknown fields, if possible
FieldPath: fix testing IsSet on root path ''
Experimental code gen (fast import protobuf module) which only work with cpp generated code linked in

# $NetBSD: Makefile,v 1.24 2019/11/26 18:59:31 adam Exp $

DISTNAME=	protobuf-cpp-3.11.0
PKGNAME=	${DISTNAME:S/-cpp//}
CATEGORIES=	devel
MASTER_SITES=	${MASTER_SITE_GITHUB:=google/}
GITHUB_PROJECT=	protobuf
GITHUB_RELEASE=	v${PKGVERSION_NOREV}

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://github.com/protocolbuffers/protobuf
COMMENT=	Google protocol buffers
LICENSE=	modified-bsd

WRKSRC=		${WRKDIR}/${DISTNAME:S/-cpp//}

USE_LANGUAGES=		c c++11
USE_LIBTOOL=		yes
USE_TOOLS+=		gmake
GNU_CONFIGURE=		yes
PKGCONFIG_OVERRIDE+=	protobuf-lite.pc.in
PKGCONFIG_OVERRIDE+=	protobuf.pc.in
TEST_TARGET=		check

SET_LIBDIR=	yes

.if ${MACHINE_ARCH} == "i386"
# 64 bit atomic ops are required
CXXFLAGS+=	-march=i586
.endif

# included in third_party
#.include "../../devel/googletest/buildlink3.mk"
BUILDLINK_API_DEPENDS.zlib+=	zlib>=1.2.0.4
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"