Elisa 1 year ago
parent
commit
2926ef86c3

+ 2 - 0
media-sound/mumble/Manifest View File

@@ -0,0 +1,2 @@
1
+EBUILD mumble-1.3.9999.ebuild 4101 BLAKE2B cfea0db78e7514dcbf81ccda86835b47ac9284e23b10a51d7be265274fe986094756bfb196f59f3257bc8066745f9c00afea5dffaceb49d36600bcc435511c23 SHA512 f9b9787e5f231dabdb2cd52b703cf35689e328deb82bceae178df7582fb5443aa02b1519b6a2a227e2958188d9c6829c5cea64e2a673a0488415480ae46d266a
2
+MISC metadata.xml 656 BLAKE2B 0c7eab6a4434bc78dea29c2ef883abd281e834b52ea69e876e0bec2be0aa2f75ed2d2d147e9347b5c8d681583d46ee84bc9f8019fc70ec38fb589dd5d1def533 SHA512 7cf858a483ddaa4b19e50a57b0d3e17600a6044fa864a9cde03d9381700a3b648c8ba97e6c42f29f4f6dcc37e6c8ec2e5f213451d3b54797edbad18db5323d15

+ 20 - 0
media-sound/mumble/metadata.xml View File

@@ -0,0 +1,20 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<!DOCTYPE 
3
+pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
4
+<pkgmetadata>
5
+  <maintainer type="person">
6
+    <email>tgurr@gentoo.org</email>
7
+  </maintainer>
8
+  <longdescription lang="en">Mumble is an open source, low-latency,
9
+  high quality voice chat software primarily intended for use while
10
+  gaming.</longdescription>
11
+  <use>
12
+    <flag name="g15">Enable support for the Logitech G15 LCD (and
13
+    compatible devices).</flag>
14
+    <flag name="speech">Enable text-to-speech support in
15
+    Mumble.</flag>
16
+  </use>
17
+  <upstream>
18
+    <remote-id type="sourceforge">mumble</remote-id>
19
+  </upstream>
20
+</pkgmetadata>

+ 167 - 0
media-sound/mumble/mumble-1.3.9999.ebuild View File

