aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--multimedia/py-gstreamer/Makefile13
-rw-r--r--multimedia/py-gstreamer/pkg-plist8
2 files changed, 5 insertions, 16 deletions
diff --git a/multimedia/py-gstreamer/Makefile b/multimedia/py-gstreamer/Makefile
index 0d7290c0e601..2285064e7710 100644
--- a/multimedia/py-gstreamer/Makefile
+++ b/multimedia/py-gstreamer/Makefile
@@ -4,7 +4,7 @@
PORTNAME= gstreamer
PORTVERSION= 0.10.22
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= multimedia python gnome
MASTER_SITES= http://gstreamer.freedesktop.org/src/gst-python/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -19,15 +19,15 @@ LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/libxml2mod.so:${PORTSDIR}/textproc/py-libxml2
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/libxml2mod.so:${PORTSDIR}/textproc/py-libxml2
-USES= gmake pathfix pkgconfig
+USES= gmake libtool pathfix pkgconfig tar:bzip2
USE_PYTHON= 2
-USE_BZIP2= yes
USE_GNOME= pygobject
USE_GSTREAMER= yes
GNU_CONFIGURE= yes
+INSTALL_TARGET= install-strip
PLIST_SUB= VERSION="${GST_VERSION}"
-CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
-LDFLAGS+= -L${LOCALBASE} ${PTHREAD_LIBS}
+CPPFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}
post-patch:
@${REINPLACE_CMD} -e 's|DLFCN|dl|g' ${WRKSRC}/gst/__init__.py
@@ -44,8 +44,5 @@ post-install:
${PYTHONPREFIX_SITELIBDIR} -f ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py -d \
${PYTHONPREFIX_SITELIBDIR} -f ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
- @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/gst-0.10/gst/*.so
- @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/*.so
- @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/gstreamer-0.10/libgstpython.so
.include <bsd.port.mk>
diff --git a/multimedia/py-gstreamer/pkg-plist b/multimedia/py-gstreamer/pkg-plist
index 39d773b43363..2c56ca21c644 100644
--- a/multimedia/py-gstreamer/pkg-plist
+++ b/multimedia/py-gstreamer/pkg-plist
@@ -2,14 +2,11 @@ include/gstreamer-%%VERSION%%/gst/pygst.h
include/gstreamer-%%VERSION%%/gst/pygstexception.h
include/gstreamer-%%VERSION%%/gst/pygstminiobject.h
include/gstreamer-%%VERSION%%/gst/pygstvalue.h
-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
@@ -32,19 +29,14 @@ lib/gstreamer-%%VERSION%%/libgstpython.so
%%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