public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Johannes Huber" <johu@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/qt:master commit in: net-libs/telepathy-qt/
Date: Mon, 19 Mar 2018 20:33:58 +0000 (UTC)	[thread overview]
Message-ID: <1521491480.e23410c88fe07d5203586559dd2cf716fc1c7970.johu@gentoo> (raw)

commit:     e23410c88fe07d5203586559dd2cf716fc1c7970
Author:     Johannes Huber <johu <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 19 20:31:20 2018 +0000
Commit:     Johannes Huber <johu <AT> gentoo <DOT> org>
CommitDate: Mon Mar 19 20:31:20 2018 +0000
URL:        https://gitweb.gentoo.org/proj/qt.git/commit/?id=e23410c8

net-libs/telepathy-qt: Sync /w kde overlay

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 net-libs/telepathy-qt/telepathy-qt-9999.ebuild | 78 +++++++++-----------------
 1 file changed, 25 insertions(+), 53 deletions(-)

diff --git a/net-libs/telepathy-qt/telepathy-qt-9999.ebuild b/net-libs/telepathy-qt/telepathy-qt-9999.ebuild
index ed5f8203..699f4ab1 100644
--- a/net-libs/telepathy-qt/telepathy-qt-9999.ebuild
+++ b/net-libs/telepathy-qt/telepathy-qt-9999.ebuild
@@ -1,39 +1,30 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
 PYTHON_COMPAT=( python2_7 )
 EGIT_REPO_URI=( "git://anongit.freedesktop.org/telepathy/${PN}" )
-inherit python-any-r1 cmake-utils virtualx git-r3 multibuild
+inherit python-any-r1 cmake-utils virtualx git-r3
 
 DESCRIPTION="Qt bindings for the Telepathy D-Bus protocol"
-HOMEPAGE="http://telepathy.freedesktop.org/"
+HOMEPAGE="https://telepathy.freedesktop.org/"
 
 LICENSE="LGPL-2.1"
 SLOT="0"
 KEYWORDS=""
-IUSE="debug farstream +qt4 qt5 test"
-
-REQUIRED_USE="|| ( qt4 qt5 )"
+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
 	)
-	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}
@@ -42,53 +33,34 @@ DEPEND="${RDEPEND}
 		dev-libs/dbus-glib
 		dev-libs/glib:2
 		dev-python/dbus-python
-		qt4? ( dev-qt/qttest:4 )
-		qt5? ( dev-qt/qttest:5 )
+		dev-qt/qttest:5
 	)
 "
 
-DOCS=( AUTHORS ChangeLog HACKING NEWS README )
+# bug 549448 - last checked with 0.9.7
+RESTRICT="test"
 
 pkg_setup() {
 	python-any-r1_pkg_setup
-	MULTIBUILD_VARIANTS=( $(usev qt4) $(usev qt5) )
 }
 
 src_configure() {
-	myconfigure() {
-		local mycmakeargs=(
-			-DENABLE_DEBUG_OUTPUT=$(usex debug)
-			-DENABLE_FARSTREAM=$(usex farstream)
-			-DENABLE_TESTS=$(usex test)
-			-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
+	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() {
-	mytest() {
-		pushd "${BUILD_DIR}" > /dev/null || die
-		VIRTUALX_COMMAND="ctest -E '(CallChannel)'" virtualmake || die "tests failed"
-		popd > /dev/null || die
+	_test_runner() {
+		ctest -E '(CallChannel)'
 	}
 
-	multibuild_foreach_variant mytest
-}
-
-src_install() {
-	multibuild_foreach_variant cmake-utils_src_install
+	pushd "${BUILD_DIR}" > /dev/null || die
+	virtx _test_runner
+	popd > /dev/null || die
 }


             reply	other threads:[~2018-03-19 20:34 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-19 20:33 Johannes Huber [this message]
  -- strict thread matches above, loose matches on Subject: below --
2019-12-31 16:44 [gentoo-commits] proj/qt:master commit in: net-libs/telepathy-qt/ Andreas Sturmlechner
2019-11-20 21:18 Andreas Sturmlechner
2019-11-20 21:18 Andreas Sturmlechner
2016-10-28 16:12 Michael Palimaka
2015-10-12 16:47 Michael Palimaka
2015-05-14 16:19 Davide Pesavento
2015-05-14 14:48 Davide Pesavento
2015-03-04 13:22 git@oystercatcher mirror+tproxy
2015-03-04 13:22 Michael Palimaka
2014-09-15 16:49 Johannes Huber
2014-05-28 21:40 Johannes Huber
2014-05-05 23:52 Johannes Huber
2014-04-02 18:43 Johannes Huber
2013-11-09 15:06 Johannes Huber
2012-09-11 23:23 Johannes Huber
2012-07-12 11:06 Michael Palimaka
2012-05-03  7:24 Johannes Huber
2012-04-19  9:14 Johannes Huber
2012-04-18 21:23 Michael Palimaka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1521491480.e23410c88fe07d5203586559dd2cf716fc1c7970.johu@gentoo \
    --to=johu@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox