Jan Alexander Steffens (heftig) pushed to branch main at Arch Linux / Packaging 
/ Packages / libsrtp


Commits:
4e75a7e7 by Jan Alexander Steffens (heftig) at 2025-03-18T04:50:02+01:00
1:2.7.0-1

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,6 +1,6 @@
 pkgbase = libsrtp
        pkgdesc = Library for SRTP (Secure Realtime Transport Protocol)
-       pkgver = 2.6.0
+       pkgver = 2.7.0
        pkgrel = 1
        epoch = 1
        url = https://github.com/cisco/libsrtp
@@ -11,9 +11,11 @@ pkgbase = libsrtp
        makedepends = git
        makedepends = libpcap
        makedepends = meson
+       depends = glibc
+       depends = nspr
        depends = nss
-       source = 
git+https://github.com/cisco/libsrtp#commit=fd08747fa6800b321d53e15feb34da12dc697dee
-       b2sums = SKIP
+       source = git+https://github.com/cisco/libsrtp#tag=v2.7.0
+       b2sums = 
4e72d8ddb6ff1056331377001b575e59973acf27ac8fcdfe5d08e4f44f3702012e8af7da9970de3a0e4643aa1139fcce4af3df3c31258ac8c5b35420b67aa9dd
 
 pkgname = libsrtp
        provides = libsrtp2.so


=====================================
PKGBUILD
=====================================
@@ -8,14 +8,18 @@ pkgname=(
   libsrtp
   libsrtp-docs
 )
-pkgver=2.6.0
+pkgver=2.7.0
 pkgrel=1
 epoch=1
 pkgdesc="Library for SRTP (Secure Realtime Transport Protocol)"
 url="https://github.com/cisco/libsrtp";
 arch=(x86_64)
 license=(BSD-3-Clause)
-depends=(nss)
+depends=(
+  glibc
+  nspr
+  nss
+)
 makedepends=(
   doxygen
   git
@@ -23,26 +27,15 @@ makedepends=(
   meson
 )
 checkdepends=(procps-ng)
-_commit=fd08747fa6800b321d53e15feb34da12dc697dee  # tags/v2
-source=("git+https://github.com/cisco/libsrtp#commit=$_commit";)
-b2sums=('SKIP')
-
-pkgver() {
-  cd libsrtp
-  git describe --tags | sed 's/^v//;s/[^-]*-g/r&/;s/-/+/g'
-}
+source=("git+https://github.com/cisco/libsrtp#tag=v$pkgver";)
+b2sums=('4e72d8ddb6ff1056331377001b575e59973acf27ac8fcdfe5d08e4f44f3702012e8af7da9970de3a0e4643aa1139fcce4af3df3c31258ac8c5b35420b67aa9dd')
 
 prepare() {
   cd libsrtp
-
-  # Fixup pkgver: There are proper tags like v2.4.4
-  # but also "moving tags" like v2 and v2.4 that aren't stable
-  git tag | grep -Pv '^v\d+\.\d+\.\d+$' | xargs git tag -d
 }
 
 build() {
   local meson_options=(
-    --buildtype release
     -D crypto-library=nss
     -D crypto-library-kdf=disabled
   )



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/libsrtp/-/commit/4e75a7e70a7ae81e3addac8a0a8f2f773da24bdf

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/libsrtp/-/commit/4e75a7e70a7ae81e3addac8a0a8f2f773da24bdf
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to