1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#!/bin/sh # This script returns whether libmpv is to be built. set -e BUILD="$(pwd)" USER_OPTS="$@" if test -f "$BUILD"/mpv_options ; then if cat "$BUILD"/mpv_options | grep -e '--enable-libmpv' > /dev/null ; then exit 0 fi fi exit 1