summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Huber <johu@gentoo.org>2016-11-01 21:50:14 +0100
committerJohannes Huber <johu@gentoo.org>2016-11-01 22:12:24 +0100
commitde5b49643ba8d375ca6980493962bbc72ea3c0d5 (patch)
tree14aaab16012c9d97847158e144af1fab7a3a213e /net-libs/jreen
parentglobal: Drop dead implementations from PYTHON_COMPAT (diff)
downloadgentoo-de5b49643ba8d375ca6980493962bbc72ea3c0d5.tar.gz
gentoo-de5b49643ba8d375ca6980493962bbc72ea3c0d5.tar.bz2
gentoo-de5b49643ba8d375ca6980493962bbc72ea3c0d5.zip
net-libs/jreen: Version bump 1.3.0
Package-Manager: portage-2.3.2
Diffstat (limited to 'net-libs/jreen')
-rw-r--r--net-libs/jreen/Manifest1
-rw-r--r--net-libs/jreen/jreen-1.2.1.ebuild1
-rw-r--r--net-libs/jreen/jreen-1.3.0.ebuild74
3 files changed, 75 insertions, 1 deletions
diff --git a/net-libs/jreen/Manifest b/net-libs/jreen/Manifest
index bfd2a3481207..8499573e13dc 100644
--- a/net-libs/jreen/Manifest
+++ b/net-libs/jreen/Manifest
@@ -1 +1,2 @@
DIST jreen-1.2.1.tar.gz 279584 SHA256 be5de04b6f54e47bdec92707600441a39e46add958181ad2b5b2d1bf92693fbd SHA512 3ab28cf2a2c2a595892b15acb9e49c7aa64dbb3b2ac13138ce011b16c2c6b3abeb524231d271fb0f4a6da028548ae6995b34bd70ee9c40fb54e6d64fac2633a2 WHIRLPOOL ff0f76b18252b8601e2e3c7a6c784bf3eb579c4e421e44081a24f726ea10a3cb1a3373c4a80bbf51200ddf346cff43453667182c080acd500097a1c28b18fb94
+DIST jreen-1.3.0.tar.gz 287827 SHA256 f93c3d338c011c0945dacb14eb9da3be9541028c9eaa6f2024e688eb8a49b07e SHA512 7b8267aa7d0e18c28dfeb6a1c7c0495d87bd2712fe10a0c6283f0cf89b72d2c67f98f97a812c9f34496af43eb00ddd94b7e60e942634fb03d0119f94a3d08464 WHIRLPOOL 6a6e0f469e344eab2f0c745411091867bddeaeabf0dad8ff8ebb58521d1d9a0b07d6bb389fb9cf937cfc2974b834951baf4de514eef6ae5c087f72c6c0d6f604
diff --git a/net-libs/jreen/jreen-1.2.1.ebuild b/net-libs/jreen/jreen-1.2.1.ebuild
index b0e159e224d0..9924c3dbc728 100644
--- a/net-libs/jreen/jreen-1.2.1.ebuild
+++ b/net-libs/jreen/jreen-1.2.1.ebuild
@@ -10,7 +10,6 @@ if [[ ${PV} != *9999* ]]; then
else
GIT_ECLASS="git-r3"
EGIT_REPO_URI=( "git://github.com/euroelessar/${PN}" )
- KEYWORDS="amd64 x86"
fi
inherit cmake-utils multibuild ${GIT_ECLASS}
diff --git a/net-libs/jreen/jreen-1.3.0.ebuild b/net-libs/jreen/jreen-1.3.0.ebuild
new file mode 100644
index 000000000000..a70bff2574c1
--- /dev/null
+++ b/net-libs/jreen/jreen-1.3.0.ebuild
@@ -0,0 +1,74 @@
+# 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}" )
+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
+}