1 |
commit: cde66f63160f1d4669cbacc51bbf6e2a6e922445 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Apr 25 16:11:22 2018 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Apr 25 16:14:45 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cde66f63 |
7 |
|
8 |
net-libs/telepathy-qt: Cleanup bogus deps, cleanup failing test deps |
9 |
|
10 |
Closes: https://bugs.gentoo.org/653802 |
11 |
Package-Manager: Portage-2.3.31, Repoman-2.3.9 |
12 |
|
13 |
.../files/telepathy-qt-0.9.7-deps.patch | 37 ++++++++++++++++++++++ |
14 |
net-libs/telepathy-qt/telepathy-qt-0.9.7-r1.ebuild | 25 +++------------ |
15 |
2 files changed, 42 insertions(+), 20 deletions(-) |
16 |
|
17 |
diff --git a/net-libs/telepathy-qt/files/telepathy-qt-0.9.7-deps.patch b/net-libs/telepathy-qt/files/telepathy-qt-0.9.7-deps.patch |
18 |
new file mode 100644 |
19 |
index 00000000000..033ece79bb5 |
20 |
--- /dev/null |
21 |
+++ b/net-libs/telepathy-qt/files/telepathy-qt-0.9.7-deps.patch |
22 |
@@ -0,0 +1,37 @@ |
23 |
+--- a/cmake/modules/FindQt5.cmake 2016-06-12 13:04:05.000000000 +0200 |
24 |
++++ b/cmake/modules/FindQt5.cmake 2018-04-25 18:04:28.351188748 +0200 |
25 |
+@@ -22,8 +22,6 @@ |
26 |
+ # QT_QTDBUS_LIBRARY The QtDBus library |
27 |
+ # QT_QTGUI_LIBRARY The QtGui library |
28 |
+ # QT_QTNETWORK_LIBRARY The QtNetwork library |
29 |
+-# QT_QTTEST_LIBRARY The QtTest library |
30 |
+-# QT_QTWIDGETS_LIBRARY The QtWidgets library |
31 |
+ # QT_QTXML_LIBRARY The QtXml library |
32 |
+ # |
33 |
+ # also defined, but NOT for general use are |
34 |
+@@ -65,23 +63,19 @@ |
35 |
+ find_package(Qt5Core ${REQUIRED_QT_VERSION} REQUIRED) |
36 |
+ find_package(Qt5DBus ${REQUIRED_QT_VERSION} REQUIRED) |
37 |
+ find_package(Qt5Gui ${REQUIRED_QT_VERSION} REQUIRED) |
38 |
+-find_package(Qt5Test ${REQUIRED_QT_VERSION} REQUIRED) |
39 |
+-find_package(Qt5Widgets ${REQUIRED_QT_VERSION} REQUIRED) |
40 |
+ find_package(Qt5Network ${REQUIRED_QT_VERSION} REQUIRED) |
41 |
+ find_package(Qt5Xml ${REQUIRED_QT_VERSION} REQUIRED) |
42 |
+ |
43 |
+ # Copy includes and library names into the same style as pkgconfig used for Qt4 |
44 |
+-set(QT_INCLUDES ${Qt5Core_INCLUDE_DIRS} ${Qt5DBus_INCLUDE_DIRS} ${Qt5Gui_INCLUDE_DIRS} ${Qt5Network_INCLUDE_DIRS} ${Qt5Test_INCLUDE_DIRS} ${Qt5Widgets_INCLUDE_DIRS}) |
45 |
++set(QT_INCLUDES ${Qt5Core_INCLUDE_DIRS} ${Qt5DBus_INCLUDE_DIRS} ${Qt5Gui_INCLUDE_DIRS} ${Qt5Network_INCLUDE_DIRS}) |
46 |
+ |
47 |
+ set(QT_QTCORE_LIBRARY ${Qt5Core_LIBRARIES}) |
48 |
+ set(QT_QTDBUS_LIBRARY ${Qt5DBus_LIBRARIES}) |
49 |
+ set(QT_QTGUI_LIBRARY ${Qt5Gui_LIBRARIES}) |
50 |
+ set(QT_QTNETWORK_LIBRARY ${Qt5Network_LIBRARIES}) |
51 |
+-set(QT_QTTEST_LIBRARY ${Qt5Test_LIBRARIES}) |
52 |
+-set(QT_QTWIDGETS_LIBRARY ${Qt5Widgets_LIBRARIES}) |
53 |
+ set(QT_QTXML_LIBRARY ${Qt5Xml_LIBRARIES}) |
54 |
+ |
55 |
+-set(QT_LIBRARIES ${QT_QTCORE_LIBRARY} ${QT_QTDBUS_LIBRARY} ${QT_QTGUI_LIBRARY} ${QT_QTNETWORK_LIBRARY} ${QT_QTTEST_LIBRARY} ${QT_QTWIDGETS_LIBRARY} ${QT_QTXML_LIBRARY}) |
56 |
++set(QT_LIBRARIES ${QT_QTCORE_LIBRARY} ${QT_QTDBUS_LIBRARY} ${QT_QTGUI_LIBRARY} ${QT_QTNETWORK_LIBRARY} ${QT_QTXML_LIBRARY}) |
57 |
+ |
58 |
+ SET(QT_VERSION_MAJOR ${Qt5Core_VERSION_MAJOR}) |
59 |
+ SET(QT_VERSION_MINOR ${Qt5Core_VERSION_MINOR}) |
60 |
|
61 |
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 |
62 |
index 9aaa8c5aa7c..97dc81e956d 100644 |
63 |
--- a/net-libs/telepathy-qt/telepathy-qt-0.9.7-r1.ebuild |
64 |
+++ b/net-libs/telepathy-qt/telepathy-qt-0.9.7-r1.ebuild |
65 |
@@ -1,10 +1,10 @@ |
66 |
-# Copyright 1999-2017 Gentoo Foundation |
67 |
+# Copyright 1999-2018 Gentoo Foundation |
68 |
# Distributed under the terms of the GNU General Public License v2 |
69 |
|
70 |
EAPI=6 |
71 |
|
72 |
PYTHON_COMPAT=( python2_7 ) |
73 |
-inherit python-any-r1 cmake-utils virtualx |
74 |
+inherit python-any-r1 cmake-utils |
75 |
|
76 |
DESCRIPTION="Qt bindings for the Telepathy D-Bus protocol" |
77 |
HOMEPAGE="https://telepathy.freedesktop.org/" |
78 |
@@ -13,7 +13,7 @@ SRC_URI="https://telepathy.freedesktop.org/releases/${PN}/${P}.tar.gz" |
79 |
LICENSE="LGPL-2.1" |
80 |
SLOT="0" |
81 |
KEYWORDS="amd64 ~arm x86" |
82 |
-IUSE="debug farstream test" |
83 |
+IUSE="debug farstream" |
84 |
|
85 |
RDEPEND=" |
86 |
dev-qt/qtcore:5 |
87 |
@@ -29,17 +29,12 @@ RDEPEND=" |
88 |
DEPEND="${RDEPEND} |
89 |
${PYTHON_DEPS} |
90 |
virtual/pkgconfig |
91 |
- test? ( |
92 |
- dev-libs/dbus-glib |
93 |
- dev-libs/glib:2 |
94 |
- dev-python/dbus-python |
95 |
- dev-qt/qttest:5 |
96 |
- ) |
97 |
" |
98 |
|
99 |
PATCHES=( |
100 |
"${FILESDIR}/${PN}-0.9.6.1-yes-release.patch" |
101 |
"${FILESDIR}/${PN}-0.9.6.1-qtpath.patch" |
102 |
+ "${FILESDIR}/${P}-deps.patch" |
103 |
) |
104 |
|
105 |
# bug 549448 - last checked with 0.9.7 |
106 |
@@ -54,18 +49,8 @@ src_configure() { |
107 |
-DDESIRED_QT_VERSION=5 |
108 |
-DENABLE_DEBUG_OUTPUT=$(usex debug) |
109 |
-DENABLE_FARSTREAM=$(usex farstream) |
110 |
- -DENABLE_TESTS=$(usex test) |
111 |
+ -DENABLE_TESTS=OFF |
112 |
-DENABLE_EXAMPLES=OFF |
113 |
) |
114 |
cmake-utils_src_configure |
115 |
} |
116 |
- |
117 |
-src_test() { |
118 |
- _test_runner() { |
119 |
- ctest -E '(CallChannel)' |
120 |
- } |
121 |
- |
122 |
- pushd "${BUILD_DIR}" > /dev/null || die |
123 |
- virtx _test_runner |
124 |
- popd > /dev/null || die |
125 |
-} |