From: "Michael Palimaka" <kensington@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/kde:master commit in: dev-libs/libqzeitgeist/
Date: Wed, 13 May 2015 18:35:36 +0000 (UTC) [thread overview]
Message-ID: <1431542112.4526f0e1085241a556faf0a78175d8336e8b5211.kensington@gentoo> (raw)
commit: 4526f0e1085241a556faf0a78175d8336e8b5211
Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Wed May 13 18:35:12 2015 +0000
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Wed May 13 18:35:12 2015 +0000
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=4526f0e1
[dev-libs/libqzeitgeist] Fix build when dev-qt/qttest is missing wrt bug #549046. Add missing dependencies. Improve python handling (it's only used at build time).
Package-Manager: portage-2.2.18
dev-libs/libqzeitgeist/libqzeitgeist-9999.ebuild | 23 ++++++++++++++++-------
1 file changed, 16 insertions(+), 7 deletions(-)
diff --git a/dev-libs/libqzeitgeist/libqzeitgeist-9999.ebuild b/dev-libs/libqzeitgeist/libqzeitgeist-9999.ebuild
index 3bf25c8..5389a8c 100644
--- a/dev-libs/libqzeitgeist/libqzeitgeist-9999.ebuild
+++ b/dev-libs/libqzeitgeist/libqzeitgeist-9999.ebuild
@@ -6,7 +6,7 @@ EAPI=5
PYTHON_COMPAT=( python2_7 )
KDE_REQUIRED="never"
-inherit python-single-r1 kde4-base
+inherit python-any-r1 kde4-base
DESCRIPTION="Qt interface to the Zeitgeist event tracking system"
HOMEPAGE="https://projects.kde.org/projects/kdesupport/libqzeitgeist"
@@ -21,19 +21,28 @@ LICENSE="GPL-2"
SLOT="4"
IUSE="debug"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
RDEPEND="
- ${PYTHON_DEPS}
dev-libs/libzeitgeist
+ dev-qt/qtcore:4
+ dev-qt/qtdbus:4
dev-qt/qtdeclarative:4
"
-DEPEND="
- ${RDEPEND}
+DEPEND="${RDEPEND}
+ $(python_gen_any_dep 'gnome-extra/zeitgeist[${PYTHON_USEDEP}]')
gnome-extra/zeitgeist
"
+python_check_deps() {
+ has_version "gnome-extra/zeitgeist[${PYTHON_USEDEP}]"
+}
+
pkg_setup() {
- python-single-r1_pkg_setup
+ python-any-r1_pkg_setup
kde4-base_pkg_setup
}
+
+src_prepare() {
+ sed -e "/^find_package(Qt4/s/QtTest//" -i CMakeLists.txt || die
+
+ kde4-base_src_prepare
+}
next reply other threads:[~2015-05-13 18:35 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-13 18:35 Michael Palimaka [this message]
-- strict thread matches above, loose matches on Subject: below --
2015-07-15 19:48 [gentoo-commits] proj/kde:master commit in: dev-libs/libqzeitgeist/ Johannes Huber
2014-05-01 22:46 Johannes Huber
2013-08-08 11:00 Michael Palimaka
2013-06-30 12:44 Johannes Huber
2012-07-31 10:54 Michael Palimaka
2011-12-23 13:17 Johannes Huber
2011-10-29 10:21 Johannes Huber
2011-10-25 0:31 Alexey Shvetsov
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=1431542112.4526f0e1085241a556faf0a78175d8336e8b5211.kensington@gentoo \
--to=kensington@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