summaryrefslogtreecommitdiff
blob: d4f243a0ab73da138af6db21f163e7843e99f4d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit eutils qt3

DESCRIPTION="Peer-to-Peer VoIP Application"
HOMEPAGE="http://ihu.sourceforge.net/"
SRC_URI="mirror://sourceforge/ihu/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="jack"

DEPEND="$(qt_min_version 3.2)
	media-libs/libsoundtouch
	media-libs/speex
	media-libs/libogg
	media-libs/alsa-lib
	jack? ( media-sound/jack-audio-connection-kit )"

src_compile() {
	econf \
		--with-Qt-dir=${QTDIR} \
		`use_enable jack` \
	|| die "configure failed"
	emake || die "emake failed"
}

src_install() {
	emake DESTDIR="${D}" install || die "emake install failed"
	make_desktop_entry ihu "I Hear U" "/usr/share/doc/ihu/ihubig.png" "Network;Telephony;Qt"
}