pantry/projects/code.videolan.org/rist/librist/package.yml
2023-04-15 19:28:30 -04:00

32 lines
651 B
YAML

distributable:
url: https://code.videolan.org/rist/librist/-/archive/v{{version}}/librist-v{{version}}.tar.gz
strip-components: 1
versions:
- 0.2.7
build:
dependencies:
tea.xyz/gx/cc: c99
# FIXME: https://github.com/teaxyz/cli/issues/535
# mesonbuild.com: '>=0.47<1'
mesonbuild.com: '>=0.47'
ninja-build.org: 1
working-directory:
build
script: |
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