summaryrefslogtreecommitdiff
blob: 57979a2ceb3831df088a44296690d18b070d9192 (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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-irc/conspire/conspire-1.0.1.ebuild,v 1.7 2011/04/25 14:39:11 tomka Exp $

EAPI=3
PYTHON_DEPEND="python? 2:2.6"
inherit eutils python

MY_P=${P/_/-}

DESCRIPTION="A high quality IRC client which uses a multitude of interfaces"
HOMEPAGE="http://www.nenolod.net/conspire/"
SRC_URI="http://distfiles.atheme.org/${MY_P}.tbz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~ia64 ~sparc x86"
IUSE="dbus ipv6 mmx nls python socks5"

RDEPEND=">=dev-libs/glib-2.14:2
	>=dev-libs/libmowgli-0.6.0
	net-libs/gnutls
	>=x11-libs/gtk+-2.10:2
	>=x11-libs/libnotify-0.4.5
	x11-libs/libsexy
	dbus? ( >=dev-libs/dbus-glib-0.88 )"
DEPEND="${RDEPEND}
	dev-util/pkgconfig
	nls? ( dev-util/intltool )"

S=${WORKDIR}/${MY_P}

pkg_setup() {
	if use python; then
		python_set_active_version 2
		python_pkg_setup
	fi
}

src_prepare() {
	epatch "${FILESDIR}"/${P}-libnotify-0.7.patch
}

src_configure() {
	econf \
		--disable-dependency-tracking \
		$(use_enable nls) \
		$(use_enable socks5 socks) \
		$(use_enable ipv6) \
		--enable-gnutls \
		$(use_enable python) \
		$(use_enable mmx) \
		--enable-spell=libsexy \
		--enable-regex \
		$(use_enable dbus)
}

src_install() {
	emake DESTDIR="${D}" install || die
	dodoc NEWS TODO
}