media-video/aegisub: Restrict tests for 9999
authorNick Sarnie <sarnex@gentoo.org>
Fri, 5 Apr 2019 02:01:49 +0000 (22:01 -0400)
committerNick Sarnie <sarnex@gentoo.org>
Fri, 5 Apr 2019 02:02:20 +0000 (22:02 -0400)
They don't work anyway

Fixes: https://bugs.gentoo.org/682216
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Nick Sarnie <sarnex@gentoo.org>
media-video/aegisub/aegisub-9999.ebuild

index 3d4464c989fa19290adb1507906968dcbb8918bb..fcbfb2a2dc8074df7e36fcf75e56dc10fdf4cc27 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -17,7 +17,8 @@ EGIT_SUBMODULES=()
 LICENSE="BSD MIT"
 SLOT="0"
 KEYWORDS=""
-IUSE="+alsa debug +fftw openal oss portaudio pulseaudio spell test +uchardet"
+IUSE="+alsa debug +fftw openal oss portaudio pulseaudio spell +uchardet"
+RESTRICT="test"
 
 # aegisub bundles luabins (https://github.com/agladysh/luabins).
 # Unfortunately, luabins upstream is practically dead since 2010.
@@ -46,11 +47,6 @@ DEPEND="${RDEPEND}
        dev-util/intltool
        sys-devel/gettext
        virtual/pkgconfig
-       test? (
-               ~dev-cpp/gtest-1.7.0
-               dev-lua/busted
-               dev-lua/luarocks
-       )
 "
 
 REQUIRED_USE="|| ( alsa openal oss portaudio pulseaudio )"
@@ -58,7 +54,6 @@ REQUIRED_USE="|| ( alsa openal oss portaudio pulseaudio )"
 PATCHES=(
        "${FILESDIR}/3.2.2_p20160518/${PN}-3.2.2_p20160518-fix-system-luajit-build.patch"
        "${FILESDIR}/3.2.2_p20160518/${PN}-3.2.2_p20160518-respect-compiler-flags.patch"
-       "${FILESDIR}/3.2.2_p20160518/${PN}-3.2.2_p20160518-support-system-gtest.patch"
 )
 
 src_prepare() {
@@ -103,7 +98,7 @@ src_configure() {
 }
 
 src_compile() {
-       emake WITH_SYSTEM_GTEST=$(usex test)
+       emake
 }
 
 src_test() {