2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-11-17 04:00:14 -07:00
repo/extra/mpv/build

34 lines
605 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 ..
2022-09-27 11:20:09 -06:00
export PATH="$PWD/dist/usr/bin:$PATH"
2021-08-22 09:37:53 -06:00
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"