2019-08-04 15:07:28 -06:00
|
|
|
#!/bin/sh -e
|
|
|
|
|
2019-10-14 14:06:07 -06:00
|
|
|
ln -s waf-2.0.18 waf
|
|
|
|
|
2021-08-22 09:37:53 -06:00
|
|
|
# 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
|
|
|
|
}
|
|
|
|
|
2019-08-04 15:07:28 -06:00
|
|
|
python waf configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--mandir=/usr/share/man \
|
|
|
|
--confdir=/etc/mpv \
|
2021-07-08 03:25:54 -06:00
|
|
|
--enable-alsa \
|
|
|
|
--enable-wayland \
|
|
|
|
--disable-x11
|
2019-08-04 15:07:28 -06:00
|
|
|
|
|
|
|
python waf build
|
|
|
|
python waf install --destdir="$1"
|
2021-07-11 19:02:05 -06:00
|
|
|
|
|
|
|
rm -rf \
|
|
|
|
"$1/usr/share/zsh" \
|
|
|
|
"$1/usr/share/bash-completion"
|