aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Grzybowski <wg@FreeBSD.org>2013-11-29 00:40:36 +0000
committerWilliam Grzybowski <wg@FreeBSD.org>2013-11-29 00:40:36 +0000
commit741da1f445947d709696f732c035f87b86232406 (patch)
treee19c73727001b0163d293891bf29d178d0034077
parente3fd17670e7bde29aa40b926d23e22eb1be47676 (diff)
downloadports-741da1f445947d709696f732c035f87b86232406.tar.gz
ports-741da1f445947d709696f732c035f87b86232406.zip
Notes
-rw-r--r--multimedia/Makefile3
-rw-r--r--multimedia/py-librtmp/Makefile28
-rw-r--r--multimedia/py-librtmp/distinfo2
-rw-r--r--multimedia/py-librtmp/pkg-descr4
4 files changed, 36 insertions, 1 deletions
diff --git a/multimedia/Makefile b/multimedia/Makefile
index 0f793663322e..57fc4f541ccf 100644
--- a/multimedia/Makefile
+++ b/multimedia/Makefile
@@ -286,13 +286,14 @@
SUBDIR += py-kaa-base
SUBDIR += py-kaa-imlib2
SUBDIR += py-kaa-metadata
- SUBDIR += py-subliminal
+ SUBDIR += py-librtmp
SUBDIR += py-mlt
SUBDIR += py-openlp
SUBDIR += py-periscope
SUBDIR += py-pybmp
SUBDIR += py-qt4-multimedia
SUBDIR += py-qt4-phonon
+ SUBDIR += py-subliminal
SUBDIR += py-tvnamer
SUBDIR += pyjama
SUBDIR += pymp
diff --git a/multimedia/py-librtmp/Makefile b/multimedia/py-librtmp/Makefile
new file mode 100644
index 000000000000..a9f9f60b591f
--- /dev/null
+++ b/multimedia/py-librtmp/Makefile
@@ -0,0 +1,28 @@
+# Created by: William Grzybowski <wg@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= librtmp
+PORTVERSION= 0.1.2
+CATEGORIES= multimedia python
+MASTER_SITES= CHEESESHOP
+DISTNAME= python-${PORTNAME}-${PORTVERSION}
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= wg@FreeBSD.org
+COMMENT= Python bindings for librtmp, built with cffi
+
+LICENSE= BSD
+
+LIB_DEPENDS= librtmp.so:${PORTSDIR}/multimedia/librtmp
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=0:${PORTSDIR}/devel/py-cffi
+
+CFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib
+
+USE_PYTHON= yes
+USE_PYDISTUTILS= easy_install
+PYDISTUTILS_AUTOPLIST= yes
+PYDISTUTILS_PKGNAME= python-${PORTNAME}
+PYEASYINSTALL_ARCHDEP= yes
+
+.include <bsd.port.mk>
diff --git a/multimedia/py-librtmp/distinfo b/multimedia/py-librtmp/distinfo
new file mode 100644
index 000000000000..91f64d812794
--- /dev/null
+++ b/multimedia/py-librtmp/distinfo
@@ -0,0 +1,2 @@
+SHA256 (python-librtmp-0.1.2.tar.gz) = 207e539c04419cc2ea3380cfdee0c8576168079603168c7cc1807e9f4982e997
+SIZE (python-librtmp-0.1.2.tar.gz) = 23390
diff --git a/multimedia/py-librtmp/pkg-descr b/multimedia/py-librtmp/pkg-descr
new file mode 100644
index 000000000000..196386614335
--- /dev/null
+++ b/multimedia/py-librtmp/pkg-descr
@@ -0,0 +1,4 @@
+python-librtmp is a Python interface to librtmp. It uses cffi to interface with
+the C library librtmp.
+
+WWW: https://github.com/chrippa/python-librtmp