summaryrefslogtreecommitdiff
blob: 0f7484e0deebe0baf5635796c58b154f712a65a2 (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
35
36
37
38
39
40
41
42
43
44
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit eutils

MY_P=gizmo-project-${PV}

DESCRIPTION="Gizmo is a P2P-VoiceIP client"
HOMEPAGE="http://www.gizmoproject.com/"
SRC_URI="http://download.gizmoproject.com/jasmine/gtk-${P}/${MY_P}.tar.gz"

LICENSE="gizmoproject-eula"
SLOT="0"
KEYWORDS="~x86"
IUSE="avahi"

RESTRICT="mirror strip"

RDEPEND="dev-libs/atk
	>=gnome-base/gconf-2
	media-libs/alsa-lib
	>=x11-libs/gtk+-2.6
	x11-libs/libX11
	x11-libs/libXext
	x11-libs/pango
	sys-libs/zlib"

S=${WORKDIR}/${MY_P}

src_install() {
	insinto /opt
	doins -r share/gizmo
	exeinto /opt/gizmo
	doexe gizmo libsipphoneapi.s*
	sed -i -e "s:CURDIR=.*:CURDIR=/opt/gizmo:" -e "s:share/gizmo::" gizmo-run
	exeinto /opt/bin
	newexe gizmo-run gizmo

	dodoc ChangeLog README.TXT

	newicon share/gizmo/pixmaps/icons/gizmo-icon-48.png ${PN}.png
	make_desktop_entry ${PN} "Gizmo Project" ${PN}.png "Network;Telephony;P2P"
}