2023-01-14 21:17:01 +03:00
|
|
|
distributable:
|
|
|
|
url: https://code.videolan.org/rist/librist/-/archive/v{{version}}/librist-v{{version}}.tar.gz
|
|
|
|
strip-components: 1
|
|
|
|
|
|
|
|
versions:
|
2023-05-01 20:14:59 +03:00
|
|
|
gitlab: code.videolan.org:rist/librist
|
2023-01-14 21:17:01 +03:00
|
|
|
|
|
|
|
build:
|
|
|
|
dependencies:
|
2023-05-01 20:14:59 +03:00
|
|
|
mesonbuild.com: '>=0.47<1'
|
2023-01-14 21:17:01 +03:00
|
|
|
ninja-build.org: 1
|
|
|
|
working-directory:
|
|
|
|
build
|
2023-09-05 21:24:24 +03:00
|
|
|
script:
|
|
|
|
# POSIX compliance issue between the code and the environment
|
|
|
|
- run: |
|
|
|
|
if test "{{hw.platform}}" = "darwin"; then
|
|
|
|
sed -i.bak -e 's/generation = (buf\.st_mtim\.tv_sec << 32).*/generation = buf.st_mtime << 32;/' srp_shared.c
|
|
|
|
rm srp_shared.c.bak
|
|
|
|
fi
|
|
|
|
working-directory: ../tools
|
|
|
|
if: ^0.2.8
|
|
|
|
- meson .. --prefix={{prefix}} --libdir={{prefix}}/lib --buildtype=release
|
|
|
|
- ninja -v
|
|
|
|
- ninja install
|
2023-01-14 21:17:01 +03:00
|
|
|
env:
|
|
|
|
CC: clang
|
|
|
|
|
|
|
|
test:
|
|
|
|
script: |
|
|
|
|
ristsrppasswd test test
|
|
|
|
|
|
|
|
provides:
|
|
|
|
- bin/rist2rist
|
|
|
|
- bin/ristreceiver
|
|
|
|
- bin/ristsender
|
|
|
|
- bin/ristsrppasswd
|