diff options
author | Johannes Huber <johu@gentoo.org> | 2016-03-21 16:12:15 +0100 |
---|---|---|
committer | Johannes Huber <johu@gentoo.org> | 2016-03-21 16:12:15 +0100 |
commit | 867c530871a2dd8348d4369f40bacbf80ab40e44 (patch) | |
tree | e22355e9c94d2a2427e91447a9af6463edf03543 /net-libs | |
parent | Revert "www-client/google-chrome: Add REQUIRED_USE="abi_x86_64"" (diff) | |
download | gentoo-867c530871a2dd8348d4369f40bacbf80ab40e44.tar.gz gentoo-867c530871a2dd8348d4369f40bacbf80ab40e44.tar.bz2 gentoo-867c530871a2dd8348d4369f40bacbf80ab40e44.zip |
net-libs/jreen: Version bump 1.2.1
Package-Manager: portage-2.2.28
Diffstat (limited to 'net-libs')
-rw-r--r-- | net-libs/jreen/Manifest | 1 | ||||
-rw-r--r-- | net-libs/jreen/jreen-1.2.1.ebuild | 75 |
2 files changed, 76 insertions, 0 deletions
diff --git a/net-libs/jreen/Manifest b/net-libs/jreen/Manifest index 9bf027380f89..f6246a0fa37f 100644 --- a/net-libs/jreen/Manifest +++ b/net-libs/jreen/Manifest @@ -1 +1,2 @@ DIST jreen-1.2.0.tar.gz 279435 SHA256 cee3762015357bfd88f7f3eb71dd7f90ddf37fdff07c5cf99881fda051c5fe1b SHA512 36b5fb892c16fd113574904671c8d5d3da6b50e0ea128b8e24715cb517c97212adcc8641a2a230ba1edd4c7735f46211ea4729f9e27fbea14e292ad098c78b0c WHIRLPOOL 90f0904e35345a21db8fda314455421762e7e7d5f3150bc94d73a70b4337690e16cc69a70f1a4fc2000507172544813b265c34720d7f292fb4f1537dc9df676f +DIST jreen-1.2.1.tar.gz 279584 SHA256 be5de04b6f54e47bdec92707600441a39e46add958181ad2b5b2d1bf92693fbd SHA512 3ab28cf2a2c2a595892b15acb9e49c7aa64dbb3b2ac13138ce011b16c2c6b3abeb524231d271fb0f4a6da028548ae6995b34bd70ee9c40fb54e6d64fac2633a2 WHIRLPOOL ff0f76b18252b8601e2e3c7a6c784bf3eb579c4e421e44081a24f726ea10a3cb1a3373c4a80bbf51200ddf346cff43453667182c080acd500097a1c28b18fb94 diff --git a/net-libs/jreen/jreen-1.2.1.ebuild b/net-libs/jreen/jreen-1.2.1.ebuild new file mode 100644 index 000000000000..15443680ec08 --- /dev/null +++ b/net-libs/jreen/jreen-1.2.1.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +if [[ ${PV} != *9999* ]]; then + SRC_URI="https://github.com/euroelessar/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~ppc ~x86" +else + GIT_ECLASS="git-r3" + EGIT_REPO_URI=( "git://github.com/euroelessar/${PN}" ) + KEYWORDS="" +fi + +inherit cmake-utils multibuild ${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=" + media-libs/speex + net-libs/libgsasl + sys-libs/zlib + qt4? ( + dev-qt/qtcore:4[ssl] + dev-qt/qtgui:4 + ) + qt5? ( + dev-qt/qtcore:5 + dev-qt/qtnetwork:5 + ) +" +RDEPEND="${DEPEND}" + +DOCS=( AUTHORS ChangeLog README.md ) + +pkg_setup() { + MULTIBUILD_VARIANTS=( $(usev qt4) $(usev qt5) ) +} + +src_configure() { + myconfigure() { + local mycmakeargs=() + + if [[ ${MULTIBUILD_VARIANT} = qt4 ]]; then + mycmakeargs+=( -DJREEN_FORCE_QT4=ON ) + fi + if [[ ${MULTIBUILD_VARIANT} = qt5 ]]; then + mycmakeargs+=( -DJREEN_FORCE_QT4=OFF ) + fi + + cmake-utils_src_configure + } + + multibuild_foreach_variant myconfigure +} + +src_compile() { + multibuild_foreach_variant cmake-utils_src_compile +} + +src_install() { + multibuild_foreach_variant cmake-utils_src_install +} + +src_test() { + multibuild_foreach_variant cmake-utils_src_test +} |