1 |
commit: 98e3c840ea054ca72e999a0ae99b459fb8dec87f |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jul 5 20:03:21 2017 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Aug 31 20:53:50 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98e3c840 |
7 |
|
8 |
net-libs/telepathy-qt: Drop USE=qt4,qt5 |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.1 |
11 |
|
12 |
net-libs/telepathy-qt/telepathy-qt-0.9.7-r1.ebuild | 71 ++++++++++++++++++++++ |
13 |
1 file changed, 71 insertions(+) |
14 |
|
15 |
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 |
16 |
new file mode 100644 |
17 |
index 00000000000..fe116123a3e |
18 |
--- /dev/null |
19 |
+++ b/net-libs/telepathy-qt/telepathy-qt-0.9.7-r1.ebuild |
20 |
@@ -0,0 +1,71 @@ |
21 |
+# Copyright 1999-2017 Gentoo Foundation |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+ |
24 |
+EAPI=6 |
25 |
+ |
26 |
+PYTHON_COMPAT=( python2_7 ) |
27 |
+inherit python-any-r1 cmake-utils virtualx |
28 |
+ |
29 |
+DESCRIPTION="Qt bindings for the Telepathy D-Bus protocol" |
30 |
+HOMEPAGE="https://telepathy.freedesktop.org/" |
31 |
+SRC_URI="https://telepathy.freedesktop.org/releases/${PN}/${P}.tar.gz" |
32 |
+ |
33 |
+LICENSE="LGPL-2.1" |
34 |
+SLOT="0" |
35 |
+KEYWORDS="~amd64 ~arm ~x86" |
36 |
+IUSE="debug farstream test" |
37 |
+ |
38 |
+RDEPEND=" |
39 |
+ dev-qt/qtcore:5 |
40 |
+ dev-qt/qtdbus:5 |
41 |
+ dev-qt/qtgui:5 |
42 |
+ dev-qt/qtnetwork:5 |
43 |
+ dev-qt/qtxml:5 |
44 |
+ farstream? ( |
45 |
+ >=net-libs/telepathy-farstream-0.2.2 |
46 |
+ >=net-libs/telepathy-glib-0.18.0 |
47 |
+ ) |
48 |
+" |
49 |
+DEPEND="${RDEPEND} |
50 |
+ ${PYTHON_DEPS} |
51 |
+ virtual/pkgconfig |
52 |
+ test? ( |
53 |
+ dev-libs/dbus-glib |
54 |
+ dev-libs/glib:2 |
55 |
+ dev-python/dbus-python |
56 |
+ dev-qt/qttest:5 |
57 |
+ ) |
58 |
+" |
59 |
+ |
60 |
+PATCHES=( |
61 |
+ "${FILESDIR}/${PN}-0.9.6.1-yes-release.patch" |
62 |
+ "${FILESDIR}/${PN}-0.9.6.1-qtpath.patch" |
63 |
+) |
64 |
+ |
65 |
+# bug 549448 - last checked with 0.9.7 |
66 |
+RESTRICT="test" |
67 |
+ |
68 |
+pkg_setup() { |
69 |
+ python-any-r1_pkg_setup |
70 |
+} |
71 |
+ |
72 |
+src_configure() { |
73 |
+ local mycmakeargs=( |
74 |
+ -DDESIRED_QT_VERSION=5 |
75 |
+ -DENABLE_DEBUG_OUTPUT=$(usex debug) |
76 |
+ -DENABLE_FARSTREAM=$(usex farstream) |
77 |
+ -DENABLE_TESTS=$(usex test) |
78 |
+ -DENABLE_EXAMPLES=OFF |
79 |
+ ) |
80 |
+ cmake-utils_src_configure |
81 |
+} |
82 |
+ |
83 |
+src_test() { |
84 |
+ _test_runner() { |
85 |
+ ctest -E '(CallChannel)' |
86 |
+ } |
87 |
+ |
88 |
+ pushd "${BUILD_DIR}" > /dev/null || die |
89 |
+ virtx _test_runner |
90 |
+ popd > /dev/null || die |
91 |
+} |