commit: 5bb67dfc238e40fe2eee8813f111d6a4b31f6655 Author: Alexey Sokolov <sokolov <AT> google <DOT> com> AuthorDate: Sat Oct 10 14:36:36 2020 +0000 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> CommitDate: Mon Oct 12 09:06:00 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5bb67dfc
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 <alexey+gentoo <AT> asokolov.org> Closes: https://github.com/gentoo/gentoo/pull/17875 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> 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(-) 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 00000000000..1dd5f4f1ed8 --- /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 1d0b1471137..6a17ad98057 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() {