media-video/aegisub: update ebuild

This commit is contained in:
odrling 2021-05-06 19:45:22 +02:00
parent 55aba365e1
commit e0807df6ee
1 changed files with 12 additions and 6 deletions

View File

@ -1,12 +1,15 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
EAPI=7
LUA_COMPAT=( luajit )
LUA_REQ_USE="lua52compat"
WX_GTK_VER=3.0-gtk3
PLOCALES="ar bg ca cs da de el es eu fa fi fr_FR gl hu id it ja ko nl pl pt_BR pt_PT ru sr_RS sr_RS@latin uk_UA vi zh_CN zh_TW"
inherit meson gnome2-utils l10n wxwidgets xdg-utils git-r3
inherit meson l10n lua-single wxwidgets xdg-utils git-r3
DESCRIPTION="Advanced subtitle editor"
HOMEPAGE="http://www.aegisub.org/ https://github.com/Aegisub/Aegisub"
@ -26,7 +29,7 @@ EGIT_SUBMODULES=()
LICENSE="BSD MIT"
SLOT="0"
KEYWORDS=""
IUSE="+alsa +fonts debug +fftw openal oss portaudio pulseaudio spell +uchardet libressl dependency_control"
IUSE="+alsa +fonts debug +fftw openal oss portaudio pulseaudio spell +uchardet dependency_control"
RESTRICT="test"
# aegisub bundles luabins (https://github.com/agladysh/luabins).
@ -51,8 +54,7 @@ RDEPEND="
pulseaudio? ( media-sound/pulseaudio )
spell? ( app-text/hunspell:= )
uchardet? ( app-i18n/uchardet )
libressl? ( dev-libs/libressl:0 )
!libressl? ( >=dev-libs/openssl-1.0.1h-r2:0 )
>=dev-libs/openssl-1.0.1h-r2:0
fonts? ( media-fonts/japan7-fonts-ttf )
"
DEPEND="${RDEPEND}
@ -68,6 +70,10 @@ REQUIRED_USE="|| ( alsa openal oss portaudio pulseaudio )"
PATCHES=(
)
pkg_setup() {
lua-single_pkg_setup
}
src_unpack() {
default_src_unpack
git-r3_src_unpack