diff --git a/media-sound/mumble/Manifest b/media-sound/mumble/Manifest index 8799728da844d..1c7047c77fc47 100644 --- a/media-sound/mumble/Manifest +++ b/media-sound/mumble/Manifest @@ -1,3 +1,4 @@ DIST mumble-1.2.13.tar.gz 3197575 SHA256 b7db708fc3760cb6a5f81142a8bac0866f0d82d3aa401773a38c75c416020146 SHA512 0315a7027add1c11f340930d52256dd02fbd5433a38e9043e5cc98342c18ceee04f7635948f01717faf85255271eb5bcf8dfb9dfba67f51c9da39e4779d33f79 WHIRLPOOL 75ae2a7c67e30026908995dda0554a818668ae99449ebd9f1e2bdea48f421e5b0f51b1251338118f2627df0b4e27d88302f2dbb602b9ce1b6f211c6bc911541e DIST mumble-1.2.14.tar.gz 3197485 SHA256 df548050aefd4a183a750697507202833f6ab10bf8cd68b0c08643e02d8a7778 SHA512 00983a1620be9d483d9096132d81ea4150139c1439fda5bc3d9d564583eae71471a9b16dd358c201a1da4191c50119f3a00c3af55144faac3ad82c173a9ef0bc WHIRLPOOL 2a600081215c7df435ddeea62806d3b8d3d3dd586019d0ecc222706382fb62cdce9a0245d7042bd554155d1d71dd22c2b0cc331562c01262f58adbdc9758092b +DIST mumble-1.2.15.tar.gz 3206838 SHA256 6527e5d4e633a783a9b9341bca21bcd9b911f47b307aa18bcf43e0b7fce75efa SHA512 419ae2088e564afd778250d8fbe9c156dcebc18bffa3a41e2518e5592f3d693ca6f192c490d1bb6796ae730e2c61b5c25afab78850b7ff2ffc8e36f734d97c82 WHIRLPOOL 3d8409e7317ec8bc54e355806717e782fde92a433912bfc384ba6c37c1f14ad226e15c668c738ccd025cd9ee2c90167b343de3491b7aa0daff3ea946234ca82b DIST mumble-1.2.6.tar.gz 3201577 SHA256 876cdecfb89798ab45020cdae0d64bd0fa899a9a97c2c7f4a6e706d4165fb6ff SHA512 cf67d171bb76d30fd0b098552ac1707423cdeb7d04031fd5f6693cad4661f3a2d99b8e8d653686fab00f46e66257f8fb75c819b9ad1d4f514a0d0b04c36a446e WHIRLPOOL 37654990d66fb01fc7265c5757ad8b79e9a10325b669735f3010486b15896e3d191bb705664a1151c4b0eea1cb6c17daef86e45c38247a1463ad72c273019ee7 diff --git a/media-sound/mumble/mumble-1.2.15.ebuild b/media-sound/mumble/mumble-1.2.15.ebuild new file mode 100644 index 0000000000000..29e434b76b40c --- /dev/null +++ b/media-sound/mumble/mumble-1.2.15.ebuild @@ -0,0 +1,121 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit eutils multilib qmake-utils + +MY_P="${PN}-${PV/_/~}" + +DESCRIPTION="Mumble is an open source, low-latency, high quality voice chat software" +HOMEPAGE="http://mumble.sourceforge.net/" +SRC_URI="http://mumble.info/snapshot/${MY_P}.tar.gz" + +LICENSE="BSD MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+alsa +dbus debug g15 libressl oss pch portaudio pulseaudio speech zeroconf" + +RDEPEND=">=dev-libs/boost-1.41.0 + !libressl? ( >=dev-libs/openssl-1.0.0b:0 ) + libressl? ( dev-libs/libressl ) + >=dev-libs/protobuf-2.2.0 + >=media-libs/libsndfile-1.0.20[-minimal] + >=media-libs/opus-1.0.1 + >=media-libs/speex-1.2_rc1 + sys-apps/lsb-release + x11-libs/libX11 + x11-libs/libXi + dev-qt/qtcore:4[ssl] + dev-qt/qtgui:4 + dev-qt/qtopengl:4 + dev-qt/qtsql:4[sqlite] + dev-qt/qtsvg:4 + dev-qt/qtxmlpatterns:4 + x11-proto/inputproto + alsa? ( media-libs/alsa-lib ) + dbus? ( dev-qt/qtdbus:4 ) + g15? ( app-misc/g15daemon ) + portaudio? ( media-libs/portaudio ) + pulseaudio? ( media-sound/pulseaudio ) + speech? ( app-accessibility/speech-dispatcher ) + zeroconf? ( net-dns/avahi[mdnsresponder-compat] )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/${PN}-1.2.4-speech-dispatcher.patch +) + +S="${WORKDIR}/${MY_P}" + +src_configure() { + local conf_add + + if has_version '<=sys-devel/gcc-4.2'; then + conf_add="${conf_add} no-pch" + else + use pch || conf_add="${conf_add} no-pch" + fi + + use alsa || conf_add="${conf_add} no-alsa" + use dbus || conf_add="${conf_add} no-dbus" + use debug && conf_add="${conf_add} symbols debug" || conf_add="${conf_add} release" + use g15 || conf_add="${conf_add} no-g15" + use oss || conf_add="${conf_add} no-oss" + use portaudio || conf_add="${conf_add} no-portaudio" + use pulseaudio || conf_add="${conf_add} no-pulseaudio" + use speech || conf_add="${conf_add} no-speechd" + use zeroconf || conf_add="${conf_add} no-bonjour" + + eqmake4 "${S}/main.pro" -recursive \ + CONFIG+="${conf_add} \ + bundled-celt \ + no-bundled-opus \ + no-bundled-speex \ + no-embed-qt-translations \ + no-server \ + no-update" \ + DEFINES+="PLUGIN_PATH=/usr/$(get_libdir)/mumble" +} + +src_install() { + newdoc README.Linux README + dodoc CHANGES + + local dir + if use debug; then + dir=debug + else + dir=release + fi + + dobin "${dir}"/mumble + dobin scripts/mumble-overlay + + insinto /usr/share/services + doins scripts/mumble.protocol + + domenu scripts/mumble.desktop + + insinto /usr/share/icons/hicolor/scalable/apps + doins icons/mumble.svg + + doman man/mumble-overlay.1 + doman man/mumble.1 + + insopts -o root -g root -m 0755 + insinto "/usr/$(get_libdir)/mumble" + doins "${dir}"/libmumble.so.${PV} + dosym libmumble.so.${PV} /usr/$(get_libdir)/mumble/libmumble.so.1 + doins "${dir}"/libcelt0.so.0.{7,11}.0 + doins "${dir}"/plugins/lib*.so* +} + +pkg_postinst() { + echo + elog "Visit http://mumble.sourceforge.net/ for futher configuration instructions." + elog "Run mumble-overlay to start the OpenGL overlay (after starting mumble)." + echo +}