mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 10:35:17 +03:00
95ad8bea0b
closes #3228
39 lines
942 B
YAML
39 lines
942 B
YAML
distributable:
|
|
url: https://code.videolan.org/rist/librist/-/archive/v{{version}}/librist-v{{version}}.tar.gz
|
|
strip-components: 1
|
|
|
|
versions:
|
|
gitlab: code.videolan.org:rist/librist
|
|
|
|
build:
|
|
dependencies:
|
|
tea.xyz/gx/cc: c99
|
|
mesonbuild.com: '>=0.47<1'
|
|
ninja-build.org: 1
|
|
working-directory:
|
|
build
|
|
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
|
|
env:
|
|
CC: clang
|
|
|
|
test:
|
|
script: |
|
|
ristsrppasswd test test
|
|
|
|
provides:
|
|
- bin/rist2rist
|
|
- bin/ristreceiver
|
|
- bin/ristsender
|
|
- bin/ristsrppasswd
|