pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/multimedia/gmediaserver Import gmediaserver-0.13.0 as ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/4f893accf4d9
branches: trunk
changeset: 575696:4f893accf4d9
user: obache <obache%pkgsrc.org@localhost>
date: Thu May 20 04:27:33 2010 +0000
description:
Import gmediaserver-0.13.0 as multimedia/gmediaserver.
GMediaServer is a UPnP compatible media server for the GNU system. It is part of
the GNU project.
GMediaServer serves audio and video files to certain network connected media
players. Most hardware media players only play music and/or video--they don't
provide the media themselves. Those media files have to come from a device on
the network. GMediaServer is a server for such UPnP compatible media players,
including:
* NETGEAR Wireless Digital Music Player (MP101)
* Linksys(R) Wireless-B Music System (WMLS11B)
* Linksys(R) Wireless-B Media Link for Music (WML11B)
* Philips Streamium SL300i
* Philips Streamium RC9800i
* Omnifi DMS1
* SMC EZ Stream 11Mbps Wireless Audio Adaptor (SMCWAA-B)
* D-Link DSM-520 Wireless HD Media Player
* Roku SoundBridge Network Music Player M1000
* Terratec NOXON 2 audio
Other UPnP media players (including software based) may work as well--see the
manual for a more complete list.
diffstat:
multimedia/gmediaserver/DESCR | 22 ++++++++++++++++
multimedia/gmediaserver/Makefile | 36 +++++++++++++++++++++++++++
multimedia/gmediaserver/PLIST | 6 ++++
multimedia/gmediaserver/distinfo | 6 ++++
multimedia/gmediaserver/files/gmediaserver.sh | 19 ++++++++++++++
multimedia/gmediaserver/patches/patch-aa | 16 ++++++++++++
6 files changed, 105 insertions(+), 0 deletions(-)
diffs (129 lines):
diff -r 7a69f40b2a0d -r 4f893accf4d9 multimedia/gmediaserver/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/gmediaserver/DESCR Thu May 20 04:27:33 2010 +0000
@@ -0,0 +1,22 @@
+GMediaServer is a UPnP compatible media server for the GNU system. It is part of
+the GNU project.
+
+GMediaServer serves audio and video files to certain network connected media
+players. Most hardware media players only play music and/or video--they don't
+provide the media themselves. Those media files have to come from a device on
+the network. GMediaServer is a server for such UPnP compatible media players,
+including:
+
+ * NETGEAR Wireless Digital Music Player (MP101)
+ * Linksys(R) Wireless-B Music System (WMLS11B)
+ * Linksys(R) Wireless-B Media Link for Music (WML11B)
+ * Philips Streamium SL300i
+ * Philips Streamium RC9800i
+ * Omnifi DMS1
+ * SMC EZ Stream 11Mbps Wireless Audio Adaptor (SMCWAA-B)
+ * D-Link DSM-520 Wireless HD Media Player
+ * Roku SoundBridge Network Music Player M1000
+ * Terratec NOXON 2 audio
+
+Other UPnP media players (including software based) may work as well--see the
+manual for a more complete list.
diff -r 7a69f40b2a0d -r 4f893accf4d9 multimedia/gmediaserver/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/gmediaserver/Makefile Thu May 20 04:27:33 2010 +0000
@@ -0,0 +1,36 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/05/20 04:27:33 obache Exp $
+
+DISTNAME= gmediaserver-0.13.0
+CATEGORIES= multimedia net
+MASTER_SITES= http://download.savannah.gnu.org/releases/gmediaserver/
+
+MAINTAINER= obache%NetBSD.org@localhost
+HOMEPAGE= http://www.gnu.org/software/gmediaserver/
+COMMENT= UPnP compatible media server for the GNU system
+LICENSE= gnu-gpl-v3
+
+USE_TOOLS+= perl pkg-config gmake makeinfo msgfmt
+GNU_CONFIGURE= yes
+INFO_FILES= yes
+USE_PKGLOCALEDIR= yes
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+CONFIGURE_ARGS+= --with-id3lib=${BUILDLINK_PREFIX.id3lib}
+CONFIGURE_ARGS+= --with-libupnp=${BUILDLINK_PREFIX.libupnp}
+
+RCD_SCRIPTS= gmediaserver
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "NetBSD" && ${OS_VERSION:R} <= 4
+LIBS+= -lz
+.endif
+
+.include "../../audio/id3lib/buildlink3.mk"
+.include "../../audio/taglib/buildlink3.mk"
+.include "../../converters/libiconv/buildlink3.mk"
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../net/libupnp/buildlink3.mk"
+.include "../../sysutils/file/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 7a69f40b2a0d -r 4f893accf4d9 multimedia/gmediaserver/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/gmediaserver/PLIST Thu May 20 04:27:33 2010 +0000
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2010/05/20 04:27:33 obache Exp $
+bin/gmediaserver
+info/gmediaserver.info
+man/man1/gmediaserver.1
+share/examples/rc.d/gmediaserver
+share/locale/sv/LC_MESSAGES/gmediaserver.mo
diff -r 7a69f40b2a0d -r 4f893accf4d9 multimedia/gmediaserver/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/gmediaserver/distinfo Thu May 20 04:27:33 2010 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2010/05/20 04:27:33 obache Exp $
+
+SHA1 (gmediaserver-0.13.0.tar.gz) = 5b868bc3c3d3bf0c2c550a4fc618c586a2640799
+RMD160 (gmediaserver-0.13.0.tar.gz) = 57fb849172d28e8adcff2234c787d552c16bde9a
+Size (gmediaserver-0.13.0.tar.gz) = 668281 bytes
+SHA1 (patch-aa) = 8913274c78c646a3dd3e26a0b33d309697302eb9
diff -r 7a69f40b2a0d -r 4f893accf4d9 multimedia/gmediaserver/files/gmediaserver.sh
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/gmediaserver/files/gmediaserver.sh Thu May 20 04:27:33 2010 +0000
@@ -0,0 +1,19 @@
+#!@RCD_SCRIPTS_SHELL@
+#
+# $NetBSD: gmediaserver.sh,v 1.1.1.1 2010/05/20 04:27:33 obache Exp $
+#
+# PROVIDE: gmediaserver
+# REQUIRE: DAEMON
+
+. /etc/rc.subr
+
+name="gmediaserver"
+rcvar=${name}
+command="@PREFIX@/bin/${name}"
+pidfile="@VARBASE@/run/${name}.pid"
+command_args="-b --pid-file=${pidfile}"
+exra_commands="reload"
+sig_reload=-USER1
+
+load_rc_config ${name}
+run_rc_command "$1"
diff -r 7a69f40b2a0d -r 4f893accf4d9 multimedia/gmediaserver/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/gmediaserver/patches/patch-aa Thu May 20 04:27:33 2010 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-aa,v 1.1.1.1 2010/05/20 04:27:33 obache Exp $
+
+Ignore CIGPIPE for no MSG_NOSIGNAL platforms.
+
+--- src/main.c.orig 2007-10-20 09:41:37.000000000 +0000
++++ src/main.c
+@@ -403,6 +403,9 @@ main(int argc, char **argv)
+ if (!background)
+ write_pid_file(pidfilename, getpid(), false);
+
++#ifndef MSG_NOSIGNAL
++ signal(SIGPIPE, SIG_IGN);
++#endif
+ signalaction.sa_handler = dummy_signal_handler;
+ if (sigemptyset(&signalaction.sa_mask) < 0)
+ die(_("cannot empty signal set - %s\n"), errstr);
Home |
Main Index |
Thread Index |
Old Index