From 4bd4b444d5342899b623bf47ca9a44015e23228a Mon Sep 17 00:00:00 2001 From: Ilya Tumaykin Date: Tue, 22 Dec 2015 18:06:39 +0300 Subject: [PATCH] media-video/mpv: do USE checks in pkg_pretend This was originally submitted by Vindex17 in PR #318. This is the proper place if we will need to die early (we will). Package-Manager: portage-2.2.24 --- media-video/mpv/mpv-9999.ebuild | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/media-video/mpv/mpv-9999.ebuild b/media-video/mpv/mpv-9999.ebuild index e9ba8387fc1c..d08c2bbfaa66 100644 --- a/media-video/mpv/mpv-9999.ebuild +++ b/media-video/mpv/mpv-9999.ebuild @@ -123,7 +123,7 @@ RDEPEND+=" selinux? ( sec-policy/selinux-mplayer ) " -pkg_setup() { +pkg_pretend() { if ! use libass; then ewarn "You have disabled the libass flag. No OSD or subtitles will be displayed." fi @@ -147,8 +147,6 @@ pkg_setup() { einfo "For additional format support you need to enable the support on your" einfo "libavcodec/libavformat provider:" einfo " media-video/ffmpeg or media-video/libav" - - python-any-r1_pkg_setup } src_prepare() { -- 2.26.2