@@ -0,0 +1,167 @@
1
+# Copyright 1999-2017 Gentoo Foundation
2
+# Distributed under the terms of the GNU General Public License v2
3
+
4
+EAPI=6
5
+
6
+LANGS="cs cy da de el el_GR en en_GB eo es eu fa_IR fi fr gl he hi hu it ja ko lt nb_NO nl nl_BE no pl pt_BR pt_PT ru sk sv th tr uk vi zh_CN zh_HK zh_TW"
7
+
8
+QT_MINIMAL="4.6"
9
+
10
+EGIT_REPO_URI="https://github.com/mumble-voip/mumble"
11
+
12
+inherit eutils multilib qmake-utils virtualx git-r3
13
+
14
+DESCRIPTION="Mumble is an open source, low-latency, high quality voice chat software"
15
+HOMEPAGE="http://mumble.info/"
16
+
17
+LICENSE="BSD MIT"
18
+SLOT="0"
19
+KEYWORDS=""
20
+IUSE="+alsa +dbus debug g15 libressl oss pch portaudio pulseaudio qt4 +qt5 speech zeroconf"
21
+
22
+REQUIRED_USE="
23
+	^^ ( qt4 qt5 )
24
+"
25
+
26
+RDEPEND="
27
+	qt4? (
28
+		>=dev-qt/qtcore-4.6:4
29
+		>=dev-qt/qtgui-4.6:4
30
+		>=dev-qt/qtopengl-4.6:4
31
+		>=dev-qt/qtsql-4.6:4[sqlite]
32
+		>=dev-qt/qtsvg-4.6:4
33
+		>=dev-qt/qtxmlpatterns-4.6:4
34
+		app-crypt/qca:2[qt4(+)]
35
+		dbus? ( >=dev-qt/qtdbus-4.6:4 )
36
+	)
37
+	qt5? (
38
+		>=dev-qt/qtcore-5.1:5
39
+		>=dev-qt/qtgui-5.1:5
40
+		>=dev-qt/qtnetwork-5.1:5
41
+		>=dev-qt/qtopengl-5.1:5
42
+		>=dev-qt/qtsql-5.1:5[sqlite]
43
+		>=dev-qt/qtsvg-5.1:5
44
+		>=dev-qt/qttranslations-5.1:5
45
+		>=dev-qt/qtwidgets-5.1:5
46
+		>=dev-qt/qtx11extras-5.1:5
47
+		>=dev-qt/qtxml-5.1:5
48
+		>=dev-qt/qtxmlpatterns-5.1:5
49
+		app-crypt/qca:2[qt5(+)]
50
+		dbus? ( >=dev-qt/qtdbus-5.1:5 )
51
+	)
52
+
53
+	>=dev-libs/boost-1.41.0
54
+	>=dev-libs/protobuf-2.2.0
55
+	>=media-libs/libsndfile-1.0.20[-minimal]
56
+	>=media-libs/opus-1.0.1
57
+	|| (
58
+		(
59
+			>=media-libs/speex-1.2.0
60
+			media-libs/speexdsp
61
+		)
62
+		<media-libs/speex-1.2.0
63
+	)
64
+	sys-apps/lsb-release
65
+	virtual/opengl
66
+	x11-libs/libX11
67
+	x11-libs/libXi
68
+	x11-base/xorg-proto
69
+	alsa? ( media-libs/alsa-lib )
70
+	g15? ( app-misc/g15daemon )
71
+	!libressl? ( >=dev-libs/openssl-1.0.0b:0 )
72
+	libressl? ( dev-libs/libressl )
73
+	portaudio? ( media-libs/portaudio )
74
+	pulseaudio? ( media-sound/pulseaudio )
75
+	speech? ( app-accessibility/speech-dispatcher )
76
+	zeroconf? ( net-dns/avahi[mdnsresponder-compat] )
77
+"
78
+
79
+DEPEND="${RDEPEND}
80
+	virtual/pkgconfig
81
+	qt5? ( >=dev-qt/linguist-tools-5.1:5 )
82
+"
83
+
84
+src_configure() {
85
+	local conf_add
86
+
87
+	if has_version '<=sys-devel/gcc-4.2'; then
88
+		conf_add+=" no-pch"
89
+	else
90
+		use pch || conf_add+=" no-pch"
91
+	fi
92
+
93
+	use alsa || conf_add+=" no-alsa"
94
+	use dbus || conf_add+=" no-dbus"
95
+	use debug && conf_add+=" symbols debug" || conf_add+=" release"
96
+	use g15 || conf_add+=" no-g15"
97
+	use oss || conf_add+=" no-oss"
98
+	use portaudio || conf_add+=" no-portaudio"
99
+	use pulseaudio || conf_add+=" no-pulseaudio"
100
+	use speech || conf_add+=" no-speechd"
101
+	use zeroconf || conf_add+=" no-bonjour"
102
+
103
+	conf_add+=" bundled-celt"
104
+	conf_add+=" no-bundled-opus"
105
+	conf_add+=" no-bundled-speex"
106
+	conf_add+=" no-embed-qt-translations"
107
+	conf_add+=" no-server"
108
+	conf_add+=" no-update"
109
+
110
+	if use qt4; then
111
+		export QT_SELECT=qt4
112
+		eqmake4 "${S}/main.pro" ${myconf} || die "eqmake4 failed"
113
+	elif use qt5; then
114
+		export QT_SELECT=qt5
115
+		ewarn "Please note that Qt5 support is still experimental."
116
+		ewarn "If you find anything to not work with Qt5, please report a bug."
117
+		eqmake5 "${S}/main.pro" -recursive \
118
+			CONFIG+="${conf_add}" \
119
+			DEFINES+="PLUGIN_PATH=/usr/$(get_libdir)/mumble" || die "eqmake5 failed"
120
+	fi
121
+}
122
+
123
+#src_compile() {
124
+#	# parallel make workaround, bug #445960
125
+#	emake -j1
126
+#}
127
+
128
+src_install() {
129
+	newdoc README.Linux README
130
+	dodoc CHANGES
131
+
132
+	local dir
133
+	if use debug; then
134
+		dir=debug
135
+	else
136
+		dir=release
137
+	fi
138
+
139
+	dobin "${dir}"/mumble
140
+	dobin scripts/mumble-overlay
141
+
142
+	insinto /usr/share/services
143
+	doins scripts/mumble.protocol
144
+
145
+	domenu scripts/mumble.desktop
146
+
147
+	insinto /usr/share/icons/hicolor/scalable/apps
148
+	doins icons/mumble.svg
149
+
150
+	doman man/mumble-overlay.1
151
+	doman man/mumble.1
152
+
153
+	insopts -o root -g root -m 0755
154
+	insinto "/usr/$(get_libdir)/mumble"
155
+	doins "${dir}"/libmumble.so.${PV/%9999/0}
156
+	dosym libmumble.so.${PV/%9999/0} /usr/$(get_libdir)/mumble/libmumble.so.1
157
+	dosym libmumble.so.1 /usr/$(get_libdir)/mumble/libmumble.so
158
+	doins "${dir}"/libcelt0.so.0.{7,11}.0
159
+	doins "${dir}"/plugins/lib*.so*
160
+}
161
+
162
+pkg_postinst() {
163
+	echo
164
+	elog "Visit http://mumble.sourceforge.net/ for futher configuration instructions."
165
+	elog "Run mumble-overlay to start the OpenGL overlay (after starting mumble)."
166
+	echo
167
+}

+ 1 - 1
profiles/desktop/make.defaults View File

@@ -18,7 +18,7 @@ ladspa lame lapack lastfm latex -ldap legacy-systray libass libinput libkms libm
18 18
 networking networkmanager ntfs ntox
19 19
 openal openexr openimageio openvdb opus osc overlays
20 20
 phonon plotutils portaudio portmidi postproc postscript pulseaudio
21
-qml qt4 qt5
21
+qml qt5
22 22
 rtlsdr rubberband ruby
23 23
 s3tc savedconfig sbsms session sndfile soxr system-cairo system-jpeg system-libevent system-libvpx
24 24
 taglib tcl tex4ht theora tint2conf tk twolame

+ 3 - 0
profiles/desktop/package.accept_keywords View File

@@ -7,3 +7,6 @@ x11-themes/qtcurve -~amd64
7 7
 
8 8
 # Need unstable melt
9 9
 kde-apps/kdenlive -~amd64
10
+
11
+# Mumble 1.3
12
+=media-sound/mumble-1.3.9999 **

+ 1 - 0
profiles/desktop/package.unmask View File

@@ -0,0 +1 @@
1
+=media-sound/mumble-1.3.9999