From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 046791396D0 for ; Thu, 31 Aug 2017 20:54:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 02CF51FC06B; Thu, 31 Aug 2017 20:54:56 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DA9571FC06B for ; Thu, 31 Aug 2017 20:54:55 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 06D9C3415B7 for ; Thu, 31 Aug 2017 20:54:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7D8CB8978 for ; Thu, 31 Aug 2017 20:54:52 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1504212830.98e3c840ea054ca72e999a0ae99b459fb8dec87f.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/telepathy-qt/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-libs/telepathy-qt/telepathy-qt-0.9.7-r1.ebuild X-VCS-Directories: net-libs/telepathy-qt/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 98e3c840ea054ca72e999a0ae99b459fb8dec87f X-VCS-Branch: master Date: Thu, 31 Aug 2017 20:54:52 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 0fa37bfb-9ba0-47eb-8574-9894a0aac239 X-Archives-Hash: 10d63c16d1d9b33e6cc17d2a2a365689 commit: 98e3c840ea054ca72e999a0ae99b459fb8dec87f Author: Andreas Sturmlechner gentoo org> AuthorDate: Wed Jul 5 20:03:21 2017 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Thu Aug 31 20:53:50 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98e3c840 net-libs/telepathy-qt: Drop USE=qt4,qt5 Package-Manager: Portage-2.3.6, Repoman-2.3.1 net-libs/telepathy-qt/telepathy-qt-0.9.7-r1.ebuild | 71 ++++++++++++++++++++++ 1 file changed, 71 insertions(+) diff --git a/net-libs/telepathy-qt/telepathy-qt-0.9.7-r1.ebuild b/net-libs/telepathy-qt/telepathy-qt-0.9.7-r1.ebuild new file mode 100644 index 00000000000..fe116123a3e --- /dev/null +++ b/net-libs/telepathy-qt/telepathy-qt-0.9.7-r1.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) +inherit python-any-r1 cmake-utils virtualx + +DESCRIPTION="Qt bindings for the Telepathy D-Bus protocol" +HOMEPAGE="https://telepathy.freedesktop.org/" +SRC_URI="https://telepathy.freedesktop.org/releases/${PN}/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="debug farstream test" + +RDEPEND=" + dev-qt/qtcore:5 + dev-qt/qtdbus:5 + dev-qt/qtgui:5 + dev-qt/qtnetwork:5 + dev-qt/qtxml:5 + farstream? ( + >=net-libs/telepathy-farstream-0.2.2 + >=net-libs/telepathy-glib-0.18.0 + ) +" +DEPEND="${RDEPEND} + ${PYTHON_DEPS} + virtual/pkgconfig + test? ( + dev-libs/dbus-glib + dev-libs/glib:2 + dev-python/dbus-python + dev-qt/qttest:5 + ) +" + +PATCHES=( + "${FILESDIR}/${PN}-0.9.6.1-yes-release.patch" + "${FILESDIR}/${PN}-0.9.6.1-qtpath.patch" +) + +# bug 549448 - last checked with 0.9.7 +RESTRICT="test" + +pkg_setup() { + python-any-r1_pkg_setup +} + +src_configure() { + local mycmakeargs=( + -DDESIRED_QT_VERSION=5 + -DENABLE_DEBUG_OUTPUT=$(usex debug) + -DENABLE_FARSTREAM=$(usex farstream) + -DENABLE_TESTS=$(usex test) + -DENABLE_EXAMPLES=OFF + ) + cmake-utils_src_configure +} + +src_test() { + _test_runner() { + ctest -E '(CallChannel)' + } + + pushd "${BUILD_DIR}" > /dev/null || die + virtx _test_runner + popd > /dev/null || die +}