From 5bb67dfc238e40fe2eee8813f111d6a4b31f6655 Mon Sep 17 00:00:00 2001 From: Alexey Sokolov Date: Sat, 10 Oct 2020 15:36:36 +0100 Subject: dev-libs/qtcompress: fix test Closes: https://bugs.gentoo.org/747565 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Alexey Sokolov Closes: https://github.com/gentoo/gentoo/pull/17875 Signed-off-by: Joonas Niilola --- dev-libs/qtcompress/files/qtcompress-0_p20180513-nogui.patch | 10 ++++++++++ dev-libs/qtcompress/qtcompress-0_p20180513.ebuild | 3 ++- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 dev-libs/qtcompress/files/qtcompress-0_p20180513-nogui.patch (limited to 'dev-libs/qtcompress') diff --git a/dev-libs/qtcompress/files/qtcompress-0_p20180513-nogui.patch b/dev-libs/qtcompress/files/qtcompress-0_p20180513-nogui.patch new file mode 100644 index 000000000000..1dd5f4f1ed8c --- /dev/null +++ b/dev-libs/qtcompress/files/qtcompress-0_p20180513-nogui.patch @@ -0,0 +1,10 @@ +--- a/tests/auto/unit/qzip/qzip.pro 2018-05-13 08:44:01.000000000 -0000 ++++ b/tests/auto/unit/qzip/qzip.pro 2020-10-10 14:23:34.377528668 -0000 +@@ -1,6 +1,7 @@ + CONFIG += testcase + TARGET = tst_qzip + QT += compress testlib ++QT -= gui + SOURCES += tst_qzip.cpp + + wince* { diff --git a/dev-libs/qtcompress/qtcompress-0_p20180513.ebuild b/dev-libs/qtcompress/qtcompress-0_p20180513.ebuild index 1d0b1471137d..6a17ad98057b 100644 --- a/dev-libs/qtcompress/qtcompress-0_p20180513.ebuild +++ b/dev-libs/qtcompress/qtcompress-0_p20180513.ebuild @@ -10,13 +10,13 @@ DESCRIPTION="A public API for QZip in an easy to use module" HOMEPAGE="https://github.com/nezticle/qtcompress" MY_COMMIT="23f8831826cd72aedf99fc3699148b6c994fd677" SRC_URI="https://github.com/nezticle/qtcompress/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/qtcompress-${MY_COMMIT}" LICENSE="|| ( LGPL-2.1 GPL-3 ) FDL-1.3" SLOT="0/5.11.0" KEYWORDS="~amd64 ~x86" IUSE="test" RESTRICT="!test? ( test )" -S="${WORKDIR}/qtcompress-${MY_COMMIT}" RDEPEND=" dev-qt/qtcore:5 @@ -33,6 +33,7 @@ BDEPEND=" PATCHES=( "${FILESDIR}/${P}-remove-zlib.patch" "${FILESDIR}/${P}-test-include.patch" + "${FILESDIR}/${P}-nogui.patch" ) src_prepare() { -- cgit v1.2.3-65-gdbad