mirror of
https://github.com/ivabus/pantry
synced 2024-11-30 04:05:06 +03:00
48 lines
1.1 KiB
YAML
48 lines
1.1 KiB
YAML
|
distributable:
|
||
|
url: https://github.com/Haivision/srt/archive/v{{version}}.tar.gz
|
||
|
strip-components: 1
|
||
|
|
||
|
display-name: srt
|
||
|
|
||
|
versions:
|
||
|
github: Haivision/srt
|
||
|
|
||
|
dependencies:
|
||
|
openssl.org: '*'
|
||
|
|
||
|
build:
|
||
|
dependencies:
|
||
|
tea.xyz/gx/cc: c99
|
||
|
tea.xyz/gx/make: '*'
|
||
|
cmake.org: '*'
|
||
|
freedesktop.org/pkg-config: '*'
|
||
|
|
||
|
script:
|
||
|
- cmake . $ARGS
|
||
|
- make --jobs {{ hw.concurrency }} install
|
||
|
env:
|
||
|
ARGS:
|
||
|
- -DWITH_OPENSSL_INCLUDEDIR={{deps.openssl.prefix}}/include
|
||
|
- -DWITH_OPENSSL_LIBDIR={{deps.openssl.prefix}}/lib
|
||
|
- -DCMAKE_INSTALL_BINDIR=bin
|
||
|
- -DCMAKE_INSTALL_LIBDIR=lib
|
||
|
- -DCMAKE_INSTALL_INCLUDEDIR=include
|
||
|
- -DCMAKE_INSTALL_PREFIX={{prefix}}
|
||
|
- -DCMAKE_BUILD_TYPE=Release
|
||
|
- -DCMAKE_FIND_FRAMEWORK=LAST
|
||
|
- -DCMAKE_VERBOSE_MAKEFILE=ON
|
||
|
- -Wno-dev
|
||
|
- -DBUILD_TESTING=OFF
|
||
|
|
||
|
provides:
|
||
|
- bin/srt-ffplay
|
||
|
- bin/srt-file-transmit
|
||
|
- bin/srt-live-transmit
|
||
|
- bin/srt-tunnel
|
||
|
|
||
|
test:
|
||
|
dependencies:
|
||
|
freedesktop.org/pkg-config: '*'
|
||
|
script:
|
||
|
- pkg-config --modversion srt | grep {{version}}
|
||
|
- pkg-config --modversion haisrt | grep {{version}}
|