summaryrefslogtreecommitdiff
path: root/libsrtp
diff options
context:
space:
mode:
authorTim Biermann <tbier@posteo.de>2021-08-15 16:15:30 +0200
committerTim Biermann <tbier@posteo.de>2021-08-15 16:15:30 +0200
commita8f20d8ea0be3c6241d35463f34d0f04f0993d49 (patch)
tree9aed91ec841c40b1848d3b34d69f00388ad40694 /libsrtp
parentccfa38f260be92896572da36493cd4d2116d7293 (diff)
downloadcontrib-a8f20d8ea0be3c6241d35463f34d0f04f0993d49.tar.gz
contrib-a8f20d8ea0be3c6241d35463f34d0f04f0993d49.tar.xz
[notify] libsrtp: build now depends on meson/ninja
Diffstat (limited to 'libsrtp')
-rw-r--r--libsrtp/.footprint3
-rw-r--r--libsrtp/.signature7
-rw-r--r--libsrtp/Pkgfile25
3 files changed, 20 insertions, 15 deletions
diff --git a/libsrtp/.footprint b/libsrtp/.footprint
index 8fcedf22e..2fdcd3a1c 100644
--- a/libsrtp/.footprint
+++ b/libsrtp/.footprint
@@ -6,6 +6,7 @@ drwxr-xr-x root/root usr/include/srtp2/
-rw-r--r-- root/root usr/include/srtp2/crypto_types.h
-rw-r--r-- root/root usr/include/srtp2/srtp.h
drwxr-xr-x root/root usr/lib/
--rw-r--r-- root/root usr/lib/libsrtp2.a
+lrwxrwxrwx root/root usr/lib/libsrtp2.so -> libsrtp2.so.1
+-rwxr-xr-x root/root usr/lib/libsrtp2.so.1
drwxr-xr-x root/root usr/lib/pkgconfig/
-rw-r--r-- root/root usr/lib/pkgconfig/libsrtp2.pc
diff --git a/libsrtp/.signature b/libsrtp/.signature
index ed3e1511c..ec89d64d1 100644
--- a/libsrtp/.signature
+++ b/libsrtp/.signature
@@ -1,6 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
-RWSagIOpLGJF3/qb6I9fKArOW0eEtjZoGUsI6w0xTwyS3DxqK0CbvJ3ncy8vm2bGePVQ7bq/UjQsVdELF+tmeegVcBPEN+aayQ0=
-SHA256 (Pkgfile) = 2e114f4ba35486a0cf5dcb26f4096b75a9941fdae272ba77215955e30c8ebe1f
-SHA256 (.footprint) = 91295a1aca3241912bd2cf2fb57bdf10b3f3d53025e35c879a35d70ca34f09a3
+RWSagIOpLGJF37vH3Ol1EDAgUxTILBbNGUuJcoIea3udUwYv8xVFTe0Nc7mhR+/FN2mWD4kJl+FmMdx5gJe0zvJipLSTEeBkUQQ=
+SHA256 (Pkgfile) = c765a67d36308190264b80fbb088cafef35e155af4f362b292e1ae920cdbeec3
+SHA256 (.footprint) = e5352f5862a3e8dc5a07da90d156d5d4d54345fcf06b76b25d3a3cc556da7ee8
SHA256 (libsrtp-2.4.0.tar.gz) = 713c5c1dc740707422307f39834c0b0fbb76769168d87e92c438a3cca8233d3d
-SHA256 (libsrtp-2.3.0-shared-fix.patch) = d996cb9eae1f8d40b2394ebc937616470ae2d67bd075578a4d473e7c2b918358
diff --git a/libsrtp/Pkgfile b/libsrtp/Pkgfile
index 4b05e2a89..1821f7445 100644
--- a/libsrtp/Pkgfile
+++ b/libsrtp/Pkgfile
@@ -1,20 +1,25 @@
# Description: Secure Realtime transport protocol library
# URL: https://github.com/cisco/libsrtp
# Maintainer: Tim Biermann, tbier at posteo dot de
+# Depends on: meson ninja
+# Optional: clang
name=libsrtp
version=2.4.0
-release=1
-source=(https://github.com/cisco/libsrtp/archive/v$version/$name-$version.tar.gz
- libsrtp-2.3.0-shared-fix.patch)
+release=2
+source=(https://github.com/cisco/libsrtp/archive/v$version/$name-$version.tar.gz)
build() {
- cd $name-$version
- patch -p1 -i $SRC/libsrtp-2.3.0-shared-fix.patch
- CFLAGS+=' -fcommon' \
- ./configure \
+ prt-get isinst clang && PKGMK_SRTP+=' -D fuzzer=enabled'
+ meson setup $name-$version build $PKGMK_SRTP \
--prefix=/usr \
- --enable-openssl
- make
- make DESTDIR=$PKG install
+ --buildtype=plain \
+ --wrap-mode nodownload \
+ --auto-features disabled \
+ -D b_lto=true \
+ -D b_pie=true \
+ -D crypto-library=openssl \
+ -D doc=disabled
+ meson compile -C build
+ DESTDIR=$PKG meson install -C build
}

Generated by cgit