mixi-exheres

An unofficial repo for exherbo (moved to git://git.exherbo.org/dev/mixi.git).
git clone https://git.shadowice.org/mixi-exheres.git
Log | Files | Refs | README

commit ab8b9e8c347d7dec1c5792eca602e0fa47ddf07a
parent ce8b925a61f9f3eba1b4bb1eef21898847a92ce2
Author: Johannes Nixdorf <mixi@user-helfen-usern.de>
Date:   Thu, 29 Jul 2010 16:03:45 +0200

Add a terrible mumble exheres

Diffstat:
packages/media-sound/mumble/mumble-1.2.2.exheres-0 | 58++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 58 insertions(+), 0 deletions(-)

diff --git a/packages/media-sound/mumble/mumble-1.2.2.exheres-0 b/packages/media-sound/mumble/mumble-1.2.2.exheres-0 @@ -0,0 +1,58 @@ +# Copyright 2010 Johannes Nixdorf <mixi@user-helfen-usern.de> +# Distributed under the terms of the GNU General Public License v2 + +require qmake4 sourceforge [ suffix=tar.gz ] multilib + +SUMMARY="Mumble is an open source, low-latency, high quality voice chat software primarily intended for use while gaming." +HOMEPAGE="http://mumble.sourceforge.net" + +LICENCES="BSD-2" +SLOT="0" +PLATFORMS="~amd64 ~x86" +MYOPTIONS="alsa pulseaudio zeroconf" + +DEPENDENCIES=" + build: + x11-proto/inputproto + build+run: + dev-libs/boost + dev-libs/openssl + dev-libs/protobuf + media-libs/celt + media-libs/libsndfile + media-libs/speex + x11-libs/libXevie + x11-libs/qt:4[dbus][opengl][sql][sqlite][ssl] + alsa? ( sys-sound/alsa-lib ) + pulseaudio? ( media-sound/pulseaudio ) + zeroconf? ( + || ( + net-dns/nss-mdns + net-dns/avahi[dns_sd] + ) + ) +" + +src_configure() { + config=( no-11x no-bundeled-celt no-bundeled-speex no-embed-qt-translations no-g15 no-oss no-portaudio no-server no-speechd no-update ) + + option alsa || config+="no-alsa" + option pulseaudio || config+="no-pulseaudio" + option zeroconf || config+="no-bonjour" + + eqmake4 main.pro -recursive \ + CONFIG+="${config[*]}" \ + DEFINES+="PLUGIN_PATH=/usr/$(get_libdir)/mumble" +} + +src_install() { + dobin release/mumble + doman man/mumble.1 + + dolib release/lib*.so* + + insopts -o root -g root -m 0755 + insinto "/usr/$(get_libdir)/mumble" + doins release/plugins/lib*.so* +} +