public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Lars Wendler" <polynomial-c@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/mumble/
Date: Mon, 19 Mar 2018 12:57:58 +0000 (UTC)	[thread overview]
Message-ID: <1521464274.962585af6220cf157f1bec97fab91a0fa7d9675c.polynomial-c@gentoo> (raw)

commit:     962585af6220cf157f1bec97fab91a0fa7d9675c
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 19 12:57:25 2018 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Mon Mar 19 12:57:54 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=962585af

media-sound/mumble: Added live ebuild.

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 media-sound/mumble/metadata.xml       |   1 +
 media-sound/mumble/mumble-9999.ebuild | 149 ++++++++++++++++++++++++++++++++++
 2 files changed, 150 insertions(+)

diff --git a/media-sound/mumble/metadata.xml b/media-sound/mumble/metadata.xml
index e455ad4ea64..59327713616 100644
--- a/media-sound/mumble/metadata.xml
+++ b/media-sound/mumble/metadata.xml
@@ -10,6 +10,7 @@ Mumble is an open source, low-latency, high quality voice chat software primaril
 	</longdescription>
 	<use>
 		<flag name="g15">Enable support for the Logitech G15 LCD (and compatible devices).</flag>
+		<flag name="opus">Enable Opus codec support via <pkg>media-libs/opus</pkg>.</flag>
 		<flag name="speech">Enable text-to-speech support in Mumble.</flag>
 	</use>
 	<upstream>

diff --git a/media-sound/mumble/mumble-9999.ebuild b/media-sound/mumble/mumble-9999.ebuild
new file mode 100644
index 00000000000..5825282c634
--- /dev/null
+++ b/media-sound/mumble/mumble-9999.ebuild
@@ -0,0 +1,149 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit multilib desktop qmake-utils xdg-utils
+
+DESCRIPTION="Mumble is an open source, low-latency, high quality voice chat software"
+HOMEPAGE="https://wiki.mumble.info"
+if [[ "${PV}" = 9999 ]] ; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/mumble-voip/mumble.git"
+	EGIT_SUBMODULES=( '-*' celt-0.7.0-src celt-0.11.0-src themes/Mumble )
+else
+	MY_P="${PN}-${PV/_/~}"
+	SRC_URI="https://mumble.info/snapshot/${MY_P}.tar.gz"
+	KEYWORDS="~amd64 ~arm64 ~x86"
+	S="${WORKDIR}/${MY_P}"
+fi
+
+LICENSE="BSD MIT"
+SLOT="0"
+IUSE="+alsa +dbus debug g15 libressl +opus oss pch portaudio pulseaudio speech zeroconf"
+
+RDEPEND="
+	>=dev-libs/protobuf-2.2.0:=
+	>=media-libs/libsndfile-1.0.20[-minimal]
+	|| (
+		(
+			>=media-libs/speex-1.2.0
+			media-libs/speexdsp
+		)
+		<media-libs/speex-1.2.0
+	)
+	sys-apps/lsb-release
+	x11-libs/libX11
+	x11-libs/libXi
+	dev-qt/qtcore:5
+	dev-qt/qtgui:5
+	dev-qt/qtnetwork:5
+	dev-qt/qtsql:5[sqlite]
+	dev-qt/qtsvg:5
+	dev-qt/qtwidgets:5
+	dev-qt/qtxml:5
+	x11-libs/libX11
+	x11-libs/libXi
+	alsa? ( media-libs/alsa-lib )
+	dbus? ( dev-qt/qtdbus:5 )
+	g15? ( app-misc/g15daemon )
+	!libressl? ( >=dev-libs/openssl-1.0.0b:0= )
+	libressl? ( dev-libs/libressl )
+	opus? ( >=media-libs/opus-1.0.1 )
+	portaudio? ( media-libs/portaudio )
+	pulseaudio? ( media-sound/pulseaudio )
+	speech? ( >=app-accessibility/speech-dispatcher-0.8.0 )
+	zeroconf? ( net-dns/avahi[mdnsresponder-compat] )
+"
+DEPEND="${RDEPEND}
+	>=dev-libs/boost-1.41.0
+	virtual/pkgconfig
+	x11-proto/inputproto
+"
+
+src_configure() {
+	myuse() {
+		[[ -n "${1}" ]] || die "myuse: No use option given"
+		use ${1} || echo no-${1}
+	}
+
+	local conf_add=(
+		bundled-celt
+		no-bundled-opus
+		no-bundled-speex
+		no-embed-qt-translations
+		no-server
+		no-update
+		$(myuse alsa)
+		$(myuse dbus)
+		$(usex debug 'symbols debug' release)
+		$(myuse g15)
+		$(myuse opus)
+		$(myuse oss)
+		$(myuse portaudio)
+		$(myuse speech)
+		$(usex zeroconf '' no-bonjour)
+	)
+
+	if has_version '<=sys-devel/gcc-4.2'; then
+		conf_add+=( no-pch )
+	else
+		use pch || conf_add+=( no-pch )
+	fi
+
+	eqmake5 "${S}/main.pro" -recursive \
+		CONFIG+="${conf_add[*]}" \
+		DEFINES+="PLUGIN_PATH=/usr/$(get_libdir)/mumble"
+}
+
+src_install() {
+	local soversion
+	if [[ "${PV}" = 9999 ]] ; then
+		soversion="$(sed -n '/^VERSION\b/s@.*= \([[:digit:]\.]\+\)$@\1@p' src/mumble.pri)"
+	else
+		soversion="${PV}"
+	fi
+
+	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.${soversion}
+	dosym libmumble.so.${soversion} /usr/$(get_libdir)/mumble/libmumble.so.1
+	doins "${dir}"/libcelt0.so.0.{7,11}.0
+	doins "${dir}"/plugins/lib*.so*
+}
+
+pkg_postinst() {
+	xdg_desktop_database_update
+	echo
+	elog "Visit http://mumble.sourceforge.net/ for futher configuration instructions."
+	elog "Run mumble-overlay to start the OpenGL overlay (after starting mumble)."
+	echo
+}
+
+pkg_postrm() {
+	xdg_desktop_database_update
+}


             reply	other threads:[~2018-03-19 12:58 UTC|newest]

