pkgsrc/devel/gobject-introspection/Makefile
prlw1 9950ecb5ed Update gobject-introspection to 1.66.0
1.66.0 - 2020-09-12
-------------------

* Support the gtk-doc action syntax :mr:`203`
* Meson fixes with glib and/or g-i is a subproject :mr:`206` :mr:`208`
* GITypeInfo storage type utility API :mr:`205`
* Meson: Fix build as subproject :mr:`214`
* Fixing XDG_DATA_DIRS logic :mr:`215`
* libgirepository: Add a couple missing nullable annotations :mr:`217` :mr:`225`
* dumper: Fix missing symbols in LTO case or with overridden symbol visibility settings :mr:`216`
* Documentation improvements: :mr:`220` :mr:`232`
* Remove old autoconf fallback code for the python tools :mr:`221`
* meson: Rename option `gi_cross_use_{host -> prebuilt}_gi` mr:`211`
* meson: Don't override finding executables when using pre-built tools. :mr:`212`
* meson: gir: add a dependency for g-ir-compiler for building .girs :mr:`228`
* meson: Use pkgconfig generator :mr:`207`
* Fix gi-dump-types.c to build on Windows :mr:`218`
* giscanner: parse block comments for members and fields :mr:`230`
* Add the notion of standalone doc sections :mr:`226`
* giscanner: Add support for using clang-cl :mr:`234`
* giscanner: Fix section matching for documentation :mr:`237`
2020-09-29 10:45:58 +00:00

48 lines
1.7 KiB
Makefile

# $NetBSD: Makefile,v 1.72 2020/09/29 10:45:58 prlw1 Exp $
DISTNAME= gobject-introspection-1.66.0
CATEGORIES= devel gnome
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gobject-introspection/${PKGVERSION_NOREV:R}/}
EXTRACT_SUFX= .tar.xz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://wiki.gnome.org/Projects/GObjectIntrospection
COMMENT= GObject Introspection
LICENSE= gnu-gpl-v2 AND gnu-lgpl-v2
DEPENDS+= ${PYPKGPREFIX}-cElementTree-[0-9]*:../../textproc/py-cElementTree
DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat
PYTHON_VERSIONS_INCOMPATIBLE= 27
USE_TOOLS+= pkg-config flex bison
MESON_ARGS+= -Dpython=${PYTHONBIN}
MESON_ARGS+= -Ddoctool=disabled
PKGCONFIG_OVERRIDE+= gobject-introspection-1.0.pc.in
PKGCONFIG_OVERRIDE+= gobject-introspection-no-export-1.0.pc.in
SUBST_CLASSES+= timet
SUBST_STAGE.timet= pre-configure
SUBST_FILES.timet= giscanner/ast.py
SUBST_FILES.timet+= tests/scanner/Regress-1.0-expected.gir
.include "../../mk/bsd.prefs.mk"
.if !empty(MACHINE_PLATFORM:MNetBSD-5.99.*) || !empty(MACHINE_PLATFORM:MNetBSD-[6-9].*) || !empty(MACHINE_PLATFORM:MMirBSD-*)
SUBST_SED.timet= -e 's,@TIMET_TYPENAME@,TYPE_INT64,g'
SUBST_SED.timet+= -e 's,@TIMET_CTYPE@,gint64,g'
.else
SUBST_SED.timet= -e 's,@TIMET_TYPENAME@,TYPE_LONG,g'
SUBST_SED.timet+= -e 's,@TIMET_CTYPE@,glong,g'
.endif
MAKE_ENV+= LD_LIBRARY_PATH=${WRKSRC}/output/girepository
BUILDLINK_API_DEPENDS.glib2+= glib2>=2.58.0
.include "../../devel/glib2/buildlink3.mk"
BUILDLINK_API_DEPENDS.libffi+= libffi>=3.0.0
.include "../../devel/libffi/buildlink3.mk"
.include "../../devel/meson/build.mk"
.include "../../lang/python/application.mk"
.include "../../lang/python/extension.mk"
.include "../../mk/bsd.pkg.mk"