summaryrefslogtreecommitdiff
path: root/multimedia/vls
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/vls')
-rw-r--r--multimedia/vls/DESCR3
-rw-r--r--multimedia/vls/Makefile26
-rw-r--r--multimedia/vls/PLIST7
-rw-r--r--multimedia/vls/distinfo6
-rw-r--r--multimedia/vls/patches/patch-aa19
-rw-r--r--multimedia/vls/patches/patch-ab33
6 files changed, 94 insertions, 0 deletions
diff --git a/multimedia/vls/DESCR b/multimedia/vls/DESCR
new file mode 100644
index 00000000000..9d32372ef1b
--- /dev/null
+++ b/multimedia/vls/DESCR
@@ -0,0 +1,3 @@
+VLS is part of the VideoLAN project, a full client/server video over IP
+solution. The VideoLAN Server aims at broadcasting MPEG (1/2/4, PS/TS)
+video streams over any IP network.
diff --git a/multimedia/vls/Makefile b/multimedia/vls/Makefile
new file mode 100644
index 00000000000..a8409096ba3
--- /dev/null
+++ b/multimedia/vls/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/03/29 20:29:23 xtraeme Exp $
+#
+
+DISTNAME= vls-0.5.6
+CATEGORIES= net
+MASTER_SITES= http://download.videolan.org/pub/videolan/vls/0.5.6/
+
+MAINTAINER= xtraeme@NetBSD.org
+HOMEPAGE= http://www.videolan.org/
+COMMENT= VideoLAN Server
+
+USE_BUILDLINK3= yes
+USE_GNU_TOOLS+= make
+USE_PKGINSTALL= yes
+GNU_CONFIGURE= yes
+
+CONFIGURE_ARGS+= --with-dvbpsi=${BUILDLINK_PREFIX.libdvbpsi}
+
+EGDIR= ${PREFIX}/share/examples/vls
+CONF_FILES= ${EGDIR}/vls.cfg ${PKG_SYSCONFDIR}/vls.cfg
+
+.include "../../multimedia/libdvdplay/buildlink3.mk"
+.include "../../multimedia/libdvbpsi/buildlink3.mk"
+.include "../../multimedia/libdvdread/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/multimedia/vls/PLIST b/multimedia/vls/PLIST
new file mode 100644
index 00000000000..2814bf7d5f5
--- /dev/null
+++ b/multimedia/vls/PLIST
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/03/29 20:29:23 xtraeme Exp $
+bin/vls
+bin/vlsd
+lib/videolan/vls/dvdreader.so
+share/examples/vls/vls.cfg
+@dirrm share/examples/vls
+@dirrm lib/videolan/vls
diff --git a/multimedia/vls/distinfo b/multimedia/vls/distinfo
new file mode 100644
index 00000000000..dc4d0ccd167
--- /dev/null
+++ b/multimedia/vls/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/03/29 20:29:23 xtraeme Exp $
+
+SHA1 (vls-0.5.6.tar.gz) = 830df3a353d36453e622474b7813448c439f9d71
+Size (vls-0.5.6.tar.gz) = 802915 bytes
+SHA1 (patch-aa) = cadf79b4a1244492d48def104590468b52098527
+SHA1 (patch-ab) = 30b9ba716e80972a7d4cb0cf75efc715086812b1
diff --git a/multimedia/vls/patches/patch-aa b/multimedia/vls/patches/patch-aa
new file mode 100644
index 00000000000..65bc8b52787
--- /dev/null
+++ b/multimedia/vls/patches/patch-aa
@@ -0,0 +1,19 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/03/29 20:29:23 xtraeme Exp $
+
+--- Makefile.opts.in.orig 2004-01-16 10:33:13.000000000 +0100
++++ Makefile.opts.in 2004-01-16 10:33:47.000000000 +0100
+@@ -76,12 +76,12 @@
+ CCFLAGS+=-Wall
+ CCFLAGS+=-D_REENTRANT
+ CCFLAGS+=-D_FILE_OFFSET_BITS=64
+-LCFLAGS+=-D_REENTRANT
++LCFLAGS+=-D_REENTRANT $(LDFLAGS)
+
+ #
+ # Specific flags
+ #
+-CCFLAGS+=-DCONFIG_PATH='"$(sysconfdir)/videolan/vls"'
++CCFLAGS+=-DCONFIG_PATH='"$(sysconfdir)"'
+
+ VLS_LCFLAGS = @VLS_LCFLAGS@
+ VLS_LIB = @VLS_LIB@
diff --git a/multimedia/vls/patches/patch-ab b/multimedia/vls/patches/patch-ab
new file mode 100644
index 00000000000..bb3d8d368f1
--- /dev/null
+++ b/multimedia/vls/patches/patch-ab
@@ -0,0 +1,33 @@
+$NetBSD: patch-ab,v 1.1.1.1 2004/03/29 20:29:23 xtraeme Exp $
+
+--- Makefile.orig 2004-01-16 10:27:30.000000000 +0100
++++ Makefile 2004-01-16 10:30:19.000000000 +0100
+@@ -168,15 +168,15 @@
+ ( cd src/modules/$$module && $(MAKE) distclean ) ; done
+
+ install:
+- mkdir -p $(DESTDIR)$(bindir)
++ $(BSD_INSTALL_DATA_DIR) $(DESTDIR)$(bindir)
+ $(INSTALL) bin/vls $(DESTDIR)$(bindir)
+ $(INSTALL) bin/vlsd $(DESTDIR)$(bindir)
+- mkdir -p $(DESTDIR)$(libdir)/videolan/vls
++ $(BSD_INSTALL_DATA_DIR) $(DESTDIR)$(libdir)/videolan/vls
+ ifneq (,$(PLUGINS))
+- $(INSTALL) -m 644 $(PLUGINS:%=bin/%.so) $(DESTDIR)$(libdir)/videolan/vls
++ $(BSD_INSTALL_DATA) $(PLUGINS:%=bin/%.so) $(DESTDIR)$(libdir)/videolan/vls
+ endif
+- mkdir -p $(DESTDIR)$(sysconfdir)/videolan/vls
+- test -r $(DESTDIR)$(sysconfdir)/videolan/vls/vls.cfg || $(INSTALL) -m 644 vls.cfg $(DESTDIR)$(sysconfdir)/videolan/vls
++ $(BSD_INSTALL_DATA_DIR) $(DESTDIR)$(datadir)/examples/vls
++ test -r $(DESTDIR)$(datadir)/examples/vls/vls.cfg || $(BSD_INSTALL_DATA) vls.cfg $(DESTDIR)$(datadir)/examples/vls
+ @echo "Installation succeeded."
+
+ uninstall:
+@@ -195,7 +195,6 @@
+ @test -d bin || mkdir -p bin
+ $(CXX) $(LCFLAGS) -o bin/$@$(EXEEXT) $(OBJ) $(C_OBJ) $(BUILTINS:%=obj/%.a) $(VLS_LIB)
+ @test -f bin/vlsd$(EXEEXT) || ln -s $@ bin/$@d$(EXEEXT)
+- chmod 755 bin/$@$(EXEEXT)
+
+ dep/server/vls.dpp: src/server/vls_builtins.cpp
+