Gentoo Archives: gentoo-commits

From: "Timo Gurr (tgurr)" <tgurr@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-sound/mumble: mumble-1.2.1-r1.ebuild ChangeLog mumble-1.2.1.ebuild
Date: Tue, 02 Feb 2010 01:17:48
Message-Id: E1Nc7Oh-0007cI-0W@stork.gentoo.org
1 tgurr 10/02/02 01:17:43
2
3 Modified: ChangeLog
4 Added: mumble-1.2.1-r1.ebuild
5 Removed: mumble-1.2.1.ebuild
6 Log:
7 Fix usage of newer celt versions wrt bug #293300. Thanks to Dennis Schridde again.
8 (Portage version: 2.2_rc62/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.26 media-sound/mumble/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mumble/ChangeLog?rev=1.26&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mumble/ChangeLog?rev=1.26&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mumble/ChangeLog?r1=1.25&r2=1.26
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-sound/mumble/ChangeLog,v
20 retrieving revision 1.25
21 retrieving revision 1.26
22 diff -u -r1.25 -r1.26
23 --- ChangeLog 8 Jan 2010 21:00:44 -0000 1.25
24 +++ ChangeLog 2 Feb 2010 01:17:42 -0000 1.26
25 @@ -1,6 +1,13 @@
26 # ChangeLog for media-sound/mumble
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-sound/mumble/ChangeLog,v 1.25 2010/01/08 21:00:44 tgurr Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/media-sound/mumble/ChangeLog,v 1.26 2010/02/02 01:17:42 tgurr Exp $
30 +
31 +*mumble-1.2.1-r1 (02 Feb 2010)
32 +
33 + 02 Feb 2010; Timo Gurr <tgurr@g.o> -mumble-1.2.1.ebuild,
34 + +mumble-1.2.1-r1.ebuild, +files/mumble-1.2.1-celt-libnaming.patch:
35 + Fix usage of newer celt versions wrt bug #293300. Thanks to Dennis
36 + Schridde again.
37
38 *mumble-1.2.1 (08 Jan 2010)
39
40
41
42
43 1.1 media-sound/mumble/mumble-1.2.1-r1.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mumble/mumble-1.2.1-r1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mumble/mumble-1.2.1-r1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: mumble-1.2.1-r1.ebuild
49 ===================================================================
50 # Copyright 1999-2010 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/media-sound/mumble/mumble-1.2.1-r1.ebuild,v 1.1 2010/02/02 01:17:42 tgurr Exp $
53
54 EAPI="2"
55
56 inherit eutils multilib qt4
57
58 MY_P="${PN}-${PV/_/~}"
59
60 DESCRIPTION="Mumble is an open source, low-latency, high quality voice chat software."
61 HOMEPAGE="http://mumble.sourceforge.net/"
62 SRC_URI="http://mumble.info/snapshot/${MY_P}.tar.gz"
63
64 LICENSE="BSD"
65 SLOT="0"
66 KEYWORDS="~amd64 ~x86"
67 IUSE="+alsa +dbus debug g15 oss pch portaudio pulseaudio speech zeroconf"
68
69 RDEPEND=">=dev-libs/boost-1.36.0-r1
70 dev-libs/openssl
71 >=dev-libs/protobuf-2.2.0
72 >=media-libs/celt-0.7.0
73 >=media-libs/libsndfile-1.0.20
74 >=media-libs/speex-1.2_rc1
75 x11-libs/qt-core:4[ssl]
76 x11-libs/qt-gui:4
77 x11-libs/qt-opengl:4
78 x11-libs/qt-sql:4[sqlite]
79 x11-libs/qt-svg:4
80 x11-libs/qt-xmlpatterns:4
81 x11-proto/inputproto
82 alsa? ( media-libs/alsa-lib )
83 dbus? ( x11-libs/qt-dbus:4 )
84 g15? ( app-misc/g15daemon )
85 portaudio? ( media-libs/portaudio )
86 pulseaudio? ( media-sound/pulseaudio )
87 speech? ( app-accessibility/speech-dispatcher )
88 zeroconf? ( || ( net-dns/avahi[mdnsresponder-compat] net-misc/mDNSResponder ) )"
89 DEPEND="${RDEPEND}
90 dev-util/pkgconfig"
91
92 S="${WORKDIR}/${MY_P}"
93
94 src_prepare() {
95 epatch "${FILESDIR}/${P}-celt-libnaming.patch"
96 }
97
98 src_configure() {
99 local conf_add
100
101 if has_version '<=sys-devel/gcc-4.2'; then
102 conf_add="${conf_add} no-pch"
103 else
104 use pch || conf_add="${conf_add} no-pch"
105 fi
106
107 use alsa || conf_add="${conf_add} no-alsa"
108 use dbus || conf_add="${conf_add} no-dbus"
109 use debug && conf_add="${conf_add} symbols debug" || conf_add="${conf_add} release"
110 use g15 || conf_add="${conf_add} no-g15"
111 use oss || conf_add="${conf_add} no-oss"
112 use portaudio || conf_add="${conf_add} no-portaudio"
113 use pulseaudio || conf_add="${conf_add} no-pulseaudio"
114 use speech || conf_add="${conf_add} no-speechd"
115 use zeroconf || conf_add="${conf_add} no-bonjour"
116
117 eqmake4 "${S}/main.pro" -recursive \
118 CONFIG+="${conf_add} \
119 no-11x \
120 no-bundled-celt \
121 no-bundled-speex \
122 no-embed-qt-translations \
123 no-server" \
124 DEFINES+="PLUGIN_PATH=/usr/$(get_libdir)/mumble" \
125 || die "eqmake4 failed."
126 }
127
128 src_install() {
129 newdoc README.Linux README || die "Installing docs failed."
130 dodoc CHANGES || die "Installing docs failed."
131
132 local dir
133 if use debug; then
134 dir=debug
135 else
136 dir=release
137 fi
138
139 dobin "${dir}"/mumble || die "Installing mumble binary failed."
140 dobin scripts/mumble-overlay || die "Installing overlay script failed."
141
142 insinto /usr/share/services
143 doins scripts/mumble.protocol || die "Installing mumble.protocol file failed."
144
145 domenu scripts/mumble.desktop || die "Installing menu entry failed."
146
147 insinto /usr/share/icons/hicolor/scalable/apps
148 doins icons/mumble.svg || die "Installing icon failed."
149
150 doman man/mumble-overlay.1 || die "Installing mumble-overlay manpage failed."
151 doman man/mumble.1 || die "Installing mumble manpage failed."
152
153 insopts -o root -g root -m 0755
154 insinto "/usr/$(get_libdir)/mumble"
155 doins "${dir}"/lib*.so* || die "Installing plugins failed."
156 doins "${dir}"/plugins/lib*.so* || die "Installing plugins failed."
157 }
158
159 pkg_postinst() {
160 echo
161 elog "Visit http://mumble.sourceforge.net/ for futher configuration instructions."
162 elog "Run mumble-overlay to start the OpenGL overlay (after starting mumble)."
163 echo
164 }