blob: 8ff80c6e2cb80f8e27c531011df28425ee4658d7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
PORTNAME= librtmp
PORTVERSION= 0.3.0
PORTREVISION= 1
CATEGORIES= multimedia python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= python-${PORTNAME}-${PORTVERSION}
MAINTAINER= bofh@FreeBSD.org
COMMENT= Python bindings for librtmp, built with cffi
WWW= https://github.com/chrippa/python-librtmp
LICENSE= BSD2CLAUSE
LIB_DEPENDS= librtmp.so:multimedia/librtmp
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=0:devel/py-cffi@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=0:devel/py-cffi@${PY_FLAVOR}
USES= python localbase:ldflags
USE_PYTHON= autoplist distutils
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=incompatible-function-pointer-types
.endif
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/librtmp/_librtmp*.so
.include <bsd.port.mk>
|