[arch-commits] Commit in srt/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Sun Mar 10 17:53:22 UTC 2019


    Date: Sunday, March 10, 2019 @ 17:53:21
  Author: heftig
Revision: 347590

1.3.2-1

Modified:
  srt/trunk/PKGBUILD

----------+
 PKGBUILD |   13 ++++---------
 1 file changed, 4 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-03-10 12:36:26 UTC (rev 347589)
+++ PKGBUILD	2019-03-10 17:53:21 UTC (rev 347590)
@@ -1,7 +1,7 @@
 # Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
 
 pkgname=srt
-pkgver=1.3.1
+pkgver=1.3.2
 pkgrel=1
 pkgdesc="Secure Reliable Transport library"
 url="https://www.srtalliance.org/"
@@ -9,7 +9,7 @@
 license=(MPL2)
 depends=(openssl)
 makedepends=(git cmake ninja)
-_commit=d6499ca374fe1bff5ccfd959786309b18a8e7388  # tags/v1.3.1
+_commit=89cb4786a444038461725c9044c31ae9405c2ba9  # tags/v1.3.2
 source=("git+https://github.com/Haivision/srt#commit=$_commit"
         no-rpath.diff)
 sha256sums=('SKIP'
@@ -21,20 +21,18 @@
 }
 
 prepare() {
-  mkdir build
   cd $pkgname
   patch -Np1 -i ../no-rpath.diff
 }
 
 build() {
-  cd build
-  cmake -G Ninja ../srt \
+  cmake -Hsrt -Bbuild -GNinja \
     -DCMAKE_INSTALL_PREFIX=/usr \
     -DCMAKE_INSTALL_BINDIR=bin \
     -DCMAKE_INSTALL_LIBDIR=lib \
     -DCMAKE_INSTALL_INCLUDEDIR=include \
     -DENABLE_TESTING=True
-  cmake --build .
+  cmake --build build
 }
 
 check() {
@@ -45,9 +43,6 @@
 package() {
   DESTDIR="$pkgdir" cmake --build build --target install
   rm "$pkgdir"/usr/bin/*-test
-
-  # Build tries this but fails when DESTDIR is set
-  ln -s srt-live-transmit "$pkgdir/usr/bin/stransmit"
 }
 
 # vim:set ts=2 sw=2:


More information about the arch-commits mailing list