1 |
# Copyright 1999-2012 Gentoo Foundation |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/net-libs/qxmpp/qxmpp-0.3.61-r2.ebuild,v 1.3 2012/07/05 19:43:41 jdhore Exp $ |
4 |
|
5 |
EAPI=3 |
6 |
|
7 |
inherit multilib qt4-r2 |
8 |
|
9 |
DESCRIPTION="A cross-platform C++ XMPP client library based on the Qt framework." |
10 |
HOMEPAGE="http://code.google.com/p/qxmpp/" |
11 |
SRC_URI="mirror://github/0xd34df00d/qxmpp-dev/${P}-extras.tar.bz2" |
12 |
|
13 |
LICENSE="LGPL-2.1" |
14 |
SLOT="0" |
15 |
KEYWORDS="amd64 x86" |
16 |
IUSE="debug +extras" |
17 |
|
18 |
DEPEND="x11-libs/qt-core:4 |
19 |
x11-libs/qt-gui:4 |
20 |
media-libs/speex" |
21 |
RDEPEND="${DEPEND}" |
22 |
|
23 |
PATCHES=( "${FILESDIR}"/01_enable_shared_linking.patch ) |
24 |
|
25 |
src_prepare() { |
26 |
#Disable silly debug library '_d' suffix |
27 |
sed -e 's/qxmpp-lc_d/qxmpp-lc/' -i qxmpp.pri || die "sed faild" |
28 |
qt4-r2_src_prepare |
29 |
} |
30 |
|
31 |
src_configure(){ |
32 |
eqmake4 "${S}"/qxmpp.pro "PREFIX=/usr" "LIBDIR=$(get_libdir)" |
33 |
} |