From 58062d710794c7e356d8ffeab4085f58f299b9dd Mon Sep 17 00:00:00 2001 From: Joe Marcus Clarke Date: Fri, 9 Apr 2004 20:16:20 +0000 Subject: Add py-gstreamer, Python bindings around the GStreamer multimedia system. PR: 65361 Submitted by: Koop Mast --- multimedia/py-gstreamer/Makefile | 53 +++++++++++++++++++++++++++++++++++++++ multimedia/py-gstreamer/distinfo | 2 ++ multimedia/py-gstreamer/pkg-descr | 10 ++++++++ multimedia/py-gstreamer/pkg-plist | 26 +++++++++++++++++++ 4 files changed, 91 insertions(+) create mode 100644 multimedia/py-gstreamer/Makefile create mode 100644 multimedia/py-gstreamer/distinfo create mode 100644 multimedia/py-gstreamer/pkg-descr create mode 100644 multimedia/py-gstreamer/pkg-plist (limited to 'multimedia/py-gstreamer') diff --git a/multimedia/py-gstreamer/Makefile b/multimedia/py-gstreamer/Makefile new file mode 100644 index 000000000000..53dca898366f --- /dev/null +++ b/multimedia/py-gstreamer/Makefile @@ -0,0 +1,53 @@ +# New ports collection makefile for: gstreamer-python +# Date created: Fri Apr 9 16:24:13 CEST 2004 +# Whom: Koop Mast +# +# $FreeBSD$ +# + +PORTNAME= gstreamer +PORTVERSION= 0.7.91 +CATEGORIES= multimedia python gnome +MASTER_SITES= http://gstreamer.freedesktop.org/src/gst-python/ +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= gst-python-${PORTVERSION} + +MAINTAINER= kwm@rainbow-runner.nl +COMMENT= A set of Python bindings for gstreamer + +.if !defined(NOPORTDOCS) +BUILD_DEPENDS= xmlto:${PORTSDIR}/textproc/xmlto \ + lynx:${PORTSDIR}/www/lynx +.endif + +USE_PYTHON= yes +USE_GMAKE= yes +USE_GNOME= gstreamerplugins \ + pygtk2 \ + gnomehack \ + pkgconfig \ + lthack +USE_LIBTOOL= yes +CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include" \ + LDFLAGS="-L${X11BASE}" +DOCS= README.html README.txt +EXAMPLES= gst/bps.py gst/cp.py gst/dvdplay.py gst/f2f.py \ + gst/identity.py gst/ilat.py gst/lat.py gst/rot13.py \ + gst/vorbisplay.py gst/wavenc.py gstplay/player.py + +.if !defined(NOPORTDOCS) +CONFIGURE_ARGS= --enable-docs +.else +CONFIGURE_ARGS= --disable-docs +.endif + +.if !defined(NOPORTDOCS) +post-install: + @${MKDIR} ${DOCSDIR} + @cd ${WRKSRC}/docs && ${INSTALL_DATA} ${DOCS} ${DOCSDIR} +.for i in ${EXAMPLES} + ${INSTALL_DATA} ${WRKSRC}/examples/${i} ${DOCSDIR}/ +.endfor +.endif + +.include diff --git a/multimedia/py-gstreamer/distinfo b/multimedia/py-gstreamer/distinfo new file mode 100644 index 000000000000..5ab0492c1e15 --- /dev/null +++ b/multimedia/py-gstreamer/distinfo @@ -0,0 +1,2 @@ +MD5 (gst-python-0.7.91.tar.gz) = a43e72dba3f72f1d6134cd282b37210f +SIZE (gst-python-0.7.91.tar.gz) = 396244 diff --git a/multimedia/py-gstreamer/pkg-descr b/multimedia/py-gstreamer/pkg-descr new file mode 100644 index 000000000000..ec5f4dcd7388 --- /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 000000000000..b03b3bd45d97 --- /dev/null +++ b/multimedia/py-gstreamer/pkg-plist @@ -0,0 +1,26 @@ +%%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 +%%PORTDOCS%%%%DOCSDIR%%/bps.py +%%PORTDOCS%%%%DOCSDIR%%/cp.py +%%PORTDOCS%%%%DOCSDIR%%/dvdplay.py +%%PORTDOCS%%%%DOCSDIR%%/f2f.py +%%PORTDOCS%%%%DOCSDIR%%/identity.py +%%PORTDOCS%%%%DOCSDIR%%/ilat.py +%%PORTDOCS%%%%DOCSDIR%%/lat.py +%%PORTDOCS%%%%DOCSDIR%%/player.py +%%PORTDOCS%%%%DOCSDIR%%/rot13.py +%%PORTDOCS%%%%DOCSDIR%%/vorbisplay.py +%%PORTDOCS%%%%DOCSDIR%%/wavenc.py +share/gst-python/2.0/defs/gst-types.defs +@dirrm share/gst-python/2.0/defs +@dirrm share/gst-python/2.0 +@dirrm share/gst-python +@dirrm %%DOCSDIR%% +@dirrm %%PYTHON_SITELIBDIR%%/gst -- cgit v1.2.3