diff options
author | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2011-01-24 00:43:03 +0800 |
---|---|---|
committer | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2011-01-24 00:43:03 +0800 |
commit | 9fb5d771d782f80e5fd2704155fac2eb5275a1b2 (patch) | |
tree | da77142ad9a192cbb5694732623f064490ff4111 | |
parent | e1be574e3b93d80406c52c2082e5c99ade784f3b (diff) | |
download | marcuscom-ports-9fb5d771d782f80e5fd2704155fac2eb5275a1b2.tar marcuscom-ports-9fb5d771d782f80e5fd2704155fac2eb5275a1b2.tar.gz marcuscom-ports-9fb5d771d782f80e5fd2704155fac2eb5275a1b2.tar.bz2 marcuscom-ports-9fb5d771d782f80e5fd2704155fac2eb5275a1b2.tar.lz marcuscom-ports-9fb5d771d782f80e5fd2704155fac2eb5275a1b2.tar.xz marcuscom-ports-9fb5d771d782f80e5fd2704155fac2eb5275a1b2.tar.zst marcuscom-ports-9fb5d771d782f80e5fd2704155fac2eb5275a1b2.zip |
We don't need to depend on py-gtk2 if we got py-gobject.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@15075 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r-- | multimedia/py-gstreamer/Makefile | 49 | ||||
-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 | 78 |
4 files changed, 139 insertions, 0 deletions
diff --git a/multimedia/py-gstreamer/Makefile b/multimedia/py-gstreamer/Makefile new file mode 100644 index 000000000..a9c1b4b21 --- /dev/null +++ b/multimedia/py-gstreamer/Makefile @@ -0,0 +1,49 @@ +# 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$ +# $MCom: ports/multimedia/py-gstreamer/Makefile,v 1.20 2008/07/26 17:21:38 marcus Exp $ +# + +PORTNAME= gstreamer +PORTVERSION= 0.10.20 +PORTREVISION= 1 +CATEGORIES= multimedia python gnome +MASTER_SITES= http://gstreamer.freedesktop.org/src/gst-python/ +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= gst-python-${PORTVERSION} + +MAINTAINER= multimedia@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 + +LICENSE= LGPL21 +LICENSE_FILE= ${WRKSRC}/COPYING +USE_PYTHON= yes +USE_BZIP2= yes +USE_GMAKE= yes +USE_GNOME= pygobject gnomehack pkgconfig +USE_GSTREAMER= yes +GNU_CONFIGURE= yes +PLIST_SUB= VERSION="${GST_VERSION}" +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \ + LDFLAGS="-L${LOCALBASE} ${PTHREAD_LIBS}" + +post-patch: + @${REINPLACE_CMD} -e 's|DLFCN|dl|g' ${WRKSRC}/gst/__init__.py + @${REINPLACE_CMD} -e 's|alsasink|osssink|g' -e 's|alsasrc|osssrc|g' \ + ${WRKSRC}/gst/extend/jukebox.py \ + ${WRKSRC}/common/m4/gst-default.m4 +.for d in audio-controller.py decodebin.py mixer.py vumeter.py + @${REINPLACE_CMD} -e 's|alsasink|osssink|g' -e 's|alsasrc|osssrc|g' \ + ${WRKSRC}/examples/${d} +.endfor + +post-install: + @cd ${PYTHONPREFIX_SITELIBDIR} && ${PYTHON_CMD} -OOOO -c 'import pygst' && \ + ${PYTHON_CMD} -c 'import pygst' + +.include <bsd.port.mk> diff --git a/multimedia/py-gstreamer/distinfo b/multimedia/py-gstreamer/distinfo new file mode 100644 index 000000000..465587fb2 --- /dev/null +++ b/multimedia/py-gstreamer/distinfo @@ -0,0 +1,2 @@ +SHA256 (gst-python-0.10.20.tar.bz2) = f5b3c8efb6b4f5c03ff4935ebf4c8367263f9e711f2ee030d5b2032d49190cc1 +SIZE (gst-python-0.10.20.tar.bz2) = 621397 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..f01bdf736 --- /dev/null +++ b/multimedia/py-gstreamer/pkg-plist @@ -0,0 +1,78 @@ +lib/gstreamer-%%VERSION%%/libgstpython.la +lib/gstreamer-%%VERSION%%/libgstpython.so +%%PYTHON_SITELIBDIR%%/gst-%%VERSION%%/gst/__init__.py +%%PYTHON_SITELIBDIR%%/gst-%%VERSION%%/gst/__init__.pyc +%%PYTHON_SITELIBDIR%%/gst-%%VERSION%%/gst/__init__.pyo +%%PYTHON_SITELIBDIR%%/gst-%%VERSION%%/gst/_gst.la +%%PYTHON_SITELIBDIR%%/gst-%%VERSION%%/gst/_gst.so +%%PYTHON_SITELIBDIR%%/gst-%%VERSION%%/gst/audio.la +%%PYTHON_SITELIBDIR%%/gst-%%VERSION%%/gst/audio.so +%%PYTHON_SITELIBDIR%%/gst-%%VERSION%%/gst/extend/__init__.py +%%PYTHON_SITELIBDIR%%/gst-%%VERSION%%/gst/extend/__init__.pyc +%%PYTHON_SITELIBDIR%%/gst-%%VERSION%%/gst/extend/__init__.pyo +%%PYTHON_SITELIBDIR%%/gst-%%VERSION%%/gst/extend/discoverer.py +%%PYTHON_SITELIBDIR%%/gst-%%VERSION%%/gst/extend/discoverer.pyc +%%PYTHON_SITELIBDIR%%/gst-%%VERSION%%/gst/extend/discoverer.pyo +%%PYTHON_SITELIBDIR%%/gst-%%VERSION%%/gst/extend/jukebox.py +%%PYTHON_SITELIBDIR%%/gst-%%VERSION%%/gst/extend/jukebox.pyc +%%PYTHON_SITELIBDIR%%/gst-%%VERSION%%/gst/extend/jukebox.pyo +%%PYTHON_SITELIBDIR%%/gst-%%VERSION%%/gst/extend/leveller.py +%%PYTHON_SITELIBDIR%%/gst-%%VERSION%%/gst/extend/leveller.pyc +%%PYTHON_SITELIBDIR%%/gst-%%VERSION%%/gst/extend/leveller.pyo +%%PYTHON_SITELIBDIR%%/gst-%%VERSION%%/gst/extend/pygobject.py +%%PYTHON_SITELIBDIR%%/gst-%%VERSION%%/gst/extend/pygobject.pyc +%%PYTHON_SITELIBDIR%%/gst-%%VERSION%%/gst/extend/pygobject.pyo +%%PYTHON_SITELIBDIR%%/gst-%%VERSION%%/gst/extend/sources.py +%%PYTHON_SITELIBDIR%%/gst-%%VERSION%%/gst/extend/sources.pyc +%%PYTHON_SITELIBDIR%%/gst-%%VERSION%%/gst/extend/sources.pyo +%%PYTHON_SITELIBDIR%%/gst-%%VERSION%%/gst/extend/utils.py +%%PYTHON_SITELIBDIR%%/gst-%%VERSION%%/gst/extend/utils.pyc +%%PYTHON_SITELIBDIR%%/gst-%%VERSION%%/gst/extend/utils.pyo +%%PYTHON_SITELIBDIR%%/gst-%%VERSION%%/gst/interfaces.la +%%PYTHON_SITELIBDIR%%/gst-%%VERSION%%/gst/interfaces.so +%%PYTHON_SITELIBDIR%%/gst-%%VERSION%%/gst/pbutils.la +%%PYTHON_SITELIBDIR%%/gst-%%VERSION%%/gst/pbutils.so +%%PYTHON_SITELIBDIR%%/gst-%%VERSION%%/gst/tag.la +%%PYTHON_SITELIBDIR%%/gst-%%VERSION%%/gst/tag.so +%%PYTHON_SITELIBDIR%%/gst-%%VERSION%%/gst/video.la +%%PYTHON_SITELIBDIR%%/gst-%%VERSION%%/gst/video.so +%%PYTHON_SITELIBDIR%%/pygst.pth +%%PYTHON_SITELIBDIR%%/pygst.py +%%PYTHON_SITELIBDIR%%/pygst.pyc +%%PYTHON_SITELIBDIR%%/pygst.pyo +%%PYTHON_SITELIBDIR%%/gstoption.la +%%PYTHON_SITELIBDIR%%/gstoption.so +libdata/pkgconfig/gst-python-%%VERSION%%.pc +share/gst-python/%%VERSION%%/defs/audio.defs +share/gst-python/%%VERSION%%/defs/base.defs +share/gst-python/%%VERSION%%/defs/gst-extrafuncs.defs +share/gst-python/%%VERSION%%/defs/pbutils.defs +share/gst-python/%%VERSION%%/defs/gst-types.defs +share/gst-python/%%VERSION%%/defs/libs.defs +share/gst-python/%%VERSION%%/defs/tag.defs +share/gst-python/%%VERSION%%/defs/video.defs +share/gst-python/%%VERSION%%/examples/audio-controller.py +share/gst-python/%%VERSION%%/examples/audioconcat.py +share/gst-python/%%VERSION%%/examples/bps.py +share/gst-python/%%VERSION%%/examples/cp.py +share/gst-python/%%VERSION%%/examples/debugslider.py +share/gst-python/%%VERSION%%/examples/decodebin.py +share/gst-python/%%VERSION%%/examples/f2f.py +share/gst-python/%%VERSION%%/examples/filesrc.py +share/gst-python/%%VERSION%%/examples/fvumeter.py +share/gst-python/%%VERSION%%/examples/gst-discover +share/gst-python/%%VERSION%%/examples/gstfile.py +share/gst-python/%%VERSION%%/examples/maemogst.py +share/gst-python/%%VERSION%%/examples/mixer.py +share/gst-python/%%VERSION%%/examples/pipeline-tester +share/gst-python/%%VERSION%%/examples/play.py +share/gst-python/%%VERSION%%/examples/remuxer.py +share/gst-python/%%VERSION%%/examples/sinkelement.py +share/gst-python/%%VERSION%%/examples/vumeter.py +@dirrm share/gst-python/%%VERSION%%/examples +@dirrm share/gst-python/%%VERSION%%/defs +@dirrm share/gst-python/%%VERSION%% +@dirrmtry share/gst-python +@dirrm %%PYTHON_SITELIBDIR%%/gst-%%VERSION%%/gst/extend +@dirrm %%PYTHON_SITELIBDIR%%/gst-%%VERSION%%/gst +@dirrm %%PYTHON_SITELIBDIR%%/gst-%%VERSION%% |