From: Ilya Tumaykin Date: Tue, 22 Dec 2015 15:06:39 +0000 (+0300) Subject: media-video/mpv: do USE checks in pkg_pretend X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=4bd4b444d5342899b623bf47ca9a44015e23228a;p=gentoo.git 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 --- 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() {