diff --git a/extra/mpv/build b/extra/mpv/build index c49cf646..701530ec 100755 --- a/extra/mpv/build +++ b/extra/mpv/build @@ -2,6 +2,23 @@ ln -s waf-2.0.18 waf +# Setup docutils to generate manual pages. +{ + cd docutils + + python3 setup.py build + python3 setup.py install \ + --root="$PWD/../dist" + + cd ../dist/usr/lib/python*/site-packages + + PYTHONPATH=$PWD:$(python -c "import sys;print(':'.join(sys.path))") + + cd -; cd .. + export PATH=$PWD/dist/usr/bin:$PATH + export PYTHONPATH +} + python waf configure \ --prefix=/usr \ --mandir=/usr/share/man \ diff --git a/extra/mpv/checksums b/extra/mpv/checksums index ba4d1cf2..926ecb91 100644 --- a/extra/mpv/checksums +++ b/extra/mpv/checksums @@ -1,2 +1,3 @@ 100a116b9f23bdcda3a596e9f26be3a69f166a4f1d00910d1789b6571c46f3a9 2e0cf83a63843da127610420cef1d3126f1187d8e572b6b3a28052fc2250d4bf +686577d2e4c32380bb50cbb22f575ed742d58168cee37e99117a854bcd88f125 diff --git a/extra/mpv/sources b/extra/mpv/sources index 2b70bd31..b08304b1 100644 --- a/extra/mpv/sources +++ b/extra/mpv/sources @@ -1,2 +1,3 @@ https://github.com/mpv-player/mpv/archive/vVERSION.tar.gz https://waf.io/waf-2.0.18 +https://files.pythonhosted.org/packages/source/d/docutils/docutils-0.17.1.tar.gz docutils