58dc24ae19
* Update glib annotations * Windows: Fix running on different drives :mr:`239` * gimarshallingtests: Add more tests for flags :mr:`235` * Revert "giscanner: Fix section matching for documentation :mr:`237`" see :issue:`360`
48 lines
1.7 KiB
Makefile
48 lines
1.7 KiB
Makefile
# $NetBSD: Makefile,v 1.74 2020/12/20 22:00:43 prlw1 Exp $
|
|
|
|
DISTNAME= gobject-introspection-1.66.1
|
|
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"
|