summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Sokolov <sokolov@google.com>2020-10-10 15:36:36 +0100
committerJoonas Niilola <juippis@gentoo.org>2020-10-12 12:06:00 +0300
commit5bb67dfc238e40fe2eee8813f111d6a4b31f6655 (patch)
tree98ca6ab697f2363cc584e430abaccae3002a33a4 /dev-libs
parentmedia-libs/libheif: add [${MULTILIB_USEDEP}] to gdk-pixbuf dep (diff)
downloadgentoo-5bb67dfc238e40fe2eee8813f111d6a4b31f6655.tar.gz
gentoo-5bb67dfc238e40fe2eee8813f111d6a4b31f6655.tar.bz2
gentoo-5bb67dfc238e40fe2eee8813f111d6a4b31f6655.zip
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@asokolov.org> Closes: https://github.com/gentoo/gentoo/pull/17875 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/qtcompress/files/qtcompress-0_p20180513-nogui.patch10
-rw-r--r--dev-libs/qtcompress/qtcompress-0_p20180513.ebuild3
2 files changed, 12 insertions, 1 deletions
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() {