blob: 4efd0e5201a9c0a242546d2ab139879621e24730 (
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
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-libs/qxmpp/qxmpp-0.3.61-r2.ebuild,v 1.4 2012/07/15 16:52:03 kensington Exp $
EAPI=3
inherit multilib qt4-r2
DESCRIPTION="A cross-platform C++ XMPP client library based on the Qt framework."
HOMEPAGE="http://code.google.com/p/qxmpp/"
SRC_URI="mirror://github/0xd34df00d/qxmpp-dev/${P}-extras.tar.bz2"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="debug +extras"
DEPEND="x11-libs/qt-core:4
x11-libs/qt-gui:4
media-libs/speex"
RDEPEND="${DEPEND}"
PATCHES=( "${FILESDIR}"/01_enable_shared_linking.patch )
src_prepare() {
#Disable silly debug library '_d' suffix
sed -e 's/qxmpp-lc_d/qxmpp-lc/' -i qxmpp.pri || die "sed faild"
qt4-r2_src_prepare
}
src_configure(){
eqmake4 "${S}"/qxmpp.pro "PREFIX=/usr" "LIBDIR=$(get_libdir)"
}
|