From e0807df6eeb497ad919f835f3eb16f486a4902f8 Mon Sep 17 00:00:00 2001 From: odrling Date: Thu, 6 May 2021 19:45:22 +0200 Subject: [PATCH] media-video/aegisub: update ebuild --- media-video/aegisub/aegisub-9999.ebuild | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/media-video/aegisub/aegisub-9999.ebuild b/media-video/aegisub/aegisub-9999.ebuild index 561d3e3..eb30e8f 100644 --- a/media-video/aegisub/aegisub-9999.ebuild +++ b/media-video/aegisub/aegisub-9999.ebuild @@ -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