1
0
Fork 0

Patch playback status support into np.

This uses the patch from https://github.com/delthas/libnp/pull/1.
main
Icedream 2024-01-22 02:16:23 +01:00
parent 52aa39e792
commit 67827c3754
Signed by: icedream
GPG Key ID: 468BBEEBB9EC6AEA
1 changed files with 3 additions and 0 deletions

View File

@ -41,11 +41,14 @@ fi
mkdir -p "$thirdparty_includes"
if [ ! -d "$thirdparty_includes/libnp" ]; then
wget -q -O libnp.zip https://github.com/delthas/libnp/archive/291aeb5d56d5b90f89ef8a271d0803a698488ca6.zip
wget -q -O libnp.1.patch https://github.com/delthas/libnp/pull/1.patch
srcdir="$(pwd)"
7z x libnp.zip 'libnp-291aeb5d56d5b90f89ef8a271d0803a698488ca6/*' -o"$thirdparty_includes"/
rm libnp.zip
mv "$thirdparty_includes/libnp-291aeb5d56d5b90f89ef8a271d0803a698488ca6" "$thirdparty_includes/libnp"
(
cd "$thirdparty_includes/libnp/"
patch -p1 -N -i "$srcdir/libnp.1.patch"
mkdir -p build
cd build
cmake \