2019-08-07 12:18:00 +02:00
|
|
|
# Description: Secure Realtime transport protocol library
|
|
|
|
# URL: https://github.com/cisco/libsrtp
|
|
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
2021-09-09 20:42:09 +02:00
|
|
|
# Depends on: meson ninja nss
|
2019-08-07 19:45:25 +10:00
|
|
|
|
|
|
|
name=libsrtp
|
2021-09-20 23:18:10 +02:00
|
|
|
version=2.4.2
|
|
|
|
release=1
|
2021-08-15 16:15:30 +02:00
|
|
|
source=(https://github.com/cisco/libsrtp/archive/v$version/$name-$version.tar.gz)
|
2019-08-07 19:45:25 +10:00
|
|
|
|
|
|
|
build() {
|
2021-08-15 16:15:30 +02:00
|
|
|
meson setup $name-$version build $PKGMK_SRTP \
|
2019-08-07 12:18:00 +02:00
|
|
|
--prefix=/usr \
|
2021-08-15 16:15:30 +02:00
|
|
|
--buildtype=plain \
|
|
|
|
--wrap-mode nodownload \
|
|
|
|
--auto-features disabled \
|
|
|
|
-D b_lto=true \
|
|
|
|
-D b_pie=true \
|
2021-09-09 20:40:22 +02:00
|
|
|
-D crypto-library=nss \
|
|
|
|
-D crypto-library-kdf=disabled \
|
2021-08-15 16:15:30 +02:00
|
|
|
-D doc=disabled
|
|
|
|
meson compile -C build
|
|
|
|
DESTDIR=$PKG meson install -C build
|
2019-08-07 19:45:25 +10:00
|
|
|
}
|