pkgsrc/devel/gdbus-codegen/Makefile
prlw1 2044561433 Update glib2 to 2.66.4
Overview of changes in GLib 2.66.4
==================================

* Fix some issues in parsing floating point seconds in `GDateTime`
  (!1791, !1797)

* Fix some issues in handling invalid UTF-8 when parsing for `GDate` (!1788)

* Bugs fixed:
 - #2264 GPtrArray might call qsort() with NULL data
 - Backport !1771 macos: fix frexpl checks in cross-compilation to glib-2-66
 - Backport !1788 gdate: Validate input as UTF-8 before parsing to glib-2-66
 - Backport !1791 gdatetime: Disallow NAN as a number of seconds in a GDateTime to glib-2-66
 - Backport !1794 gio-tool-info: Prevent criticals if mount options are not available to glib-2-66
 - Backport !1797 gdatetime: Improve ISO 8601 parsing to avoid floating point checks to glib-2-66
2020-12-20 11:06:40 +00:00

29 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.25 2020/12/20 11:06:40 prlw1 Exp $
.include "../../devel/glib2/Makefile.common"
PKGNAME:= ${PKGNAME:S/glib2/gdbus-codegen/}
CATEGORIES= devel gnome
COMMENT= Generate code and/or documentation for one or more D-Bus interfaces
WRKSRC= ${WRKDIR}/${DISTNAME}/gio/gdbus-2.0/codegen
SUBST_CLASSES+= autovars
SUBST_STAGE.autovars= pre-configure
SUBST_MESSAGE.autovars= autoconf meson.build
SUBST_FILES.autovars= meson.build config.py.in gdbus-codegen.in
SUBST_VARS.autovars= PKGVERSION PYTHONBIN
SUBST_SED.autovars= -e 's,@VERSION@,${PKGVERSION:Q},'
SUBST_SED.autovars+= -e 's,@MAJOR_VERSION@,${PKGVERSION:R:R:Q},'
SUBST_SED.autovars+= -e 's,@MINOR_VERSION@,${PKGVERSION:R:E:Q},'
SUBST_SED.autovars+= -e 's,@PYTHON@,${PYTHONBIN:Q},'
SUBST_SED.autovars+= -e 's,@DATADIR@,${PREFIX}/share,'
REPLACE_PYTHON+= gdbus-codegen.in
DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat
.include "../../devel/meson/build.mk"
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"