aegisub: disable tests if USE test is not set
This commit is contained in:
parent
815a606858
commit
e13825f19d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue