Gentoo Archives: gentoo-commits

From: Mikle Kolyada <zlogene@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/mpv/
Date: Mon, 27 Jan 2020 13:32:03
Message-Id: 1580131913.a218c086e88a7591ebf78b54e3be3996c9c73b68.zlogene@gentoo
1 commit: a218c086e88a7591ebf78b54e3be3996c9c73b68
2 Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jan 27 13:29:32 2020 +0000
4 Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 27 13:31:53 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a218c086
7
8 media-video/mpv: sync live ebuild
9
10 Package-Manager: Portage-2.3.84, Repoman-2.3.20
11 Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
12
13 media-video/mpv/mpv-9999.ebuild | 10 ++++++++--
14 1 file changed, 8 insertions(+), 2 deletions(-)
15
16 diff --git a/media-video/mpv/mpv-9999.ebuild b/media-video/mpv/mpv-9999.ebuild
17 index 61db0d2cd47..97c259c1525 100644
18 --- a/media-video/mpv/mpv-9999.ebuild
19 +++ b/media-video/mpv/mpv-9999.ebuild
20 @@ -8,7 +8,7 @@ PYTHON_REQ_USE='threads(+)'
21
22 WAF_PV=2.0.9
23
24 -inherit eapi7-ver flag-o-matic gnome2-utils pax-utils python-r1 toolchain-funcs waf-utils xdg-utils
25 +inherit bash-completion-r1 eapi7-ver flag-o-matic gnome2-utils pax-utils python-r1 toolchain-funcs waf-utils xdg-utils
26
27 DESCRIPTION="Media player based on MPlayer and mplayer2"
28 HOMEPAGE="https://mpv.io/ https://github.com/mpv-player/mpv"
29 @@ -61,7 +61,7 @@ RESTRICT="!test? ( test )"
30 COMMON_DEPEND="
31 >=media-video/ffmpeg-4.0:0=[encode,threads,vaapi?,vdpau?]
32 alsa? ( >=media-libs/alsa-lib-1.0.18 )
33 - archive? ( >=app-arch/libarchive-3.0.0:= )
34 + archive? ( >=app-arch/libarchive-3.4.0:= )
35 bluray? ( >=media-libs/libbluray-0.3.0:= )
36 cdda? ( dev-libs/libcdio-paranoia )
37 drm? ( x11-libs/libdrm )
38 @@ -233,6 +233,7 @@ src_configure() {
39 # HWaccels:
40 # Automagic Video Toolbox HW acceleration. See Gentoo bug 577332.
41 $(use_enable cuda cuda-hwaccel)
42 + $(use_enable cuda cuda-interop)
43
44 # TV features:
45 $(use_enable dvb dvbin)
46 @@ -262,6 +263,11 @@ src_configure() {
47 --disable-egl-angle-win32
48 )
49
50 + mywafargs+=(
51 + --bashdir="$(get_bashcompdir)"
52 + --zshdir="${EPREFIX}"/usr/share/zsh/site-functions
53 +)
54 +
55 # Create reproducible non-live builds.
56 [[ ${PV} != *9999* ]] && mywafargs+=(--disable-build-date)