Gentoo Archives: gentoo-commits

From: "Timothy Redaelli (drizzt)" <drizzt@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-sound/mumble: ChangeLog mumble-1.1.1.ebuild
Date: Sun, 23 Dec 2007 20:19:22
Message-Id: E1J6XHz-0007r4-SR@stork.gentoo.org
1 drizzt 07/12/23 20:19:11
2
3 Modified: ChangeLog
4 Added: mumble-1.1.1.ebuild
5 Log:
6 Add new media-sound/mumble for testing wrt bug #183781.
7
8 (Portage version: 2.1.4_rc10)
9
10 Revision Changes Path
11 1.8 media-sound/mumble/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mumble/ChangeLog?rev=1.8&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mumble/ChangeLog?rev=1.8&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mumble/ChangeLog?r1=1.7&r2=1.8
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-sound/mumble/ChangeLog,v
20 retrieving revision 1.7
21 retrieving revision 1.8
22 diff -u -r1.7 -r1.8
23 --- ChangeLog 5 May 2007 19:13:10 -0000 1.7
24 +++ ChangeLog 23 Dec 2007 20:19:11 -0000 1.8
25 @@ -1,6 +1,12 @@
26 # ChangeLog for media-sound/mumble
27 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-sound/mumble/ChangeLog,v 1.7 2007/05/05 19:13:10 drizzt Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/media-sound/mumble/ChangeLog,v 1.8 2007/12/23 20:19:11 drizzt Exp $
30 +
31 +*mumble-1.1.1 (23 Dec 2007)
32 +
33 + 23 Dec 2007; Timothy Redaelli <drizzt@g.o>
34 + +files/mumble-1.1.1-path.patch, +mumble-1.1.1.ebuild:
35 + Add new media-sound/mumble for testing wrt bug #183781.
36
37 05 May 2007; Timothy Redaelli <drizzt@g.o>
38 files/mumble-0.9.4-path.patch, mumble-0.9.4.ebuild:
39
40
41
42 1.1 media-sound/mumble/mumble-1.1.1.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mumble/mumble-1.1.1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mumble/mumble-1.1.1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: mumble-1.1.1.ebuild
48 ===================================================================
49 # Copyright 1999-2007 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/media-sound/mumble/mumble-1.1.1.ebuild,v 1.1 2007/12/23 20:19:11 drizzt Exp $
52
53 inherit eutils toolchain-funcs qt4
54
55 DESCRIPTION="Voice chat software for gaming written in Qt4"
56 HOMEPAGE="http://mumble.sourceforge.net/"
57 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
58
59 LICENSE="BSD"
60 SLOT="0"
61 KEYWORDS="~amd64 ~x86"
62 IUSE="pulseaudio vanilla"
63
64 DEPEND="$(qt4_min_version 4.3)
65 >=media-libs/speex-1.2_beta2
66 media-libs/alsa-lib
67 dev-libs/boost
68 x11-libs/libXevie
69 pulseaudio? ( media-sound/pulseaudio )"
70
71 RDEPEND="${DEPEND}"
72
73 pkg_setup() {
74 if ! built_with_use -a =x11-libs/qt-4* sqlite3 dbus ; then
75 echo
76 if ! built_with_use =x11-libs/qt-4* sqlite3; then
77 eerror "You need to build Qt4 with the sqlite3 use-flag"
78 fi
79 if ! built_with_use =x11-libs/qt-4* dbus; then
80 eerror "You need to build Qt4 with the dbus use-flag"
81 fi
82 echo
83 die "Your Qt4 installation lacks propper useflag configuration, see above"
84 fi
85
86 if [[ $(gcc-major-version) -eq 3 && $(gcc-minor-version) -lt 4 ]]; then
87 eerror "You need >=sys-devel/gcc-3.4 to compile ${PN}."
88 die "System gcc is too old to compile ${PN}."
89 fi
90 }
91
92 src_unpack() {
93 unpack ${A}
94 cd "${S}"
95
96 use pulseaudio || sed -i -e '/CONFIG += oss/s/ pulseaudio//' \
97 "${S}"/src/mumble/mumble.pro || die
98 use vanilla || epatch "${FILESDIR}"/${P}-path.patch
99 }
100
101 src_compile() {
102 local dir
103 for dir in src/mumble overlay_gl; do
104 cd "${S}/$dir"
105 qmake ${dir##*/}.pro || die "qmake failed"
106 lrelease ${dir##*/}.pro || die "lrelease failed"
107 emake CC="$(tc-getCC) ${CFLAGS}" \
108 CXX="$(tc-getCXX) ${CXXFLAGS}" \
109 LINK="$(tc-getCXX)" || die "emake failed"
110 done
111 }
112
113 src_install() {
114 newdoc README.Linux README
115 dodoc CHANGES
116
117 local dir
118 if built_with_use =x11-libs/qt-4* debug; then
119 dir=debug
120 ewarn "Built debug-version because your Qt4 has the debug use-flag enabled."
121 else
122 dir=release
123 fi
124
125 dobin ${dir}/mumble || die "installing failed"
126 dolib.so ${dir}/lib*.so* || die "installing failed"
127
128 dobin scripts/mumble-overlay || die "installing failed"
129 newicon icons/mumble.64x64.png mumble.png || die "installing icon failed"
130 make_desktop_entry ${PN} "Mumble" mumble.png "KDE;Qt;AudioVideo" \
131 || die "installing menu entry failed"
132 }
133
134 pkg_postinst() {
135 elog
136 elog "Visit http://mumble.sourceforge.net/Audio_Tuning for futher configuration"
137 elog "type mumble to run the client"
138 elog "you might want to add this to your xorg.conf to get shortcut support"
139 elog " Section \"Extensions\""
140 elog " Option \"XEVIE\" \"Enable\""
141 elog " EndSection"
142 }
143
144
145
146 --
147 gentoo-commits@g.o mailing list