mpv: Use rst2man package instead of pip install
authorFredrik Fornwall <fredrik@fornwall.net>
Thu, 22 Sep 2016 18:56:09 +0000 (20:56 +0200)
committerFredrik Fornwall <fredrik@fornwall.net>
Thu, 22 Sep 2016 18:56:09 +0000 (20:56 +0200)
packages/mpv/build.sh
scripts/setup-ubuntu.sh

index fb8ac5f..e7542a1 100644 (file)
@@ -8,10 +8,6 @@ TERMUX_PKG_DEPENDS="ffmpeg, openal-soft"
 termux_step_make_install () {
        cd $TERMUX_PKG_SRCDIR
 
-       # Setup rst2man for man page generation of mpv.1:
-       pip install docutils
-       export RST2MAN=$HOME/.local/bin/rst2man.py
-
        ./bootstrap.py
 
        ./waf configure \
index 82a9e1f..3f921bd 100755 (executable)
@@ -23,6 +23,7 @@ PACKAGES="$PACKAGES unzip"
 PACKAGES="$PACKAGES m4"
 PACKAGES="$PACKAGES openjdk-8-jdk"             # Used for android-sdk.
 PACKAGES="$PACKAGES pkg-config"
+PACKAGES="$PACKAGES python-docutils"           # For rst2man, used by mpv.
 PACKAGES="$PACKAGES scons"
 PACKAGES="$PACKAGES texinfo"
 PACKAGES="$PACKAGES xmlto"