public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/kde:master commit in: net-libs/telepathy-qt/
Date: Wed, 30 Aug 2017 21:29:46 +0000 (UTC)	[thread overview]
Message-ID: <1504121814.7ae311fcf3b1f647cda7f403df924eaa99d3ee1b.asturm@gentoo> (raw)

commit:     7ae311fcf3b1f647cda7f403df924eaa99d3ee1b
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 30 19:36:54 2017 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed Aug 30 19:36:54 2017 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=7ae311fc

net-libs/telepathy-qt: Drop USE=qt4,qt5, sync w/ tree

Package-Manager: Portage-2.3.6, Repoman-2.3.1

 net-libs/telepathy-qt/telepathy-qt-9999.ebuild | 81 +++++++++-----------------
 1 file changed, 29 insertions(+), 52 deletions(-)

diff --git a/net-libs/telepathy-qt/telepathy-qt-9999.ebuild b/net-libs/telepathy-qt/telepathy-qt-9999.ebuild
index 39dc6bf989..894c7bbcaf 100644
--- a/net-libs/telepathy-qt/telepathy-qt-9999.ebuild
+++ b/net-libs/telepathy-qt/telepathy-qt-9999.ebuild
@@ -5,35 +5,26 @@ 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,39 @@ 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 )
+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
-	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:[~2017-08-30 21:29 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-30 21:29 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2019-09-29 20:18 [gentoo-commits] proj/kde:master commit in: net-libs/telepathy-qt/ Andreas Sturmlechner
2018-10-13 12:11 Andreas Sturmlechner
2018-03-19 20:30 Johannes Huber
2016-06-02 14:02 Johannes Huber
2016-03-28 12:24 Johannes Huber
2015-10-12 12:46 Michael Palimaka
2015-03-04 13:21 git@oystercatcher mirror+tproxy
2015-03-04 13:21 Michael Palimaka
2015-01-30 20:54 Johannes Huber
2014-09-15 16:48 Johannes Huber
2014-05-28 21:35 Johannes Huber
2014-05-01 22:46 Johannes Huber
2014-04-02 18:36 Johannes Huber
2013-11-09 15:02 Johannes Huber
2013-10-16 21:47 Johannes Huber
2013-10-13 15:46 Johannes Huber
2013-08-01 18:22 Johannes Huber
2013-06-05 21:53 Johannes Huber
2013-04-30 15:11 David Heidelberger
2012-09-11 23:23 Johannes Huber
2012-07-12 11:08 Michael Palimaka
2012-05-02 22:16 Johannes Huber
2012-04-19  9:17 Johannes Huber
2012-04-18 21:24 Michael Palimaka
2012-01-24 19:33 Johannes Huber

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=1504121814.7ae311fcf3b1f647cda7f403df924eaa99d3ee1b.asturm@gentoo \
    --to=asturm@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