summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHector Martin <marcan@marcan.st>2020-06-23 15:56:45 +0900
committerJoonas Niilola <juippis@gentoo.org>2020-07-19 13:43:27 +0300
commit4a8ed1e774562aad427c9b3190f9633ce1324ff4 (patch)
tree4a47a67b7d0546bc5fa0a494efe7f1e82d0660ab /media-sound/supercollider
parentwww-client/netsurf: https for HOMEPAGE (diff)
downloadgentoo-4a8ed1e774562aad427c9b3190f9633ce1324ff4.tar.gz
gentoo-4a8ed1e774562aad427c9b3190f9633ce1324ff4.tar.bz2
gentoo-4a8ed1e774562aad427c9b3190f9633ce1324ff4.zip
media-sound/supercollider: fix tests on 3.11.0
Qt wants X11 by default, so tell it to run offscreen instead. Closes: https://bugs.gentoo.org/656436 Package-Manager: Portage-2.3.101, Repoman-2.3.22 Signed-off-by: Hector Martin <marcan@marcan.st> Closes: https://github.com/gentoo/gentoo/pull/16382 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'media-sound/supercollider')
-rw-r--r--media-sound/supercollider/supercollider-3.11.0.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/media-sound/supercollider/supercollider-3.11.0.ebuild b/media-sound/supercollider/supercollider-3.11.0.ebuild
index 3b3865ba3a00..c4f164b9dc16 100644
--- a/media-sound/supercollider/supercollider-3.11.0.ebuild
+++ b/media-sound/supercollider/supercollider-3.11.0.ebuild
@@ -116,6 +116,11 @@ src_install() {
use vim && newdoc editors/scvim/README.md README.vim
}
+src_test() {
+ export QT_QPA_PLATFORM=offscreen
+ cmake_src_test
+}
+
pkg_postinst() {
einfo "Notice: SuperCollider is not very intuitive to get up and running."
einfo "The best course of action to make sure that the installation was"