diff options
author | tijl <tijl@FreeBSD.org> | 2014-07-16 03:40:17 +0800 |
---|---|---|
committer | tijl <tijl@FreeBSD.org> | 2014-07-16 03:40:17 +0800 |
commit | ab880c4947d2dc8dcfde970399d2d5d5821e3365 (patch) | |
tree | 885fc97b919c9a42ada3b3aaaa31b289d4274ec3 /multimedia | |
parent | 861a3673b63313e6e22904fb8bdd6650bee0258c (diff) | |
download | freebsd-ports-gnome-ab880c4947d2dc8dcfde970399d2d5d5821e3365.tar.gz freebsd-ports-gnome-ab880c4947d2dc8dcfde970399d2d5d5821e3365.tar.zst freebsd-ports-gnome-ab880c4947d2dc8dcfde970399d2d5d5821e3365.zip |
- USES=libtool tar:bzip2
- Add INSTALL_TARGET=install-strip
- Remove references to PTHREAD_CFLAGS and PTHREAD_LIBS
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/py-gstreamer/Makefile | 13 | ||||
-rw-r--r-- | multimedia/py-gstreamer/pkg-plist | 8 |
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 |