1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

- USES=libtool tar:bzip2

- Add INSTALL_TARGET=install-strip
- Remove references to PTHREAD_CFLAGS and PTHREAD_LIBS
This commit is contained in:
Tijl Coosemans 2014-07-15 19:40:17 +00:00
parent 782ed5ece3
commit e237c4c757
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=361998
2 changed files with 5 additions and 16 deletions

View File

@ -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>

View File

@ -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