1 |
commit: 5bb67dfc238e40fe2eee8813f111d6a4b31f6655 |
2 |
Author: Alexey Sokolov <sokolov <AT> google <DOT> com> |
3 |
AuthorDate: Sat Oct 10 14:36:36 2020 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Oct 12 09:06:00 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5bb67dfc |
7 |
|
8 |
dev-libs/qtcompress: fix test |
9 |
|
10 |
Closes: https://bugs.gentoo.org/747565 |
11 |
Package-Manager: Portage-3.0.4, Repoman-3.0.1 |
12 |
Signed-off-by: Alexey Sokolov <alexey+gentoo <AT> asokolov.org> |
13 |
Closes: https://github.com/gentoo/gentoo/pull/17875 |
14 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
15 |
|
16 |
dev-libs/qtcompress/files/qtcompress-0_p20180513-nogui.patch | 10 ++++++++++ |
17 |
dev-libs/qtcompress/qtcompress-0_p20180513.ebuild | 3 ++- |
18 |
2 files changed, 12 insertions(+), 1 deletion(-) |
19 |
|
20 |
diff --git a/dev-libs/qtcompress/files/qtcompress-0_p20180513-nogui.patch b/dev-libs/qtcompress/files/qtcompress-0_p20180513-nogui.patch |
21 |
new file mode 100644 |
22 |
index 00000000000..1dd5f4f1ed8 |
23 |
--- /dev/null |
24 |
+++ b/dev-libs/qtcompress/files/qtcompress-0_p20180513-nogui.patch |
25 |
@@ -0,0 +1,10 @@ |
26 |
+--- a/tests/auto/unit/qzip/qzip.pro 2018-05-13 08:44:01.000000000 -0000 |
27 |
++++ b/tests/auto/unit/qzip/qzip.pro 2020-10-10 14:23:34.377528668 -0000 |
28 |
+@@ -1,6 +1,7 @@ |
29 |
+ CONFIG += testcase |
30 |
+ TARGET = tst_qzip |
31 |
+ QT += compress testlib |
32 |
++QT -= gui |
33 |
+ SOURCES += tst_qzip.cpp |
34 |
+ |
35 |
+ wince* { |
36 |
|
37 |
diff --git a/dev-libs/qtcompress/qtcompress-0_p20180513.ebuild b/dev-libs/qtcompress/qtcompress-0_p20180513.ebuild |
38 |
index 1d0b1471137..6a17ad98057 100644 |
39 |
--- a/dev-libs/qtcompress/qtcompress-0_p20180513.ebuild |
40 |
+++ b/dev-libs/qtcompress/qtcompress-0_p20180513.ebuild |
41 |
@@ -10,13 +10,13 @@ DESCRIPTION="A public API for QZip in an easy to use module" |
42 |
HOMEPAGE="https://github.com/nezticle/qtcompress" |
43 |
MY_COMMIT="23f8831826cd72aedf99fc3699148b6c994fd677" |
44 |
SRC_URI="https://github.com/nezticle/qtcompress/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz" |
45 |
+S="${WORKDIR}/qtcompress-${MY_COMMIT}" |
46 |
|
47 |
LICENSE="|| ( LGPL-2.1 GPL-3 ) FDL-1.3" |
48 |
SLOT="0/5.11.0" |
49 |
KEYWORDS="~amd64 ~x86" |
50 |
IUSE="test" |
51 |
RESTRICT="!test? ( test )" |
52 |
-S="${WORKDIR}/qtcompress-${MY_COMMIT}" |
53 |
|
54 |
RDEPEND=" |
55 |
dev-qt/qtcore:5 |
56 |
@@ -33,6 +33,7 @@ BDEPEND=" |
57 |
PATCHES=( |
58 |
"${FILESDIR}/${P}-remove-zlib.patch" |
59 |
"${FILESDIR}/${P}-test-include.patch" |
60 |
+ "${FILESDIR}/${P}-nogui.patch" |
61 |
) |
62 |
|
63 |
src_prepare() { |