summaryrefslogtreecommitdiff
blob: ee255fab688752345e3e22aba3d0e9e7996ce118 (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
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI="2"

inherit eutils

DESCRIPTION="A GTK IM client using CHINA MOBILE's Fetion Protocol 4"
HOMEPAGE="http://ofetion.googlecode.com"
SRC_URI="${HOMEPAGE}/files/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug gstreamer libnotify networkmanager xscreensaver"
RESTRICT="mirror"

DEPEND="dev-libs/openssl
	x11-libs/gtk+:2
	dev-libs/libxml2"
RDEPEND="${DEPEND}
	gstreamer? ( media-libs/gstreamer )
	libnotify? ( x11-libs/libnotify )
	networkmanager? ( net-misc/networkmanager )
	xscreensaver? ( x11-misc/xscreensaver )"

src_configure() {
	econf $(use_enable gstreamer gst)\
		$(use_enable libnotify)\
		$(use_enable networkmanager nm)\
		$(use_enable xscreensaver screensaver)\
		$(use_enable debug)
}
src_install() {
	emake DESTDIR="${D}" install || die "Install failed"
}