Building html doc only needs dev-python/docutils which is already a mandatory dependency. Currently have to install rst2pdf and get the pdf if you only want the html. Suggest even always installing mpv.html - it's only one extra file in /usr/share/doc/{PF} (and hopefully html subdirectory, haven't checked where it actually goes - happy to experiment if it would help).
Sounds legit. I'll do it in the next couple of days.
Thanks. No hurry. I realised the lack of html subdirectory is my fault (I submitted the request for building the html file). I'll see if I can get htmldir support added: https://github.com/mpv-player/mpv/pull/3369
Created attachment 441624 [details, diff] mpv-html.patch (In reply to Chris Mayo from comment #2) > Thanks. No hurry. > > I realised the lack of html subdirectory is my fault (I submitted the > request for building the html file). I'll see if I can get htmldir support > added: > https://github.com/mpv-player/mpv/pull/3369 Having htmldir option would be very nice. Thanks for creating the PR. I'd like to wait till it's merged and then backport the patch. In the meantime here's a sed-based solution that's less elegant, but works.
Upstream merged the required changes several hours ago. I'll backport them and create a PR for Gentoo tomorrow.
Gentoo PR: https://github.com/gentoo/gentoo/pull/1987
commit 82db6639b4857db498bdb374e1c5b9e4b4026ee7 (HEAD -> master, origin/master, origin/HEAD) Author: Ilya Tumaykin <itumaykin@gmail.com> AuthorDate: Sun Jul 31 14:29:49 2016 +0300 Commit: Patrice Clement <monsieurp@gentoo.org> CommitDate: Sun Aug 7 22:37:00 2016 +0200 media-video/mpv: always install HTML doc in 0.18.1 wrt bug 589702 Gentoo-Bug: https://bugs.gentoo.org/589702 Closes: https://github.com/gentoo/gentoo/pull/1987 Package-Manager: portage-2.3.0 Signed-off-by: Patrice Clement <monsieurp@gentoo.org> .../0.18.1/mpv-0.18.1-add-htmldir-option.patch | 34 +++ media-video/mpv/mpv-0.18.1-r1.ebuild | 331 +++++++++++++++++++++ media-video/mpv/mpv-0.18.1.ebuild | 329 -------------------- 3 files changed, 365 insertions(+), 329 deletions(-) create mode 100644 media-video/mpv/files/0.18.1/mpv-0.18.1-add-htmldir-option.patch create mode 100644 media-video/mpv/mpv-0.18.1-r1.ebuild delete mode 100644 media-video/mpv/mpv-0.18.1.ebuild Commited, thanks!