summaryrefslogtreecommitdiffstats
path: root/multimedia/py-gstreamer
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2006-10-06 03:34:49 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2006-10-06 03:34:49 +0800
commite11560a9611e102d09e8510917320df407bc18f7 (patch)
tree562f2bd733fbbcda2b07350ded76828ab35e59b6 /multimedia/py-gstreamer
parent1e9fb982e153f3171f9b065694b96ee99443b49e (diff)
downloadmarcuscom-ports-e11560a9611e102d09e8510917320df407bc18f7.tar
marcuscom-ports-e11560a9611e102d09e8510917320df407bc18f7.tar.gz
marcuscom-ports-e11560a9611e102d09e8510917320df407bc18f7.tar.bz2
marcuscom-ports-e11560a9611e102d09e8510917320df407bc18f7.tar.lz
marcuscom-ports-e11560a9611e102d09e8510917320df407bc18f7.tar.xz
marcuscom-ports-e11560a9611e102d09e8510917320df407bc18f7.tar.zst
marcuscom-ports-e11560a9611e102d09e8510917320df407bc18f7.zip
Sync w/ FreeBSD ports.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7595 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'multimedia/py-gstreamer')
-rw-r--r--multimedia/py-gstreamer/Makefile17
-rw-r--r--multimedia/py-gstreamer/pkg-plist2
2 files changed, 14 insertions, 5 deletions
diff --git a/multimedia/py-gstreamer/Makefile b/multimedia/py-gstreamer/Makefile
index 4b3600345..c25248f81 100644
--- a/multimedia/py-gstreamer/Makefile
+++ b/multimedia/py-gstreamer/Makefile
@@ -3,11 +3,12 @@
# Whom: Koop Mast <kwm@rainbow-runner.nl>
#
# $FreeBSD$
-# $MCom: ports/multimedia/py-gstreamer/Makefile,v 1.11 2006/07/21 01:57:04 ahze Exp $
+# $MCom: ports/multimedia/py-gstreamer/Makefile,v 1.12 2006/07/21 16:39:32 ahze Exp $
+#
PORTNAME= gstreamer
PORTVERSION= 0.10.5
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= multimedia python gnome
MASTER_SITES= http://gstreamer.freedesktop.org/src/gst-python/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -22,9 +23,7 @@ RUN_DEPENDS= ${PYTHON_SITELIBDIR}/libxml2mod.so:${PORTSDIR}/textproc/py-libxml2
USE_PYTHON= yes
USE_BZIP2= yes
USE_GMAKE= yes
-USE_GNOME= pygtk2 \
- gnomehack \
- pkgconfig
+USE_GNOME= pygtk2 gnomehack pkgconfig
USE_GSTREAMER= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include" \
@@ -33,4 +32,12 @@ CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include" \
post-patch:
@${REINPLACE_CMD} -e 's|DLFCN|dl|g' ${WRKSRC}/gst/__init__.py
+post-build:
+ @cd ${WRKSRC} && ${PYTHON_CMD} -OOOO -c 'import pygst' && \
+ ${PYTHON_CMD} -c 'import pygst'
+
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/pygst.pyo ${PYTHON_SITELIBDIR}
+ ${INSTALL_DATA} ${WRKSRC}/pygst.pyc ${PYTHON_SITELIBDIR}
+
.include <bsd.port.mk>
diff --git a/multimedia/py-gstreamer/pkg-plist b/multimedia/py-gstreamer/pkg-plist
index 2d9283420..6748d9d50 100644
--- a/multimedia/py-gstreamer/pkg-plist
+++ b/multimedia/py-gstreamer/pkg-plist
@@ -19,6 +19,8 @@
%%PYTHON_SITELIBDIR%%/gst-0.10/gst/interfaces.so
%%PYTHON_SITELIBDIR%%/pygst.pth
%%PYTHON_SITELIBDIR%%/pygst.py
+%%PYTHON_SITELIBDIR%%/pygst.pyc
+%%PYTHON_SITELIBDIR%%/pygst.pyo
libdata/pkgconfig/gst-python-0.10.pc
share/gst-python/0.10/defs/base.defs
share/gst-python/0.10/defs/gst-extrafuncs.defs