diff options
author | Ben de Groot <yngwin@gentoo.org> | 2015-05-15 13:25:08 +0000 |
---|---|---|
committer | Ben de Groot <yngwin@gentoo.org> | 2015-05-15 13:25:08 +0000 |
commit | 527721b39fb513a374bd695a66bb8bc5ae615ebd (patch) | |
tree | 08b37d9d3b35c29a979410a35e65a9c362b625f3 /net-libs/telepathy-qt | |
parent | Keyword ~arm, ~ppc and ~ppc64. Bug #549516. (diff) | |
download | gentoo-2-527721b39fb513a374bd695a66bb8bc5ae615ebd.tar.gz gentoo-2-527721b39fb513a374bd695a66bb8bc5ae615ebd.tar.bz2 gentoo-2-527721b39fb513a374bd695a66bb8bc5ae615ebd.zip |
version bump
(Portage version: 2.2.19/cvs/Linux x86_64, signed Manifest commit with key 0x4FDF9CFD2FAC514E!)
Diffstat (limited to 'net-libs/telepathy-qt')
-rw-r--r-- | net-libs/telepathy-qt/ChangeLog | 7 | ||||
-rw-r--r-- | net-libs/telepathy-qt/telepathy-qt-0.9.6.ebuild | 95 |
2 files changed, 101 insertions, 1 deletions
diff --git a/net-libs/telepathy-qt/ChangeLog b/net-libs/telepathy-qt/ChangeLog index e698362ea13f..b991882857df 100644 --- a/net-libs/telepathy-qt/ChangeLog +++ b/net-libs/telepathy-qt/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-libs/telepathy-qt # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/telepathy-qt/ChangeLog,v 1.38 2015/05/14 16:17:13 pesa Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-libs/telepathy-qt/ChangeLog,v 1.39 2015/05/15 13:25:08 yngwin Exp $ + +*telepathy-qt-0.9.6 (15 May 2015) + + 15 May 2015; Ben de Groot <yngwin@gentoo.org> +telepathy-qt-0.9.6.ebuild: + version bump 14 May 2015; Davide Pesavento <pesa@gentoo.org> telepathy-qt-0.9.5.ebuild: Specify glib SLOT. diff --git a/net-libs/telepathy-qt/telepathy-qt-0.9.6.ebuild b/net-libs/telepathy-qt/telepathy-qt-0.9.6.ebuild new file mode 100644 index 000000000000..00255a063fff --- /dev/null +++ b/net-libs/telepathy-qt/telepathy-qt-0.9.6.ebuild @@ -0,0 +1,95 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-libs/telepathy-qt/telepathy-qt-0.9.6.ebuild,v 1.1 2015/05/15 13:25:08 yngwin Exp $ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) +inherit python-any-r1 cmake-utils virtualx multibuild + +DESCRIPTION="Qt bindings for the Telepathy D-Bus protocol" +HOMEPAGE="http://telepathy.freedesktop.org/" +SRC_URI="http://telepathy.freedesktop.org/releases/${PN}/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="debug farstream +qt4 qt5 test" + +REQUIRED_USE="|| ( qt4 qt5 )" + +RDEPEND=" + farstream? ( + >=net-libs/telepathy-farstream-0.2.2 + >=net-libs/telepathy-glib-0.18.0 + ) + qt4? ( + dev-qt/qtcore:4 + dev-qt/qtdbus:4 + ) + qt5? ( + dev-qt/qtcore:5 + dev-qt/qtdbus:5 + dev-qt/qtgui:5 + dev-qt/qtnetwork:5 + dev-qt/qtxml:5 + ) + !net-libs/telepathy-qt4 +" +DEPEND="${RDEPEND} + ${PYTHON_DEPS} + virtual/pkgconfig + test? ( + dev-libs/dbus-glib + dev-libs/glib:2 + dev-python/dbus-python + qt4? ( dev-qt/qttest:4 ) + qt5? ( dev-qt/qttest:5 ) + ) +" + +DOCS=( AUTHORS ChangeLog HACKING NEWS README ) + +pkg_setup() { + python-any-r1_pkg_setup + MULTIBUILD_VARIANTS=( $(usev qt4) $(usev qt5) ) +} + +src_configure() { + myconfigure() { + local mycmakeargs=( + $(cmake-utils_use_enable debug DEBUG_OUTPUT) + $(cmake-utils_use_enable farstream) + $(cmake-utils_use_enable test TESTS) + -DENABLE_EXAMPLES=OFF + -ENABLE_SERVICE_SUPPORT=ON + ) + if [[ ${MULTIBUILD_VARIANT} = qt4 ]]; then + mycmakeargs+=(-DDESIRED_QT_VERSION=4) + fi + if [[ ${MULTIBUILD_VARIANT} = qt5 ]]; then + mycmakeargs+=(-DDESIRED_QT_VERSION=5) + fi + cmake-utils_src_configure + } + + multibuild_foreach_variant myconfigure +} + +src_compile() { + multibuild_foreach_variant cmake-utils_src_compile +} + +src_test() { + mytest() { + pushd "${BUILD_DIR}" > /dev/null + VIRTUALX_COMMAND="ctest -E '(CallChannel)'" virtualmake || die "tests failed" + popd > /dev/null + } + + multibuild_foreach_variant mytest +} + +src_install() { + multibuild_foreach_variant cmake-utils_src_install +} |