summaryrefslogtreecommitdiff
blob: 5f75582da6f84233869bfc3838929f438595e73b (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-im/gabber/gabber-1.9.3.ebuild,v 1.8 2005/03/30 07:23:45 luckyduck Exp $

inherit gnome2

MY_PN="Gabber"

DESCRIPTION="The next generation of Gabber: The Gnome Jabber Client."
HOMEPAGE="http://gabber.jabberstudio.org/"
SRC_URI="http://www.jabberstudio.org/files/gabber/${MY_PN}-${PV}.tar.gz"
LICENSE="GPL-2"

SLOT="1"
KEYWORDS="~x86 ~sparc"

IUSE="spell ssl"

DEPEND="sys-devel/gettext
	>=dev-cpp/gtkmm-2.2.11
	>=dev-cpp/gconfmm-2.0.2
	>=dev-cpp/libglademm-2.0
	>=net-im/jabberoo-1.9.0
	dev-util/pkgconfig
	ssl? ( dev-libs/openssl )
	spell? ( app-text/gtkspell )"

S=${WORKDIR}/${MY_PN}-${PV}

# This is beta code, shoul turn debug on so that messages to developers
# come with extra info
MYCONF="--enable-debug"
use ssl && MYCONF=${MYCONF} || MYCONF="${MYCONF} --disable-ssl"
use spell && MYCONF=${MYCONF} || MYCONF="${MYCONF} --disable-gtkspell"

# The configure works bad with this see bug 45758
#G2CONF="${G2CONF} $(use_enable ssl)"
#G2CONF="${G2CONF} $(use_enable spell gtkspell)"
G2CONF="${G2CONF} ${MYCONF}"

DOCS="AUTHORS ChangeLog COPYING HACKING HACKING.ideas NEWS README TODO"