diff options
author | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-02-18 08:39:12 +0800 |
---|---|---|
committer | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-02-18 08:39:12 +0800 |
commit | 86b664b748c65f588449e7d17fa3ae24a967bc17 (patch) | |
tree | 340f3bace6b83395de41270a98e725cd833573c2 /multimedia/py-gstreamer | |
parent | 9d14e8232df427b181b536b5b6cf41d309fbf8af (diff) | |
download | marcuscom-ports-86b664b748c65f588449e7d17fa3ae24a967bc17.tar marcuscom-ports-86b664b748c65f588449e7d17fa3ae24a967bc17.tar.gz marcuscom-ports-86b664b748c65f588449e7d17fa3ae24a967bc17.tar.bz2 marcuscom-ports-86b664b748c65f588449e7d17fa3ae24a967bc17.tar.lz marcuscom-ports-86b664b748c65f588449e7d17fa3ae24a967bc17.tar.xz marcuscom-ports-86b664b748c65f588449e7d17fa3ae24a967bc17.tar.zst marcuscom-ports-86b664b748c65f588449e7d17fa3ae24a967bc17.zip |
Add py-gstreamer with USE_GSTREAMER.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@3670 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'multimedia/py-gstreamer')
-rw-r--r-- | multimedia/py-gstreamer/Makefile | 55 | ||||
-rw-r--r-- | multimedia/py-gstreamer/distinfo | 2 | ||||
-rw-r--r-- | multimedia/py-gstreamer/pkg-descr | 10 | ||||
-rw-r--r-- | multimedia/py-gstreamer/pkg-plist | 25 |
4 files changed, 92 insertions, 0 deletions
diff --git a/multimedia/py-gstreamer/Makefile b/multimedia/py-gstreamer/Makefile new file mode 100644 index 000000000..d6d9a1d45 --- /dev/null +++ b/multimedia/py-gstreamer/Makefile @@ -0,0 +1,55 @@ +# New ports collection makefile for: gstreamer-python +# Date created: Fri Apr 9 16:24:13 CEST 2004 +# Whom: Koop Mast <kwm@rainbow-runner.nl> +# +# $FreeBSD: ports/multimedia/py-gstreamer/Makefile,v 1.9 2004/11/29 20:08:17 kwm Exp $ +# + +PORTNAME= gstreamer +PORTVERSION= 0.8.1 +CATEGORIES= multimedia python gnome +MASTER_SITES= http://gstreamer.freedesktop.org/src/gst-python/ \ + ${MASTER_SITE_LOCAL} +MASTER_SITE_SUBDIR= kwm +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= gst-python-${PORTVERSION} + +MAINTAINER= kwm@FreeBSD.org +COMMENT= A set of Python bindings for gstreamer + +BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/libxml2mod.so:${PORTSDIR}/textproc/py-libxml2 +RUN_DEPENDS= ${PYTHON_SITELIBDIR}/libxml2mod.so:${PORTSDIR}/textproc/py-libxml2 + +.if !defined(NOPORTDOCS) +BUILD_DEPENDS+= xmlto:${PORTSDIR}/textproc/xmlto \ + lynx:${PORTSDIR}/www/lynx +.endif + +USE_PYTHON= yes +USE_GMAKE= yes +USE_GNOME= pygtk2 \ + gnomehack \ + pkgconfig +USE_GSTREAMER= yes +USE_LIBTOOL_VER=15 +USE_REINPLACE= yes +CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include" \ + LDFLAGS="-L${X11BASE}" +DOCS= README.html README.txt + +.if !defined(NOPORTDOCS) +CONFIGURE_ARGS= --enable-docs +.else +CONFIGURE_ARGS= --disable-docs +.endif + +post-patch: + @${REINPLACE_CMD} -e 's|DLFCN|dl|g' ${WRKSRC}/gst/__init__.py + +.if !defined(NOPORTDOCS) +post-install: + @${MKDIR} ${DOCSDIR} + @cd ${WRKSRC}/docs && ${INSTALL_DATA} ${DOCS} ${DOCSDIR} +.endif + +.include <bsd.port.mk> diff --git a/multimedia/py-gstreamer/distinfo b/multimedia/py-gstreamer/distinfo new file mode 100644 index 000000000..1f8af7f7c --- /dev/null +++ b/multimedia/py-gstreamer/distinfo @@ -0,0 +1,2 @@ +MD5 (gst-python-0.8.1.tar.gz) = 4666978d610b48f7f7481e41433a856c +SIZE (gst-python-0.8.1.tar.gz) = 395121 diff --git a/multimedia/py-gstreamer/pkg-descr b/multimedia/py-gstreamer/pkg-descr new file mode 100644 index 000000000..ec5f4dcd7 --- /dev/null +++ b/multimedia/py-gstreamer/pkg-descr @@ -0,0 +1,10 @@ +gst-python provides a convenient wrapper for the GStreamer library for +use in Python programs, and takes care of many of the boring details +such as managing memory and type casting. + +Like the GTK library itself gst-python is licensed under the GNU LGPL, so is +suitable for use in both free software and proprietary applications. It +is already in use in many applications ranging from small single purpose +scripts up to large full features applications. + +WWW: http://gstreamer.freedesktop.org/ diff --git a/multimedia/py-gstreamer/pkg-plist b/multimedia/py-gstreamer/pkg-plist new file mode 100644 index 000000000..217a49638 --- /dev/null +++ b/multimedia/py-gstreamer/pkg-plist @@ -0,0 +1,25 @@ +%%PYTHON_SITELIBDIR%%/gst/__init__.py +%%PYTHON_SITELIBDIR%%/gst/__init__.pyc +%%PYTHON_SITELIBDIR%%/gst/__init__.pyo +%%PYTHON_SITELIBDIR%%/gst/_gst.so +%%PYTHON_SITELIBDIR%%/gst/interfaces.so +%%PYTHON_SITELIBDIR%%/gst/play.so +libdata/pkgconfig/gst-python-0.8.pc +%%PORTDOCS%%%%DOCSDIR%%/README.html +%%PORTDOCS%%%%DOCSDIR%%/README.txt +share/gst-python/2.0/defs/gst-types.defs +share/gst-python/examples/bps.py +share/gst-python/examples/cp.py +share/gst-python/examples/f2f.py +share/gst-python/examples/filesrc.py +share/gst-python/examples/gst123 +share/gst-python/examples/play.py +share/gst-python/examples/player.py +share/gst-python/examples/videoplayer.py +share/gst-python/examples/vorbisplay.py +@dirrm share/gst-python/examples +@dirrm share/gst-python/2.0/defs +@dirrm share/gst-python/2.0 +@dirrm share/gst-python +@dirrm %%DOCSDIR%% +@dirrm %%PYTHON_SITELIBDIR%%/gst |