jasper ca7ee4c653 import (non-working, hence unhooked) py-clutter 0.8.2
This package contains the Python modules that allow you to use the
Clutter toolkit in Python programs.

this doesn't fully work yet, but it's now intree in case someone
wants to have a look at fixing it.
2009-02-15 17:47:21 +00:00

40 lines
1.3 KiB
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2009/02/15 17:47:21 jasper Exp $
COMMENT= python bindings for Clutter
DISTNAME= pyclutter-${MAJOR}.2
PKGNAME= py-clutter-${MAJOR}.2
MASTER_SITES= ${MASTER_SITES_CLUTTER:=pyclutter/${MAJOR}/}
MODULES= devel/gettext \
lang/python
WANTLIB += GL X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes
WANTLIB += Xi Xinerama Xrandr Xrender atk-1.0 cairo clutter-glx-0.8
WANTLIB += expat fontconfig freetype gdk-x11-2.0 gdk_pixbuf-2.0
WANTLIB += gio-2.0 glib-2.0 glitz gmodule-2.0 gobject-2.0 gstaudio-0.10
WANTLIB += gstbase-0.10 gstinterfaces-0.10 gstreamer-0.10 gstvideo-0.10
WANTLIB += gthread-2.0 gtk-x11-2.0 json-glib-1.0 m pango-1.0 pangocairo-1.0
WANTLIB += pangoft2-1.0 pcre pixman-1 png xml2 z
LIB_DEPENDS= clutter-cairo-0.8::graphics/clutter/clutter-cairo \
clutter-gst-0.8::graphics/clutter/clutter-gst \
clutter-gtk-0.8::graphics/clutter/clutter-gtk
BUILD_DEPENDS+= ${RUN_DEPENDS}
RUN_DEPENDS= ::x11/py-gtk2
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
--with-cluttercairo=yes \
--with-cluttergst=yes \
--with-cluttergtk=yes
CONFIGURE_ENV+= PYTHON="${MODPY_BIN}"
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/py-clutter
${INSTALL_DATA} ${WRKSRC}/examples/*.py \
${PREFIX}/share/examples/py-clutter
.include <bsd.port.mk>