summaryrefslogtreecommitdiff
blob: e525d1c0ce1e2747584101925585fa0c2312ed88 (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-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-libs/qxmpp/qxmpp-9999.ebuild,v 1.1 2011/08/21 16:29:19 maksbotan Exp $

EAPI=3

ESVN_REPO_URI="http://qxmpp.googlecode.com/svn/trunk/"
EGIT_REPO_URI="git://github.com/0xd34df00d/qxmpp-dev.git"

inherit qt4-r2 multilib subversion git-2

DESCRIPTION="A cross-platform C++ XMPP client library based on the Qt framework."
HOMEPAGE="http://code.google.com/p/qxmpp/"

LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS=""
IUSE="debug +extras"

DEPEND="x11-libs/qt-core
		x11-libs/qt-gui
		media-libs/speex"
RDEPEND="${DEPEND}"

src_unpack(){
	if ! use extras; then
		subversion_src_unpack
	else
		git-2_src_unpack
	fi
}

src_prepare(){
	if ! use extras; then
		subversion_src_prepare
	fi
}

src_configure(){
	eqmake4 "${S}"/qxmpp.pro "PREFIX=/usr" "LIBDIR=$(get_libdir)"
}