diff options
| author | Johannes Huber <johu@gentoo.org> | 2013-04-21 15:59:08 +0200 |
|---|---|---|
| committer | Johannes Huber <johu@gentoo.org> | 2013-04-21 15:59:08 +0200 |
| commit | f499eb0c004889413ad06a93f214e78f02053c40 (patch) | |
| tree | 642ba7e6a2f0aeb9d93c592c6dc849be1ecfff1a /net-libs/jreen/jreen-9999.ebuild | |
| parent | b7167c6a1948d0f4f5dc0d98f9d36a8835594b7f (diff) | |
| download | kde-f499eb0c004889413ad06a93f214e78f02053c40.tar.gz kde-f499eb0c004889413ad06a93f214e78f02053c40.tar.bz2 kde-f499eb0c004889413ad06a93f214e78f02053c40.zip | |
[net-libs/jreen] Live version with qt5 build support.
Package-Manager: portage-2.2.0_alpha173
Diffstat (limited to 'net-libs/jreen/jreen-9999.ebuild')
| -rw-r--r-- | net-libs/jreen/jreen-9999.ebuild | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/net-libs/jreen/jreen-9999.ebuild b/net-libs/jreen/jreen-9999.ebuild new file mode 100644 index 00000000000..7e514191596 --- /dev/null +++ b/net-libs/jreen/jreen-9999.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-libs/jreen/jreen-9999.ebuild,v 1.6 2013/03/02 22:56:30 hwoarang Exp $ + +EAPI=5 + +if [[ ${PV} != *9999* ]]; then + SRC_URI="https://github.com/euroelessar/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +else + GIT_ECLASS="git-2" + EGIT_REPO_URI="git://github.com/euroelessar/${PN}" + KEYWORDS="" +fi + +inherit qt4-r2 cmake-utils ${GIT_ECLASS} + +DESCRIPTION="Qt XMPP library" +HOMEPAGE="https://github.com/euroelessar/jreen" + +LICENSE="GPL-2" +SLOT="0" +IUSE="debug +qt4 qt5" + +REQUIRED_USE="^^ ( qt4 qt5 )" + +DEPEND=" + >=app-crypt/qca-2.0.3 + media-libs/speex + >=net-dns/libidn-1.20 + net-libs/libgsasl + qt4? ( + >=dev-qt/qtcore-4.6.0:4 + >=dev-qt/qtgui-4.6.0:4 + ) + qt5? ( + dev-qt/qtcore:5 + dev-qt/qtnetwork:5 + ) +" +RDEPEND="${DEPEND}" + +DOCS=( AUTHORS ChangeLog README ) + +src_configure() { + local mycmakeargs=( + $(cmake-utils_use qt4 JREEN_FORCE_QT4) + ) + + cmake-utils_src_configure +} |
