1 |
commit: c705745d1a3c0c6a501ab7467b17376ee57963e6 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Mar 20 20:23:41 2019 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Mar 20 20:32:56 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c705745d |
7 |
|
8 |
media-sound/mumble: Bump to version 1.3.0_rc1 |
9 |
|
10 |
Package-Manager: Portage-2.3.62, Repoman-2.3.12 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
media-sound/mumble/Manifest | 1 + |
14 |
media-sound/mumble/mumble-1.3.0_rc1.ebuild | 139 +++++++++++++++++++++++++++++ |
15 |
2 files changed, 140 insertions(+) |
16 |
|
17 |
diff --git a/media-sound/mumble/Manifest b/media-sound/mumble/Manifest |
18 |
index 819c74785c9..804e4f168ae 100644 |
19 |
--- a/media-sound/mumble/Manifest |
20 |
+++ b/media-sound/mumble/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
+DIST mumble-1.3.0-rc1.tar.gz 8638701 BLAKE2B 6c97c528e8b598bb86a7318e997067706216436b37aabb06931e509d1c713d0104aa599a72235dd0afd46b34779205bd622a496bf14fd54aa065d9ab1d869725 SHA512 e993b18b0ecf620d3a9a89f145c18b9ecde3aaf9b7217e235b7472908c81a365323c8683dd6fc9ed14b108160f8bf5244369c2a9ee57c22595550220d158516c |
23 |
DIST mumble-1.3.0_pre20190313.tar.xz 2904672 BLAKE2B 4f7b9b63b35c04ee646364cdccd8dd171ba63e41cdede79098ae68d551dd2aee7d2ee74711f92eb0da9998a199061d4438bebdaa1807f980cdfdfccf7e0460b6 SHA512 623103c846103e306ce9fb527130ecda8b65f8486819cc189fb21a4b313fbf987b29a63838c1eb29d0cbd71ae464b2acba4110fb500365115636c3d23827eec0 |
24 |
|
25 |
diff --git a/media-sound/mumble/mumble-1.3.0_rc1.ebuild b/media-sound/mumble/mumble-1.3.0_rc1.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..d15c4124e79 |
28 |
--- /dev/null |
29 |
+++ b/media-sound/mumble/mumble-1.3.0_rc1.ebuild |
30 |
@@ -0,0 +1,139 @@ |
31 |
+# Copyright 1999-2019 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+inherit desktop qmake-utils xdg |
37 |
+ |
38 |
+DESCRIPTION="Mumble is an open source, low-latency, high quality voice chat software" |
39 |
+HOMEPAGE="https://wiki.mumble.info" |
40 |
+if [[ "${PV}" == 9999 ]] ; then |
41 |
+ inherit git-r3 |
42 |
+ EGIT_REPO_URI="https://github.com/mumble-voip/mumble.git" |
43 |
+ EGIT_SUBMODULES=( '-*' celt-0.7.0-src celt-0.11.0-src themes/Mumble 3rdparty/rnnoise-src ) |
44 |
+else |
45 |
+ if [[ "${PV}" == *_pre* ]] ; then |
46 |
+ SRC_URI="https://dev.gentoo.org/~polynomial-c/dist/${P}.tar.xz" |
47 |
+ else |
48 |
+ MY_PV="${PV/_/-}" |
49 |
+ MY_P="${PN}-${MY_PV}" |
50 |
+ SRC_URI="https://github.com/mumble-voip/mumble/releases/download/${MY_PV}/${MY_P}.tar.gz" |
51 |
+ S="${WORKDIR}/${P/_*}" |
52 |
+ fi |
53 |
+ KEYWORDS="~amd64 ~arm64 ~x86" |
54 |
+fi |
55 |
+ |
56 |
+LICENSE="BSD MIT" |
57 |
+SLOT="0" |
58 |
+IUSE="+alsa +dbus debug g15 jack libressl +opus oss pch portaudio pulseaudio +rnnoise speech zeroconf" |
59 |
+ |
60 |
+RDEPEND=" |
61 |
+ dev-qt/qtcore:5 |
62 |
+ dev-qt/qtgui:5 |
63 |
+ dev-qt/qtnetwork:5 |
64 |
+ dev-qt/qtsql:5[sqlite] |
65 |
+ dev-qt/qtsvg:5 |
66 |
+ dev-qt/qtwidgets:5 |
67 |
+ dev-qt/qtxml:5 |
68 |
+ >=dev-libs/protobuf-2.2.0:= |
69 |
+ >=media-libs/libsndfile-1.0.20[-minimal] |
70 |
+ >=media-libs/speex-1.2.0 |
71 |
+ media-libs/speexdsp |
72 |
+ sys-apps/lsb-release |
73 |
+ x11-libs/libX11 |
74 |
+ x11-libs/libXi |
75 |
+ alsa? ( media-libs/alsa-lib ) |
76 |
+ dbus? ( dev-qt/qtdbus:5 ) |
77 |
+ g15? ( app-misc/g15daemon ) |
78 |
+ jack? ( virtual/jack ) |
79 |
+ !libressl? ( >=dev-libs/openssl-1.0.0b:0= ) |
80 |
+ libressl? ( dev-libs/libressl ) |
81 |
+ opus? ( >=media-libs/opus-1.0.1 ) |
82 |
+ portaudio? ( media-libs/portaudio ) |
83 |
+ pulseaudio? ( media-sound/pulseaudio ) |
84 |
+ speech? ( >=app-accessibility/speech-dispatcher-0.8.0 ) |
85 |
+ zeroconf? ( net-dns/avahi[mdnsresponder-compat] ) |
86 |
+" |
87 |
+DEPEND="${RDEPEND} |
88 |
+ >=dev-libs/boost-1.41.0 |
89 |
+ x11-base/xorg-proto |
90 |
+" |
91 |
+BDEPEND=" |
92 |
+ dev-qt/linguist-tools:5 |
93 |
+ virtual/pkgconfig |
94 |
+" |
95 |
+ |
96 |
+src_configure() { |
97 |
+ myuse() { |
98 |
+ [[ -n "${1}" ]] || die "myuse: No use option given" |
99 |
+ use ${1} || echo no-${1} |
100 |
+ } |
101 |
+ |
102 |
+ local conf_add=( |
103 |
+ bundled-celt |
104 |
+ no-bundled-opus |
105 |
+ no-bundled-speex |
106 |
+ no-embed-qt-translations |
107 |
+ no-server |
108 |
+ no-update |
109 |
+ $(myuse alsa) |
110 |
+ $(myuse dbus) |
111 |
+ $(usex debug 'symbols debug' release) |
112 |
+ $(myuse g15) |
113 |
+ $(usex jack '' no-jackaudio) |
114 |
+ $(myuse opus) |
115 |
+ $(myuse oss) |
116 |
+ $(myuse portaudio) |
117 |
+ $(myuse pulseaudio) |
118 |
+ $(myuse rnnoise) |
119 |
+ $(usex speech '' no-speechd) |
120 |
+ $(usex zeroconf '' no-bonjour) |
121 |
+ ) |
122 |
+ |
123 |
+ use pch || conf_add+=( no-pch ) |
124 |
+ |
125 |
+ eqmake5 "${S}/main.pro" -recursive \ |
126 |
+ CONFIG+="${conf_add[*]}" \ |
127 |
+ DEFINES+="PLUGIN_PATH=/usr/$(get_libdir)/mumble" |
128 |
+} |
129 |
+ |
130 |
+src_install() { |
131 |
+ newdoc README.Linux README |
132 |
+ dodoc CHANGES |
133 |
+ |
134 |
+ local dir=release |
135 |
+ if use debug; then |
136 |
+ dir=debug |
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 |
+ doicon -s scalable icons/mumble.svg |
148 |
+ |
149 |
+ doman man/mumble-overlay.1 |
150 |
+ doman man/mumble.1 |
151 |
+ |
152 |
+ dolib.so "${dir}"/libmumble.so* "${dir}"/libcelt0.so* "${dir}"/plugins/lib*.so* |
153 |
+} |
154 |
+ |
155 |
+pkg_preinst() { |
156 |
+ xdg_pkg_preinst |
157 |
+} |
158 |
+ |
159 |
+pkg_postinst() { |
160 |
+ xdg_pkg_postinst |
161 |
+ echo |
162 |
+ elog "Visit http://mumble.sourceforge.net/ for futher configuration instructions." |
163 |
+ elog "Run mumble-overlay to start the OpenGL overlay (after starting mumble)." |
164 |
+ echo |
165 |
+} |
166 |
+ |
167 |
+pkg_postrm() { |
168 |
+ xdg_pkg_postrm |
169 |
+} |