repo/extra/mpv/build

34 lines
603 B
Plaintext
Raw Normal View History

2019-08-04 15:07:28 -06:00
#!/bin/sh -e
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
}
2022-04-20 03:44:40 -06:00
meson \
2019-08-04 15:07:28 -06:00
--prefix=/usr \
2022-04-20 03:44:40 -06:00
-Dalsa=enabled \
2022-09-10 01:03:14 -06:00
-Dlibmpv=true \
2022-04-20 03:44:40 -06:00
-Dwayland=enabled \
-Dx11=disabled \
. output
2019-08-04 15:07:28 -06:00
2022-04-20 03:44:40 -06:00
ninja -C output
ninja -C output install
rm -rf \
"$1/usr/share/zsh" \
"$1/usr/share/bash-completion"