From 7a01ee4e0eeb1e1baf52dcacf4e27057fccb5cf8 Mon Sep 17 00:00:00 2001 From: Andrew <51118083+ArionThinker@users.noreply.github.com> Date: Sun, 12 Nov 2023 19:34:45 +0200 Subject: [PATCH] cisco.com/libsrtp (#4044) * new file: projects/cisco.com/libsrtp/package.yml * openssl v1 --- projects/cisco.com/libsrtp/package.yml | 33 ++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 projects/cisco.com/libsrtp/package.yml diff --git a/projects/cisco.com/libsrtp/package.yml b/projects/cisco.com/libsrtp/package.yml new file mode 100644 index 00000000..36abdcdf --- /dev/null +++ b/projects/cisco.com/libsrtp/package.yml @@ -0,0 +1,33 @@ +distributable: + url: https://github.com/cisco/libsrtp/archive/v{{version}}.tar.gz + strip-components: 1 +versions: + github: cisco/libsrtp +dependencies: + openssl.org: ~1 +build: + dependencies: + freedesktop.org/pkg-config: '*' + linux: + gnu.org/gcc: '*' + script: + - ./configure $CONFIGURE_ARGS + - make --jobs {{ hw.concurrency }} test + - make --jobs {{ hw.concurrency }} shared_library + - make --jobs {{ hw.concurrency }} install + - mkdir -p {{prefix}}/libexec + # for test + - run: cp rtpw {{prefix}}/libexec/ + working-directory: test + env: + linux: + LDFLAGS: -fPIC + CONFIGURE_ARGS: + - --disable-debug + - --disable-dependency-tracking + - --prefix="{{prefix}}" + - --libdir="{{prefix}}/lib" + - --enable-openssl +test: + script: + - "{{prefix}}/libexec/rtpw -l | grep {{version}}"