diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2010-08-27 05:06:34 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2010-08-27 05:06:34 +0800 |
commit | cc494287dcf00033f59fdb9ed44a705e49d67d13 (patch) | |
tree | 8fcf94cb5b888b0d68e27c12cfaa53449e4bf29b /graphics | |
parent | 0db40be0ebfcd865a396978812dcdbf3e5e5a62e (diff) | |
download | marcuscom-ports-cc494287dcf00033f59fdb9ed44a705e49d67d13.tar marcuscom-ports-cc494287dcf00033f59fdb9ed44a705e49d67d13.tar.gz marcuscom-ports-cc494287dcf00033f59fdb9ed44a705e49d67d13.tar.bz2 marcuscom-ports-cc494287dcf00033f59fdb9ed44a705e49d67d13.tar.lz marcuscom-ports-cc494287dcf00033f59fdb9ed44a705e49d67d13.tar.xz marcuscom-ports-cc494287dcf00033f59fdb9ed44a705e49d67d13.tar.zst marcuscom-ports-cc494287dcf00033f59fdb9ed44a705e49d67d13.zip |
Fix the build with clutter-1.3.12.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@14469 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/py-clutter/Makefile | 38 | ||||
-rw-r--r-- | graphics/py-clutter/distinfo | 3 | ||||
-rw-r--r-- | graphics/py-clutter/files/patch-clutter_cogl.c | 10 | ||||
-rw-r--r-- | graphics/py-clutter/pkg-descr | 4 | ||||
-rw-r--r-- | graphics/py-clutter/pkg-plist | 43 |
5 files changed, 98 insertions, 0 deletions
diff --git a/graphics/py-clutter/Makefile b/graphics/py-clutter/Makefile new file mode 100644 index 000000000..fd8595e55 --- /dev/null +++ b/graphics/py-clutter/Makefile @@ -0,0 +1,38 @@ +# New ports collection makefile for: py-clutter +# Date created: 2008-12-26 +# Whom: Martin Wilke <miwi@FreeBSD.org> +# +# $FreeBSD$ +# $MCom: ports/graphics/py-clutter/Makefile,v 1.6 2010/05/10 04:21:19 marcus Exp $ +# + +PORTNAME= clutter +PORTVERSION= 1.0.2 +PORTREVISION= 2 +CATEGORIES= graphics +MASTER_SITES= http://www.clutter-project.org/sources/pyclutter/${PORTVERSION:R}/ +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= py${PORTNAME}-${PORTVERSION} + +MAINTAINER= gnome@FreeBSD.org +COMMENT= Python modules for Clutter toolkit + +BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/gtk-2.0/gobject/__init__.py:${PORTSDIR}/devel/py-gobject \ + ${PYTHON_SITELIBDIR}/cairo/__init__.py:${PORTSDIR}/graphics/py-cairo +RUN_DEPENDS= ${PYTHON_SITELIBDIR}/gtk-2.0/gobject/__init__.py:${PORTSDIR}/devel/py-gobject \ + ${PYTHON_SITELIBDIR}/cairo/__init__.py:${PORTSDIR}/graphics/py-cairo +LIB_DEPENDS= clutter-glx-1.0:${PORTSDIR}/graphics/clutter + +USE_BZIP2= yes +USE_GMAKE= yes +USE_GETTEXT= yes +USE_AUTOTOOLS= libtool:22 +USE_GNOME= gnomehack pygnome2 pygtk2 +USE_PYTHON= 2.5+ +CONFIGURE_ARGS= --disable-docs +CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" + +CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS} +LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} + +.include <bsd.port.mk> diff --git a/graphics/py-clutter/distinfo b/graphics/py-clutter/distinfo new file mode 100644 index 000000000..5a15cf431 --- /dev/null +++ b/graphics/py-clutter/distinfo @@ -0,0 +1,3 @@ +MD5 (pyclutter-1.0.2.tar.bz2) = 6655951d0e1edf4a5db304efa972b730 +SHA256 (pyclutter-1.0.2.tar.bz2) = 60841a436ca64c5957b216a8b1f8c6846dba52e1b56c226715bf138e0118d082 +SIZE (pyclutter-1.0.2.tar.bz2) = 498957 diff --git a/graphics/py-clutter/files/patch-clutter_cogl.c b/graphics/py-clutter/files/patch-clutter_cogl.c new file mode 100644 index 000000000..5a7cedd0f --- /dev/null +++ b/graphics/py-clutter/files/patch-clutter_cogl.c @@ -0,0 +1,10 @@ +--- clutter/cogl.c.orig 2010-08-26 14:30:51.000000000 -0400 ++++ clutter/cogl.c 2010-08-26 14:31:06.000000000 -0400 +@@ -3799,7 +3799,6 @@ pycogl_add_constants(PyObject *module, c + #ifdef VERSION + PyModule_AddStringConstant(module, "__version__", VERSION); + #endif +- pyg_flags_add(module, "DebugFlags", strip_prefix, COGL_TYPE_DEBUG_FLAGS); + pyg_flags_add(module, "BufferBit", strip_prefix, COGL_TYPE_BUFFER_BIT); + pyg_enum_add(module, "ShaderType", strip_prefix, COGL_TYPE_SHADER_TYPE); + pyg_enum_add(module, "PixelFormat", strip_prefix, COGL_TYPE_PIXEL_FORMAT); diff --git a/graphics/py-clutter/pkg-descr b/graphics/py-clutter/pkg-descr new file mode 100644 index 000000000..e0eb4ffe1 --- /dev/null +++ b/graphics/py-clutter/pkg-descr @@ -0,0 +1,4 @@ +This package contains the Python modules that allow you to use the +Clutter toolkit in Python programs. + +WWW: http://clutter-project.org/ diff --git a/graphics/py-clutter/pkg-plist b/graphics/py-clutter/pkg-plist new file mode 100644 index 000000000..07acd3c5c --- /dev/null +++ b/graphics/py-clutter/pkg-plist @@ -0,0 +1,43 @@ +include/pyclutter-1.0/pyclutter/pyclutter.h +%%PYTHON_SITELIBDIR%%/clutter/__init__.py +%%PYTHON_SITELIBDIR%%/clutter/__init__.pyc +%%PYTHON_SITELIBDIR%%/clutter/__init__.pyo +%%PYTHON_SITELIBDIR%%/clutter/_clutter.a +%%PYTHON_SITELIBDIR%%/clutter/_clutter.la +%%PYTHON_SITELIBDIR%%/clutter/_clutter.so +%%PYTHON_SITELIBDIR%%/clutter/deprecation.py +%%PYTHON_SITELIBDIR%%/clutter/deprecation.pyc +%%PYTHON_SITELIBDIR%%/clutter/deprecation.pyo +%%PYTHON_SITELIBDIR%%/clutter/glx.a +%%PYTHON_SITELIBDIR%%/clutter/glx.la +%%PYTHON_SITELIBDIR%%/clutter/glx.so +%%PYTHON_SITELIBDIR%%/clutter/keysyms.py +%%PYTHON_SITELIBDIR%%/clutter/keysyms.pyc +%%PYTHON_SITELIBDIR%%/clutter/keysyms.pyo +%%PYTHON_SITELIBDIR%%/clutter/x11.a +%%PYTHON_SITELIBDIR%%/clutter/x11.la +%%PYTHON_SITELIBDIR%%/clutter/x11.so +libdata/pkgconfig/pyclutter-1.0.pc +share/pyclutter/1.0/defs/clutter-base-types.defs +share/pyclutter/1.0/defs/clutter-base.defs +share/pyclutter/1.0/defs/clutter-types.defs +share/pyclutter/1.0/defs/clutter.defs +share/pyclutter/1.0/defs/clutterglx-base-types.defs +share/pyclutter/1.0/defs/clutterglx-base.defs +share/pyclutter/1.0/defs/clutterglx-types.defs +share/pyclutter/1.0/defs/clutterglx.defs +share/pyclutter/1.0/defs/clutterx11-base-types.defs +share/pyclutter/1.0/defs/clutterx11-base.defs +share/pyclutter/1.0/defs/clutterx11-types.defs +share/pyclutter/1.0/defs/clutterx11.defs +share/pyclutter/1.0/defs/cogl-base-types.defs +share/pyclutter/1.0/defs/cogl-base.defs +share/pyclutter/1.0/defs/cogl-types.defs +share/pyclutter/1.0/defs/cogl.defs +@dirrm share/pyclutter/1.0/defs +@dirrm share/pyclutter/1.0 +@dirrm share/pyclutter +@dirrm %%PYTHON_SITELIBDIR%%/clutter +@dirrmtry %%PYTHON_SITELIBDIR%% +@dirrm include/pyclutter-1.0/pyclutter +@dirrm include/pyclutter-1.0 |