Thread overview: 94+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-19 12:57 Lars Wendler [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-06-30  0:20 [gentoo-commits] repo/gentoo:master commit in: media-sound/mumble/ Kenton Groombridge
2022-06-29 14:29 Kenton Groombridge
2022-05-15 18:42 Lars Wendler
2022-05-15 18:42 Lars Wendler
2022-05-04 12:36 Lars Wendler
2022-03-08  6:51 Lars Wendler
2022-02-14 20:45 Sam James
2022-02-14  0:55 Sam James
2022-02-08  7:57 Lars Wendler
2022-02-07  3:01 Sam James
2022-01-31  8:34 Lars Wendler
2022-01-30  9:21 Lars Wendler
2022-01-30  0:08 Lars Wendler
2022-01-30  0:07 Lars Wendler
2022-01-30  0:07 Lars Wendler
2021-08-16  9:33 Lars Wendler
2021-06-05 20:55 Lars Wendler
2021-05-03  8:45 Mikle Kolyada
2021-04-22 16:55 Lars Wendler
2021-02-26 16:41 Lars Wendler
2021-02-17  3:55 Sam James
2021-02-16 19:22 Sam James
2021-02-10 17:59 Lars Wendler
2021-02-10 17:59 Lars Wendler
2021-01-27  3:52 Sam James
2020-12-20 12:34 Sam James
2020-12-02 23:31 Thomas Deutschmann
2020-11-16 23:48 Lars Wendler
2020-11-16 23:48 Lars Wendler
2020-10-07 13:22 Lars Wendler
2020-08-25 18:20 Georgy Yakovlev
2020-07-30 15:59 Lars Wendler
2020-07-09  8:48 Lars Wendler
2020-07-09  8:48 Lars Wendler
2020-06-25 14:03 Lars Wendler
2020-06-25 14:03 Lars Wendler
2020-06-25 14:03 Lars Wendler
2020-06-21 17:17 Agostino Sarubbo
2020-06-20 13:48 Thomas Deutschmann
2020-05-05 15:04 Lars Wendler
2019-11-20  8:33 Lars Wendler
2019-11-20  8:33 Lars Wendler
2019-09-08 13:46 Lars Wendler
2019-09-08 13:46 Lars Wendler
2019-06-26  9:04 Lars Wendler
2019-06-26  9:04 Lars Wendler
2019-06-26  8:15 Lars Wendler
2019-06-19 15:15 Lars Wendler
2019-06-19 15:03 Lars Wendler
2019-03-20 20:33 Lars Wendler
2019-03-20 20:33 Lars Wendler
2019-03-13 15:33 Lars Wendler
2019-03-13 15:32 Lars Wendler
2018-08-21 19:26 Andreas Sturmlechner
2018-08-21 19:21 Andreas Sturmlechner
2018-08-21  8:01 Andreas Sturmlechner
2018-08-21  7:42 Andreas Sturmlechner
2018-08-21  7:42 Andreas Sturmlechner
2018-07-09 14:26 Lars Wendler
2018-07-08  9:04 Lars Wendler
2018-06-28 14:27 Lars Wendler
2018-04-30 15:58 Mike Gilbert
2018-04-27  1:39 Matt Turner
2018-04-12 16:09 Lars Wendler
2018-04-12  9:41 Lars Wendler
2018-03-19 13:08 Lars Wendler
2018-03-19 11:11 Lars Wendler
2018-01-05 19:47 Mikle Kolyada
2017-08-24  9:56 Lars Wendler
2017-03-04 17:09 Lars Wendler
2017-03-04 10:56 Lars Wendler
2017-01-30 20:53 Lars Wendler
2017-01-18 16:51 Lars Wendler
2016-12-15 10:29 Lars Wendler
2016-12-15 10:29 Lars Wendler
2016-12-15  8:59 Lars Wendler
2016-12-15  8:59 Lars Wendler
2016-09-28  8:40 Lars Wendler
2016-09-28  8:40 Lars Wendler
2016-08-06 14:33 Lars Wendler
2016-08-06 11:37 Pacho Ramos
2016-05-09 14:08 Lars Wendler
2016-05-09 14:08 Lars Wendler
2016-03-09 12:46 Lars Wendler
2016-03-09 12:46 Lars Wendler
2016-03-01 16:14 Lars Wendler
2016-03-01 16:14 Lars Wendler
2016-02-09 14:30 Lars Wendler
2015-12-24 15:55 Lars Wendler
2015-12-16 10:50 Lars Wendler
2015-12-16 10:50 Lars Wendler
2015-10-04 20:15 Julian Ospald
2015-10-02  8:42 Lars Wendler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1521464274.962585af6220cf157f1bec97fab91a0fa7d9675c.polynomial-c@gentoo \
    --to=polynomial-c@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox