summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--multimedia/libnms/DESCR10
-rw-r--r--multimedia/libnms/Makefile19
-rw-r--r--multimedia/libnms/PLIST21
-rw-r--r--multimedia/libnms/buildlink3.mk19
-rw-r--r--multimedia/libnms/distinfo6
-rw-r--r--multimedia/libnms/patches/patch-aa12
6 files changed, 87 insertions, 0 deletions
diff --git a/multimedia/libnms/DESCR b/multimedia/libnms/DESCR
new file mode 100644
index 00000000000..f2236b59bf8
--- /dev/null
+++ b/multimedia/libnms/DESCR
@@ -0,0 +1,10 @@
+libnms lets you add multimedia streaming playback in your applications in a
+quick and straightforward way. This software, derived from the experience
+matured with NeMeSi is fully compliant with IETF's standards for real-time
+streaming of multimedia contents over Internet. libnms implements RTSP -
+Real-Time Streaming Protocol (RFC2326) and RTP/RTCP - Real-Time Transport
+Protocol/RTP Control Protocol (RFC3550) supporting the RTP Profile for Audio
+and Video Conferences with Minimal Control (RFC3551).
+
+Currently libnms is relatively stable API wise and the most enlighting
+documentation are the example code and the partially doxygenized headers.
diff --git a/multimedia/libnms/Makefile b/multimedia/libnms/Makefile
new file mode 100644
index 00000000000..3accdf5abe0
--- /dev/null
+++ b/multimedia/libnms/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/09/10 16:27:14 xtraeme Exp $
+#
+
+DISTNAME= libnms-0.6.0
+CATEGORIES= multimedia
+MASTER_SITES= http://www.paldo.org/paldo/sources/libnms/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= jfranz@bsdprojects.net
+HOMEPAGE= http://streaming.polito.it/client/library/
+COMMENT= Open Media Streaming Client Library
+
+GNU_CONFIGURE= yes
+USE_TOOLS+= pkg-config
+USE_LIBTOOL= yes
+
+PKGCONFIG_OVERRIDE+= libnms.pc.in
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/multimedia/libnms/PLIST b/multimedia/libnms/PLIST
new file mode 100644
index 00000000000..f4e1d1fa793
--- /dev/null
+++ b/multimedia/libnms/PLIST
@@ -0,0 +1,21 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/09/10 16:27:14 xtraeme Exp $
+bin/dump_info
+bin/dump_stream
+include/nemesi/bufferpool.h
+include/nemesi/cc.h
+include/nemesi/comm.h
+include/nemesi/md5.h
+include/nemesi/md5global.h
+include/nemesi/methods.h
+include/nemesi/rtcp.h
+include/nemesi/rtp.h
+include/nemesi/rtpptdefs.h
+include/nemesi/rtsp.h
+include/nemesi/sdp.h
+include/nemesi/types.h
+include/nemesi/utils.h
+include/nemesi/version.h
+include/nemesi/wsocket.h
+lib/libnemesi.la
+lib/pkgconfig/libnms.pc
+@dirrm include/nemesi
diff --git a/multimedia/libnms/buildlink3.mk b/multimedia/libnms/buildlink3.mk
new file mode 100644
index 00000000000..e48de50a760
--- /dev/null
+++ b/multimedia/libnms/buildlink3.mk
@@ -0,0 +1,19 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2007/09/10 16:27:14 xtraeme Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+LIBNMS_BUILDLINK3_MK:= ${LIBNMS_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+= libnms
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibnms}
+BUILDLINK_PACKAGES+= libnms
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libnms
+
+.if ${LIBNMS_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.libnms+= libnms>=0.6.0
+BUILDLINK_PKGSRCDIR.libnms?= ../../multimedia/libnms
+.endif # LIBNMS_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/multimedia/libnms/distinfo b/multimedia/libnms/distinfo
new file mode 100644
index 00000000000..f5c694ec574
--- /dev/null
+++ b/multimedia/libnms/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/09/10 16:27:14 xtraeme Exp $
+
+SHA1 (libnms-0.6.0.tar.bz2) = 914676b86c1eb15068a95984b197796693bbfe99
+RMD160 (libnms-0.6.0.tar.bz2) = 4c5b82969d0e60be9c2fb686161c0ef619287bbd
+Size (libnms-0.6.0.tar.bz2) = 347203 bytes
+SHA1 (patch-aa) = bcb4f65cb547281b475eb21468e93f34ee806260
diff --git a/multimedia/libnms/patches/patch-aa b/multimedia/libnms/patches/patch-aa
new file mode 100644
index 00000000000..f992ee7f0e5
--- /dev/null
+++ b/multimedia/libnms/patches/patch-aa
@@ -0,0 +1,12 @@
+$NetBSD: patch-aa,v 1.1.1.1 2007/09/10 16:27:14 xtraeme Exp $
+
+--- include/nemesi/wsocket.h.orig Mon Oct 23 16:13:55 2006
++++ include/nemesi/wsocket.h
+@@ -40,6 +40,7 @@
+ #include <sys/socket.h>
+ #include <arpa/inet.h>
+ #include <netdb.h>
++#include <netinet/in.h>
+
+ #include <nemesi/comm.h>
+ #include <nemesi/types.h>