diff options
author | Ilya Tumaykin <itumaykin@gmail.com> | 2015-12-22 18:06:39 +0300 |
---|---|---|
committer | Ilya Tumaykin <itumaykin@gmail.com> | 2015-12-28 15:46:56 +0300 |
commit | 4bd4b444d5342899b623bf47ca9a44015e23228a (patch) | |
tree | 72140da568ae9dbfc4c4f60a490f8c82f88d43ef /media-video | |
parent | c436a359fa717e8d866ca9fd76041bf1fe501f7e (diff) | |
download | gentoo-4bd4b444d5342899b623bf47ca9a44015e23228a.tar.gz gentoo-4bd4b444d5342899b623bf47ca9a44015e23228a.tar.xz |
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
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/mpv/mpv-9999.ebuild | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/media-video/mpv/mpv-9999.ebuild b/media-video/mpv/mpv-9999.ebuild index e9ba8387fc1..d08c2bbfaa6 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() { |