diff options
author | Ilya Tumaykin <itumaykin@gmail.com> | 2015-12-22 19:11:37 +0300 |
---|---|---|
committer | Ilya Tumaykin <itumaykin@gmail.com> | 2015-12-28 15:47:05 +0300 |
commit | f69bac1fcf8b0eeabb4a7d5950a751c13e79b69f (patch) | |
tree | 7edbf98d4c958e074c4b94dba73340996022696d /media-video | |
parent | 123281b8222aad95adf414455cf49172908848cb (diff) | |
download | gentoo-f69bac1fcf8b0eeabb4a7d5950a751c13e79b69f.tar.gz gentoo-f69bac1fcf8b0eeabb4a7d5950a751c13e79b69f.tar.xz |
media-video/mpv: use COMMON_DEPEND for common dependencies
This was originally submitted by Vindex17 in PR #318.
This makes DEPEND/RDEPEND setup simple and readable.
Package-Manager: portage-2.2.24
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/mpv/mpv-9999.ebuild | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/media-video/mpv/mpv-9999.ebuild b/media-video/mpv/mpv-9999.ebuild index c6a5f1f340e..ad28ae7af25 100644 --- a/media-video/mpv/mpv-9999.ebuild +++ b/media-video/mpv/mpv-9999.ebuild @@ -50,7 +50,7 @@ REQUIRED_USE=" xv? ( X ) " -RDEPEND=" +COMMON_DEPEND=" !libav? ( >=media-video/ffmpeg-2.4.0:0=[encode?,threads,vaapi?,vdpau?] ) libav? ( >=media-video/libav-11:0=[encode?,threads,vaapi?,vdpau?] ) sys-libs/zlib @@ -104,14 +104,14 @@ RDEPEND=" xv? ( x11-libs/libXv ) ) " -DEPEND="${RDEPEND} +DEPEND="${COMMON_DEPEND} ${PYTHON_DEPS} >=dev-lang/perl-5.8 dev-python/docutils virtual/pkgconfig doc? ( dev-python/rst2pdf ) " -RDEPEND+=" +RDEPEND="${COMMON_DEPEND} selinux? ( sec-policy/selinux-mplayer ) " |