| 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/jreen/jreen-1.0.5.ebuild,v 1.1 2012/04/01 08:13:48 johu Exp $
|
| 4 |
|
| 5 |
EAPI=4
|
| 6 |
|
| 7 |
MY_P=lib${PN}\-${PV}
|
| 8 |
|
| 9 |
if [[ ${PV} != *9999* ]]; then
|
| 10 |
SRC_URI="http://qutim.org/downloads/${MY_P}.tar.bz2 -> ${P}.tar.bz2"
|
| 11 |
KEYWORDS="~amd64 ~x86"
|
| 12 |
else
|
| 13 |
GIT_ECLASS="git-2"
|
| 14 |
EGIT_REPO_URI="git://github.com/euroelessar/jreen.git"
|
| 15 |
KEYWORDS=""
|
| 16 |
fi
|
| 17 |
|
| 18 |
inherit qt4-r2 cmake-utils ${GIT_ECLASS}
|
| 19 |
|
| 20 |
DESCRIPTION="Qt XMPP library"
|
| 21 |
HOMEPAGE="https://github.com/euroelessar/jreen"
|
| 22 |
|
| 23 |
LICENSE="GPL-2"
|
| 24 |
SLOT="0"
|
| 25 |
IUSE="debug"
|
| 26 |
|
| 27 |
DEPEND="
|
| 28 |
>=app-crypt/qca-2.0.3
|
| 29 |
>=net-dns/libidn-1.20
|
| 30 |
>=x11-libs/qt-core-4.6.0:4
|
| 31 |
>=x11-libs/qt-gui-4.6.0:4
|
| 32 |
"
|
| 33 |
RDEPEND="${DEPEND}"
|
| 34 |
|
| 35 |
PATCHES=(
|
| 36 |
"${FILESDIR}/${P}-fix-typo.patch"
|
| 37 |
)
|
| 38 |
|
| 39 |
S="${WORKDIR}/${MY_P}"
|