25 lines
654 B
Plaintext
25 lines
654 B
Plaintext
# Description: Secure Realtime transport protocol library
|
|
# URL: https://github.com/cisco/libsrtp
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
# Depends on: meson ninja nss
|
|
|
|
name=libsrtp
|
|
version=2.4.2
|
|
release=1
|
|
source=(https://github.com/cisco/libsrtp/archive/v$version/$name-$version.tar.gz)
|
|
|
|
build() {
|
|
meson setup $name-$version build $PKGMK_SRTP \
|
|
--prefix=/usr \
|
|
--buildtype=plain \
|
|
--wrap-mode nodownload \
|
|
--auto-features disabled \
|
|
-D b_lto=true \
|
|
-D b_pie=true \
|
|
-D crypto-library=nss \
|
|
-D crypto-library-kdf=disabled \
|
|
-D doc=disabled
|
|
meson compile -C build
|
|
DESTDIR=$PKG meson install -C build
|
|
}
|