2022-01-03 14:30:03 +01:00
|
|
|
# Description: Secure Realtime transport protocol library
|
2019-08-07 12:18:00 +02:00
|
|
|
# URL: https://github.com/cisco/libsrtp
|
|
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
2022-01-03 14:30:03 +01:00
|
|
|
# Depends on: nss
|
2019-08-07 19:45:25 +10:00
|
|
|
|
|
|
|
name=libsrtp
|
2023-02-02 22:08:58 +01:00
|
|
|
version=2.5.0
|
2021-09-20 23:18:10 +02:00
|
|
|
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_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
|
|
|
}
|