diff options
author | obache <obache@pkgsrc.org> | 2010-05-20 04:27:33 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2010-05-20 04:27:33 +0000 |
commit | 973dff9e82a3cbc8ae2e6c9241d62743d80bf514 (patch) | |
tree | 721f5f9fbd9adeec21a5fb8a3dbc1e0da202f1c4 /multimedia | |
parent | 0854314141e700fe46283cb3df4d2441e031f5a2 (diff) | |
download | pkgsrc-973dff9e82a3cbc8ae2e6c9241d62743d80bf514.tar.gz |
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 (limited to 'multimedia')
-rw-r--r-- | multimedia/gmediaserver/DESCR | 22 | ||||
-rw-r--r-- | multimedia/gmediaserver/Makefile | 36 | ||||
-rw-r--r-- | multimedia/gmediaserver/PLIST | 6 | ||||
-rw-r--r-- | multimedia/gmediaserver/distinfo | 6 | ||||
-rw-r--r-- | multimedia/gmediaserver/files/gmediaserver.sh | 19 | ||||
-rw-r--r-- | multimedia/gmediaserver/patches/patch-aa | 16 |
6 files changed, 105 insertions, 0 deletions
diff --git a/multimedia/gmediaserver/DESCR b/multimedia/gmediaserver/DESCR new file mode 100644 index 00000000000..dca0fdb0478 --- /dev/null +++ b/multimedia/gmediaserver/DESCR @@ -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 --git a/multimedia/gmediaserver/Makefile b/multimedia/gmediaserver/Makefile new file mode 100644 index 00000000000..44e62055695 --- /dev/null +++ b/multimedia/gmediaserver/Makefile @@ -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 +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 --git a/multimedia/gmediaserver/PLIST b/multimedia/gmediaserver/PLIST new file mode 100644 index 00000000000..5ea62df6cc0 --- /dev/null +++ b/multimedia/gmediaserver/PLIST @@ -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 --git a/multimedia/gmediaserver/distinfo b/multimedia/gmediaserver/distinfo new file mode 100644 index 00000000000..66336456f5e --- /dev/null +++ b/multimedia/gmediaserver/distinfo @@ -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 --git a/multimedia/gmediaserver/files/gmediaserver.sh b/multimedia/gmediaserver/files/gmediaserver.sh new file mode 100644 index 00000000000..b89230507e8 --- /dev/null +++ b/multimedia/gmediaserver/files/gmediaserver.sh @@ -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 --git a/multimedia/gmediaserver/patches/patch-aa b/multimedia/gmediaserver/patches/patch-aa new file mode 100644 index 00000000000..8710413bb07 --- /dev/null +++ b/multimedia/gmediaserver/patches/patch-aa @@ -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); |