pcre2: bump to 10.40
[kiss-trunc88.git] / mpv / build
blobc2e494b81c908694a5a9ed657d81b7aed1dcb725
1 #!/bin/sh -e
3 # Setup docutils to generate manual pages.
5 cd docutils
7 python3 setup.py build
8 python3 setup.py install \
9 --root="$PWD/../dist"
11 cd ../dist/usr/lib/python*/site-packages
13 PYTHONPATH=$PWD:$(python -c "import sys;print(':'.join(sys.path))")
15 cd -; cd ..
16 export PATH=$PWD/dist/usr/bin:$PATH
17 export PYTHONPATH
20 export DESTDIR="$1"
22 meson \
23 --prefix=/usr \
24 --mandir=/usr/share/man \
25 --sysconfdir=/etc \
26 -Dbuildtype=plain \
27 -Ddebug=false \
28 -Dstrip=true \
29 -Db_ndebug=true \
30 -Dalsa=enabled \
31 -Dpulse=disabled \
32 -Dlibmpv=true \
33 . build
35 ninja -C build
36 ninja -C build install
38 rm -rf \
39 "$1/usr/share/zsh" \
40 "$1/usr/share/bash-completion" \
41 "$1/usr/share/applications"