--- /dev/null
+# 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.
+
--- /dev/null
+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
--- /dev/null
+# 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
--- /dev/null
+#!/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)
+#}
--- /dev/null
+<?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>
--- /dev/null
+# 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
+}