/[gentoo-x86]/media-sound/murmur/murmur-0.9.4-r1.ebuild
Gentoo

Contents of /media-sound/murmur/murmur-0.9.4-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Thu Oct 16 22:42:35 2008 UTC (11 years, 1 month ago) by tgurr
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Version bump, fixing bug #207627 (Thanks to every single person participating). Remove old.
(Portage version: 2.2_rc12/cvs/Linux 2.6.26-gentoo-r1 x86_64)

1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-sound/murmur/murmur-0.9.4-r1.ebuild,v 1.1 2007/04/18 10:30:31 drizzt Exp $
4
5 inherit eutils toolchain-funcs
6
7 MY_P=mumble-${PV}
8
9 DESCRIPTION="voice chat software for gaming written in Qt4 (server)"
10 HOMEPAGE="http://mumble.sourceforge.net/"
11 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"
12
13 LICENSE="BSD"
14 SLOT="0"
15 KEYWORDS="~x86 ~amd64"
16 IUSE="pch"
17
18 DEPEND="=x11-libs/qt-4*"
19
20 RDEPEND="${DEPEND}"
21
22 S="${WORKDIR}"/${MY_P}
23
24 pkg_setup() {
25 if ! built_with_use -o =x11-libs/qt-4* sqlite sqlite3; then
26 echo
27 ewarn "You need to build Qt4 with the sqlite and/or sqlite3 use flag"
28 echo
29 die "Your Qt4 has no sqlite support"
30 fi
31 enewgroup murmur
32 enewuser murmur -1 -1 /var/lib/murmur murmur
33 }
34
35 src_unpack() {
36 unpack ${A}
37 cd "${S}"
38 use pch || sed -i -e '3s: precompile_header$::' mumble.pri
39 }
40
41 src_compile() {
42 qmake murmur.pro || die "qmake failed"
43 emake CC="$(tc-getCC) ${CFLAGS}" \
44 CXX="$(tc-getCXX) ${CXXFLAGS}" \
45 LINK="$(tc-getCXX)" \
46 LFLAGS="${LDFLAGS}" || die "emake failed"
47 }
48
49 src_install() {
50 dodoc README CHANGES || die "installing docs failed"
51 dobin murmur || die "installing failed"
52 insinto /etc/murmur
53 doins murmur.ini
54 newinitd "${FILESDIR}"/murmur.rc murmur
55 newconfd "${FILESDIR}"/murmur.confd murmur
56 }

  ViewVC Help
Powered by ViewVC 1.1.20