summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Gurr <tgurr@gentoo.org>2011-02-23 21:10:19 +0000
committerTimo Gurr <tgurr@gentoo.org>2011-02-23 21:10:19 +0000
commit5338f75b3ae83b697ba245b11e608db227204f0d (patch)
tree9657ee591db8c928f5fcacc4e943082b2e8a5910 /media-sound
parentRemove unused files/cfportage.README (diff)
downloadgentoo-2-5338f75b3ae83b697ba245b11e608db227204f0d.tar.gz
gentoo-2-5338f75b3ae83b697ba245b11e608db227204f0d.tar.bz2
gentoo-2-5338f75b3ae83b697ba245b11e608db227204f0d.zip
Version bump, also fixing bug #311849 thanks to Perry Venters.
(Portage version: 2.2.0_alpha24/cvs/Linux x86_64)
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/murmur/ChangeLog9
-rw-r--r--media-sound/murmur/murmur-1.2.3.ebuild113
2 files changed, 120 insertions, 2 deletions
diff --git a/media-sound/murmur/ChangeLog b/media-sound/murmur/ChangeLog
index 43555bf5a828..c4723312d52f 100644
--- a/media-sound/murmur/ChangeLog
+++ b/media-sound/murmur/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-sound/murmur
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/murmur/ChangeLog,v 1.23 2010/06/08 08:30:08 dev-zero Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/murmur/ChangeLog,v 1.24 2011/02/23 21:10:19 tgurr Exp $
+
+*murmur-1.2.3 (23 Feb 2011)
+
+ 23 Feb 2011; Timo Gurr <tgurr@gentoo.org> +murmur-1.2.3.ebuild:
+ Version bump, also fixing bug #311849 thanks to Perry Venters.
08 Jun 2010; Tiziano Müller <dev-zero@gentoo.org> murmur-1.1.8.ebuild,
murmur-1.2.2.ebuild:
diff --git a/media-sound/murmur/murmur-1.2.3.ebuild b/media-sound/murmur/murmur-1.2.3.ebuild
new file mode 100644
index 000000000000..1b10fe3e5a0e
--- /dev/null
+++ b/media-sound/murmur/murmur-1.2.3.ebuild
@@ -0,0 +1,113 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/murmur/murmur-1.2.3.ebuild,v 1.1 2011/02/23 21:10:19 tgurr Exp $
+
+EAPI="2"
+
+inherit eutils qt4-r2
+
+MY_P="${PN/murmur/mumble}-${PV/_/~}"
+
+DESCRIPTION="Mumble is an open source, low-latency, high quality voice chat software"
+HOMEPAGE="http://mumble.sourceforge.net/"
+SRC_URI="mirror://sourceforge/mumble/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+dbus debug +ice pch zeroconf"
+
+RDEPEND=">=dev-libs/openssl-1.0.0b
+ >=dev-libs/protobuf-2.2.0
+ sys-apps/lsb-release
+ >=sys-libs/libcap-2.15
+ x11-libs/qt-core:4[ssl]
+ || ( x11-libs/qt-sql:4[sqlite] x11-libs/qt-sql:4[mysql] )
+ x11-libs/qt-xmlpatterns:4
+ dbus? ( x11-libs/qt-dbus:4 )
+ ice? ( dev-libs/Ice )
+ zeroconf? ( || ( net-dns/avahi[mdnsresponder-compat] net-misc/mDNSResponder ) )"
+
+DEPEND="${RDEPEND}
+ >=dev-libs/boost-1.41.0
+ dev-util/pkgconfig"
+
+S="${WORKDIR}/${MY_P}"
+
+pkg_setup() {
+ enewgroup murmur
+ enewuser murmur -1 -1 /var/lib/murmur murmur
+}
+
+src_prepare() {
+ sed -i \
+ -e 's:mumble-server:murmur:g' \
+ "${S}"/scripts/murmur.conf \
+ "${S}"/scripts/murmur.ini.system \
+ || die "sed failed."
+}
+
+src_configure() {
+ local conf_add
+ use dbus || conf_add="${conf_add} no-dbus"
+ use debug && conf_add="${conf_add} symbols debug" || conf_add="${conf_add} release"
+ use ice || conf_add="${conf_add} no-ice"
+ use pch || conf_add="${conf_add} no-pch"
+ use zeroconf || conf_add="${conf_add} no-bonjour"
+
+ eqmake4 main.pro -recursive \
+ CONFIG+="${conf_add} \
+ no-client" \
+ || die "eqmake4 failed."
+}
+
+src_compile() {
+ # parallel make workaround, upstream bug #3190498
+ emake -j1 || die "emake failed."
+}
+
+src_install() {
+ dodoc README CHANGES || die "Installing docs failed."
+
+ docinto scripts
+ dodoc scripts/*.php scripts/*.pl || die "Installing docs failed."
+
+ local dir
+ if use debug; then
+ dir=debug
+ else
+ dir=release
+ fi
+
+ dobin "${dir}"/murmurd || die "Installing murmurd binary failed."
+
+ insinto /etc/murmur/
+ newins scripts/murmur.ini.system murmur.ini || die "Installing murmur.ini configuration file failed."
+
+ insinto /etc/logrotate.d/
+ newins "${FILESDIR}"/murmur.logrotate murmur || die "Installing murmur logrotate file failed."
+
+ insinto /etc/dbus-1/system.d/
+ doins scripts/murmur.conf || die "Installing murmur.conf dbus configuration file failed."
+
+ newinitd "${FILESDIR}"/murmur.initd murmur || die "Installing murmur init.d file failed."
+ newconfd "${FILESDIR}"/murmur.confd murmur || die "Installing murmur conf.d file failed."
+
+ keepdir /var/lib/murmur /var/run/murmur /var/log/murmur
+ fowners -R murmur /var/lib/murmur /var/run/murmur /var/log/murmur || die "fowners failed."
+ fperms 750 /var/lib/murmur /var/run/murmur /var/log/murmur || die "fperms failed."
+
+ doman man/murmurd.1 || die "Installing murmur manpage failed."
+}
+
+pkg_postinst() {
+ echo
+ elog "Useful scripts are located in /usr/share/doc/${PF}/scripts."
+ elog "Please execute:"
+ elog "murmurd -ini /etc/murmur/murmur.ini -supw <pw>"
+ elog "chown murmur:murmur /var/lib/murmur/murmur.sqlite"
+ elog "to set the build-in 'SuperUser' password before starting murmur."
+ elog "Please restart dbus before starting murmur, or else dbus"
+ elog "registration will fail."
+ echo
+}