summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2009-11-27 08:38:49 +0000
committerwiz <wiz@pkgsrc.org>2009-11-27 08:38:49 +0000
commitb2c8b8fde1cefcff3b0039158d71b58973fce5bc (patch)
treee4bb7a73e21b2558dec108626d6ee39b5a021489 /multimedia
parentf24a7a16fd2bc545f5c3549655c8c829ae40021e (diff)
downloadpkgsrc-b2c8b8fde1cefcff3b0039158d71b58973fce5bc.tar.gz
Initial import of ccxstream-1.0.15, packaged for wip by Guillaume
Lasmayous. Program for streaming multimedia content to XBox Media Center over XBMSP protocol.
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/ccxstream/DESCR2
-rw-r--r--multimedia/ccxstream/MESSAGE6
-rw-r--r--multimedia/ccxstream/Makefile32
-rw-r--r--multimedia/ccxstream/PLIST12
-rw-r--r--multimedia/ccxstream/distinfo6
-rw-r--r--multimedia/ccxstream/files/ccxstream.sh22
-rw-r--r--multimedia/ccxstream/patches/patch-aa13
7 files changed, 93 insertions, 0 deletions
diff --git a/multimedia/ccxstream/DESCR b/multimedia/ccxstream/DESCR
new file mode 100644
index 00000000000..ccc19605062
--- /dev/null
+++ b/multimedia/ccxstream/DESCR
@@ -0,0 +1,2 @@
+Program for streaming multimedia content to XBox Media Center over XBMSP
+protocol.
diff --git a/multimedia/ccxstream/MESSAGE b/multimedia/ccxstream/MESSAGE
new file mode 100644
index 00000000000..b97b4f93ad9
--- /dev/null
+++ b/multimedia/ccxstream/MESSAGE
@@ -0,0 +1,6 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2009/11/27 08:38:49 wiz Exp $
+
+Don't forget to update mountpoints (-S statements in
+ccxstream_flags) before starting ccxstream.
+===========================================================================
diff --git a/multimedia/ccxstream/Makefile b/multimedia/ccxstream/Makefile
new file mode 100644
index 00000000000..36490579722
--- /dev/null
+++ b/multimedia/ccxstream/Makefile
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/11/27 08:38:49 wiz Exp $
+#
+
+DISTNAME= ccxstream-1.0.15
+CATEGORIES= audio multimedia net
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xbplayer/}
+
+MAINTAINER= netbsd@guigui2.net
+HOMEPAGE= http://www.xbmc.org/
+COMMENT= Program for streaming multimedia content to XMBC over XBMSP protocol
+#LICENSE= # TODO: (see mk/license.mk)
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+RCD_SCRIPTS= ccxstream
+USE_TOOLS+= gmake
+DOCDIR= share/doc/ccxstream
+INSTALLATION_DIRS= bin ${DOCDIR}
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/ccxstream ${DESTDIR}${PREFIX}/bin/
+ ${INSTALL_PROGRAM} ${WRKSRC}/ccxtest ${DESTDIR}${PREFIX}/bin/
+ ${INSTALL_DATA} ${WRKSRC}/*.txt ${DESTDIR}${PREFIX}/${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/xbmsp-rc ${DESTDIR}${PREFIX}/${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/COPYRIGHT ${DESTDIR}${PREFIX}/${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DESTDIR}${PREFIX}/${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/PORTING ${DESTDIR}${PREFIX}/${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/TODO ${DESTDIR}${PREFIX}/${DOCDIR}
+
+.include "../../devel/readline/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/multimedia/ccxstream/PLIST b/multimedia/ccxstream/PLIST
new file mode 100644
index 00000000000..2addee350d9
--- /dev/null
+++ b/multimedia/ccxstream/PLIST
@@ -0,0 +1,12 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/11/27 08:38:49 wiz Exp $
+bin/ccxstream
+bin/ccxtest
+share/doc/ccxstream/COPYRIGHT
+share/doc/ccxstream/ChangeLog
+share/doc/ccxstream/PORTING
+share/doc/ccxstream/README
+share/doc/ccxstream/TODO
+share/doc/ccxstream/xbmsp-rc
+share/doc/ccxstream/xbmsp-xml.txt
+share/doc/ccxstream/xbmsp.txt
+share/examples/rc.d/ccxstream
diff --git a/multimedia/ccxstream/distinfo b/multimedia/ccxstream/distinfo
new file mode 100644
index 00000000000..9b58e576907
--- /dev/null
+++ b/multimedia/ccxstream/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/11/27 08:38:49 wiz Exp $
+
+SHA1 (ccxstream-1.0.15.tar.gz) = d97ac63374bf8ff6dcb77ccb89a6e92ff3e713d6
+RMD160 (ccxstream-1.0.15.tar.gz) = 01676289efe8181cb1c7c9c1340205c7adb97b3c
+Size (ccxstream-1.0.15.tar.gz) = 40384 bytes
+SHA1 (patch-aa) = 2e5428a1b039bb3be56dc2beec50d7dc8719f2fe
diff --git a/multimedia/ccxstream/files/ccxstream.sh b/multimedia/ccxstream/files/ccxstream.sh
new file mode 100644
index 00000000000..2db16e4fb28
--- /dev/null
+++ b/multimedia/ccxstream/files/ccxstream.sh
@@ -0,0 +1,22 @@
+#!@RCD_SCRIPTS_SHELL@
+#
+# $NetBSD: ccxstream.sh,v 1.1.1.1 2009/11/27 08:38:49 wiz Exp $
+#
+# PROVIDE: ccxstream
+# REQUIRE: DAEMON network
+# KEYWORD: shutdown
+
+. /etc/rc.subr
+
+name="ccxstream"
+rcvar=$name
+command="@PREFIX@/bin/ccxstream"
+command_args="-r - -f"
+
+if [ -f /etc/rc.subr ]; then
+ load_rc_config $name
+ run_rc_command "$1"
+else
+ echo -n "${name}"
+ ${command} ${ccxstream_flags} ${command_args}
+fi
diff --git a/multimedia/ccxstream/patches/patch-aa b/multimedia/ccxstream/patches/patch-aa
new file mode 100644
index 00000000000..6a30db8e5e6
--- /dev/null
+++ b/multimedia/ccxstream/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2009/11/27 08:38:49 wiz Exp $
+
+--- xbmsp-rc.orig 2003-03-17 14:29:15.000000000 +0000
++++ xbmsp-rc
+@@ -26,7 +26,7 @@ fi
+
+ PARAMS="-f -F $PIDFILE -r $DIR -u $RUNASUSER"
+
+-if test "$FOLLOWSYMLINKS" == "YES" ; then
++if test "$FOLLOWSYMLINKS" = "YES" ; then
+ PARAMS="$PARAMS -L"
+ fi
+