aegisub: disable tests if USE test is not set

This commit is contained in:
odrling 2022-01-08 16:53:47 +01:00
parent 815a606858
commit e13825f19d
No known key found for this signature in database
GPG Key ID: A0145F975F9F8B75
1 changed files with 4 additions and 3 deletions

View File

@ -1,7 +1,7 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
EAPI=8
LUA_COMPAT=( luajit )
LUA_REQ_USE="lua52compat"
@ -29,7 +29,7 @@ EGIT_SUBMODULES=()
LICENSE="BSD MIT"
SLOT="0"
KEYWORDS=""
IUSE="+alsa +fonts debug +fftw openal oss portaudio pulseaudio spell +uchardet dependency_control"
IUSE="+alsa +fonts debug +fftw openal oss portaudio pulseaudio spell +uchardet dependency_control test"
RESTRICT="test"
# aegisub bundles luabins (https://github.com/agladysh/luabins).
@ -110,6 +110,7 @@ src_configure() {
-Dhunspell=$(usex spell enabled disabled)
-Duchardet=$(usex uchardet enabled disabled)
-Dsystem_luajit=true
-Dtests=$(usex test true false)
)
meson_src_configure