diff options
author | Timothy Redaelli <drizzt@gentoo.org> | 2007-01-20 17:17:03 +0000 |
---|---|---|
committer | Timothy Redaelli <drizzt@gentoo.org> | 2007-01-20 17:17:03 +0000 |
commit | 13e59e550ddf9202c104e47f05c06362a3e45701 (patch) | |
tree | 713efe34118d8638073bba4d2b51264cca710ba1 /media-sound/murmur | |
parent | Add Gorch patch for missing typedefs on gcc 3, wrt bug #162912. (diff) | |
download | historical-13e59e550ddf9202c104e47f05c06362a3e45701.tar.gz historical-13e59e550ddf9202c104e47f05c06362a3e45701.tar.bz2 historical-13e59e550ddf9202c104e47f05c06362a3e45701.zip |
New ebuild, mumble server (murmur) wrt bug #155517.
Package-Manager: portage-2.1.2
Diffstat (limited to 'media-sound/murmur')
-rw-r--r-- | media-sound/murmur/ChangeLog | 10 | ||||
-rw-r--r-- | media-sound/murmur/files/digest-murmur-0.9.4 | 3 | ||||
-rw-r--r-- | media-sound/murmur/files/murmur.confd | 12 | ||||
-rw-r--r-- | media-sound/murmur/files/murmur.rc | 27 | ||||
-rw-r--r-- | media-sound/murmur/metadata.xml | 11 | ||||
-rw-r--r-- | media-sound/murmur/murmur-0.9.4.ebuild | 52 |
6 files changed, 115 insertions, 0 deletions
diff --git a/media-sound/murmur/ChangeLog b/media-sound/murmur/ChangeLog new file mode 100644 index 000000000000..013faba28471 --- /dev/null +++ b/media-sound/murmur/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for media-sound/murmur +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/murmur/ChangeLog,v 1.1 2007/01/20 17:17:03 drizzt Exp $ + +*murmur-0.9.4 (20 Jan 2007) + + 20 Jan 2007; Timothy Redaelli <drizzt@gentoo.org> +files/murmur.confd, + +files/murmur.rc, +metadata.xml, +murmur-0.9.4.ebuild: + New ebuild, mumble server (murmur) wrt bug #155517. + diff --git a/media-sound/murmur/files/digest-murmur-0.9.4 b/media-sound/murmur/files/digest-murmur-0.9.4 new file mode 100644 index 000000000000..ebe934a2e016 --- /dev/null +++ b/media-sound/murmur/files/digest-murmur-0.9.4 @@ -0,0 +1,3 @@ +MD5 22b08db6e4757134ba27a93d145d647b mumble-0.9.4.tar.bz2 250137 +RMD160 96fe8968d888a4b491fe35894a4da46bc39c3765 mumble-0.9.4.tar.bz2 250137 +SHA256 cf02411ad244dbe6537f4bdfe64b0accc6dcb668d47e4b371c08572052b6259d mumble-0.9.4.tar.bz2 250137 diff --git a/media-sound/murmur/files/murmur.confd b/media-sound/murmur/files/murmur.confd new file mode 100644 index 000000000000..361059149f08 --- /dev/null +++ b/media-sound/murmur/files/murmur.confd @@ -0,0 +1,12 @@ +# where to look for config files +MURMUR_CONFDIR=/etc/murmur + +# were to log +MURMUR_LOGFILE=/var/log/murmur.log + +# run as this user +MURMUR_USER=murmur + +# HOME directory of MURMUR_USER +# needs to be set for start-stop-daemon! +MURMUR_HOMEDIR=/var/lib/murmur diff --git a/media-sound/murmur/files/murmur.rc b/media-sound/murmur/files/murmur.rc new file mode 100644 index 000000000000..9b0748af3119 --- /dev/null +++ b/media-sound/murmur/files/murmur.rc @@ -0,0 +1,27 @@ +#!/sbin/runscript + +depend() { + need net + need localmount + after bootmisc +} + +start() { + ebegin "Starting Murmur voice chat server" + start-stop-daemon --start --make-pidfile --pidfile /var/run/murmur.pid \ + --chuid $MURMUR_USER --env HOME=$MURMUR_HOMEDIR \ + --exec /usr/bin/murmur -- -ini $MURMUR_CONFDIR/murmur.ini &> $MURMUR_LOGFILE & + eend $? +} + +stop() { + ebegin "Stopping Murmur voice chat server" + start-stop-daemon --stop --exec /usr/bin/murmur \ + --pidfile /var/run/murmur.pid + eend $? + #rm /var/run/murmur.pid +} + +#restart() { +# #(Commands necessary to restart the service) +#} diff --git a/media-sound/murmur/metadata.xml b/media-sound/murmur/metadata.xml new file mode 100644 index 000000000000..74ac835bd3ee --- /dev/null +++ b/media-sound/murmur/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>voip</herd> +<maintainer> +<email>drizzt@gentoo.org</email> +</maintainer> +<longdescription lang="en"> +Mumble is a low-latency, high quality voice chat software primarily intended for use while gaming. +</longdescription> +</pkgmetadata> diff --git a/media-sound/murmur/murmur-0.9.4.ebuild b/media-sound/murmur/murmur-0.9.4.ebuild new file mode 100644 index 000000000000..0355bab42715 --- /dev/null +++ b/media-sound/murmur/murmur-0.9.4.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/murmur/murmur-0.9.4.ebuild,v 1.1 2007/01/20 17:17:03 drizzt Exp $ + +inherit eutils toolchain-funcs + +MY_P=mumble-${PV} + +DESCRIPTION="voice chat software for gaming written in Qt4 (server)" +HOMEPAGE="http://mumble.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" + +DEPEND="dev-libs/boost + =x11-libs/qt-4* + media-libs/speex + media-libs/alsa-lib + x11-libs/libXevie" + +RDEPEND="${DEPEND}" + +S="${WORKDIR}"/${MY_P} + +pkg_setup() { + if ! built_with_use =x11-libs/qt-4* sqlite ; then + echo + ewarn "You need to build Qt4 with the sqlite use flag" + echo + die "Your Qt4 has no sqlite support" + fi +} + +src_compile() { + qmake murmur.pro || die "qmake failed" + emake CC="$(tc-getCC) ${CFLAGS}" \ + CXX="$(tc-getCXX) ${CXXFLAGS}" \ + LINK="$(tc-getCXX)" \ + LFLAGS="${LDFLAGS}" || die "emake failed" +} + +src_install() { + dodoc README CHANGES || die "installing docs failed" + dobin murmur || die "installing failed" + insinto /etc/murmur + doins murmur.ini + newinitd "${FILESDIR}"/murmur.rc murmur + newconfd "${FILESDIR}"/murmur.confd murmur +} |