4ba4ce8608
2.28.7: - Move property and signal creation into _class_init() - gio-types.defs: change some enums to flags - Fix set_qdata warning on accessing NULL gobject property - Disable introspection support by default - Don't install codegen for Python 3 - Ship tests/te_ST@nouppera in release tarballs for tests to succeed - [gi] Port test_properties from static gio to GI Gio - [python3] fix build. PYcairo_IMPORT doesn't exists anymore - [python3] Fix maketrans import - [gi-overrides] fix MessageBox so it correctly handles the type constructor param - gdbus tests: Fix hang if test case fails - Fix crash in Gtk.TextIter overrides - correctly initialize the _gi_cairo_functions array to be zero filled - [gtk-override] print warning if user imports Gtk 2.0 - Add support for enums in gobject.property
34 lines
1.3 KiB
Makefile
34 lines
1.3 KiB
Makefile
# $NetBSD: Makefile,v 1.40 2018/01/23 11:23:12 adam Exp $
|
|
|
|
PKGNAME= py-${DISTNAME:S/^py//:S/-/-shared-/1}
|
|
|
|
.include "../../devel/py-gobject/Makefile.common"
|
|
|
|
NO_BUILD= yes
|
|
PYTHON_FOR_BUILD_ONLY= yes
|
|
INSTALLATION_DIRS= include/pygtk-2.0 lib/pkgconfig
|
|
# we do not really need py-cairo's pkg-config flags
|
|
# just some non-empty valid arguments so py-cairo is detected
|
|
# as found
|
|
CONFIGURE_ARGS+= PYCAIRO_CFLAGS="`pkg-config --cflags cairo`"
|
|
CONFIGURE_ARGS+= PYCAIRO_LIBS="`pkg-config --libs cairo`"
|
|
|
|
# ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/include/pygtk-2.0
|
|
# ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/lib/pkgconfig
|
|
do-install:
|
|
${INSTALL_DATA} ${WRKSRC}/glib/pyglib.h \
|
|
${DESTDIR}${PREFIX}/include/pygtk-2.0
|
|
${INSTALL_DATA} ${WRKSRC}/gobject/pygobject.h \
|
|
${DESTDIR}${PREFIX}/include/pygtk-2.0
|
|
${INSTALL_DATA} ${WRKSRC}/pygobject-2.0.pc \
|
|
${DESTDIR}${PREFIX}/lib/pkgconfig
|
|
|
|
.include "../../devel/glib2/buildlink3.mk"
|
|
BUILDLINK_API_DEPENDS.gobject-introspection= gobject-introspection>=0.9.5
|
|
BUILDLINK_DEPMETHOD.gobject-introspection= build
|
|
.include "../../devel/gobject-introspection/buildlink3.mk"
|
|
.include "../../devel/libffi/buildlink3.mk"
|
|
BUILDLINK_DEPMETHOD.cairo= build
|
|
.include "../../graphics/cairo/buildlink3.mk"
|
|
.include "../../lang/python/pyversion.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|