summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlya Tumaykin <itumaykin@gmail.com>2015-12-22 18:06:39 +0300
committerIlya Tumaykin <itumaykin@gmail.com>2015-12-28 15:46:56 +0300
commit4bd4b444d5342899b623bf47ca9a44015e23228a (patch)
tree72140da568ae9dbfc4c4f60a490f8c82f88d43ef /media-video/mpv
parentmedia-video/mpv: sort eclasses alphabetically (diff)
downloadgentoo-4bd4b444d5342899b623bf47ca9a44015e23228a.tar.gz
gentoo-4bd4b444d5342899b623bf47ca9a44015e23228a.tar.bz2
gentoo-4bd4b444d5342899b623bf47ca9a44015e23228a.zip
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/mpv')
-rw-r--r--media-video/mpv/mpv-9999.ebuild4
1 files changed, 1 insertions, 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() {