diff options
Diffstat (limited to 'media-sound/murmur/murmur-0.9.4.ebuild')
-rw-r--r-- | media-sound/murmur/murmur-0.9.4.ebuild | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/media-sound/murmur/murmur-0.9.4.ebuild b/media-sound/murmur/murmur-0.9.4.ebuild new file mode 100644 index 000000000000..0355bab42715 --- /dev/null +++ b/media-sound/murmur/murmur-0.9.4.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/murmur/murmur-0.9.4.ebuild,v 1.1 2007/01/20 17:17:03 drizzt Exp $ + +inherit eutils toolchain-funcs + +MY_P=mumble-${PV} + +DESCRIPTION="voice chat software for gaming written in Qt4 (server)" +HOMEPAGE="http://mumble.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" + +DEPEND="dev-libs/boost + =x11-libs/qt-4* + media-libs/speex + media-libs/alsa-lib + x11-libs/libXevie" + +RDEPEND="${DEPEND}" + +S="${WORKDIR}"/${MY_P} + +pkg_setup() { + if ! built_with_use =x11-libs/qt-4* sqlite ; then + echo + ewarn "You need to build Qt4 with the sqlite use flag" + echo + die "Your Qt4 has no sqlite support" + fi +} + +src_compile() { + qmake murmur.pro || die "qmake failed" + emake CC="$(tc-getCC) ${CFLAGS}" \ + CXX="$(tc-getCXX) ${CXXFLAGS}" \ + LINK="$(tc-getCXX)" \ + LFLAGS="${LDFLAGS}" || die "emake failed" +} + +src_install() { + dodoc README CHANGES || die "installing docs failed" + dobin murmur || die "installing failed" + insinto /etc/murmur + doins murmur.ini + newinitd "${FILESDIR}"/murmur.rc murmur + newconfd "${FILESDIR}"/murmur.confd murmur +} |