aboutsummaryrefslogtreecommitdiff
path: root/net-im/profanity/profanity-9999.ebuild
blob: ff5ac321988204e0af1733305531a69141217b44 (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
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=4

EGIT_REPO_URI="git://github.com/boothj5/profanity.git"

inherit autotools git-2

DESCRIPTION="Ncurses based jabber client inspired by irssi"
HOMEPAGE="http://www.profanity.im/"

LICENSE="GPL-3+"
SLOT="0"
KEYWORDS=""
IUSE="libnotify xml xscreensaver"

RDEPEND="dev-libs/glib:2
		>=dev-libs/libstrophe-0.8-r1[xml=]
		dev-libs/openssl
		net-misc/curl
		sys-libs/ncurses
		xscreensaver? ( x11-libs/libXScrnSaver )
		libnotify? ( x11-libs/libnotify )"
DEPEND="${RDEPEND}"

S="${WORKDIR}/${P/-/_}"

src_prepare() {
		eautoreconf
}

src_configure() {
		econf \
			$(use_enable libnotify notifications) \
			$(use_with xml libxml2) \
			$(use_with xscreensaver)
}