summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikle Kolyada <zlogene@gentoo.org>2020-01-27 16:29:32 +0300
committerMikle Kolyada <zlogene@gentoo.org>2020-01-27 16:31:53 +0300
commita218c086e88a7591ebf78b54e3be3996c9c73b68 (patch)
tree003828ac819862b04d435c368179ad0a486af8cf /media-video
parentmedia-video/mpv: Version bump (v0.32.0) (diff)
downloadgentoo-a218c086e88a7591ebf78b54e3be3996c9c73b68.tar.gz
gentoo-a218c086e88a7591ebf78b54e3be3996c9c73b68.tar.bz2
gentoo-a218c086e88a7591ebf78b54e3be3996c9c73b68.zip
media-video/mpv: sync live ebuild
Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
Diffstat (limited to 'media-video')
-rw-r--r--media-video/mpv/mpv-9999.ebuild10
1 files changed, 8 insertions, 2 deletions
diff --git a/media-video/mpv/mpv-9999.ebuild b/media-video/mpv/mpv-9999.ebuild
index 61db0d2cd470..97c259c15254 100644
--- a/media-video/mpv/mpv-9999.ebuild
+++ b/media-video/mpv/mpv-9999.ebuild
@@ -8,7 +8,7 @@ PYTHON_REQ_USE='threads(+)'
WAF_PV=2.0.9
-inherit eapi7-ver flag-o-matic gnome2-utils pax-utils python-r1 toolchain-funcs waf-utils xdg-utils
+inherit bash-completion-r1 eapi7-ver flag-o-matic gnome2-utils pax-utils python-r1 toolchain-funcs waf-utils xdg-utils
DESCRIPTION="Media player based on MPlayer and mplayer2"
HOMEPAGE="https://mpv.io/ https://github.com/mpv-player/mpv"
@@ -61,7 +61,7 @@ RESTRICT="!test? ( test )"
COMMON_DEPEND="
>=media-video/ffmpeg-4.0:0=[encode,threads,vaapi?,vdpau?]
alsa? ( >=media-libs/alsa-lib-1.0.18 )
- archive? ( >=app-arch/libarchive-3.0.0:= )
+ archive? ( >=app-arch/libarchive-3.4.0:= )
bluray? ( >=media-libs/libbluray-0.3.0:= )
cdda? ( dev-libs/libcdio-paranoia )
drm? ( x11-libs/libdrm )
@@ -233,6 +233,7 @@ src_configure() {
# HWaccels:
# Automagic Video Toolbox HW acceleration. See Gentoo bug 577332.
$(use_enable cuda cuda-hwaccel)
+ $(use_enable cuda cuda-interop)
# TV features:
$(use_enable dvb dvbin)
@@ -262,6 +263,11 @@ src_configure() {
--disable-egl-angle-win32
)
+ mywafargs+=(
+ --bashdir="$(get_bashcompdir)"
+ --zshdir="${EPREFIX}"/usr/share/zsh/site-functions
+)
+
# Create reproducible non-live builds.
[[ ${PV} != *9999* ]] && mywafargs+=(--disable-build-date)