Skip to content
Snippets Groups Projects
Verified Commit 9078c864 authored by Jan Alexander Steffens (heftig)'s avatar Jan Alexander Steffens (heftig)
Browse files

1.5.2-1

parent 9d18ee74
No related branches found
Tags 1.5.2-1
No related merge requests found
# Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org> # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
pkgname=srt pkgname=srt
pkgver=1.5.1 pkgver=1.5.2
pkgrel=3 pkgrel=1
pkgdesc="Secure Reliable Transport library" pkgdesc="Secure Reliable Transport library"
url="https://www.srtalliance.org/" url="https://www.srtalliance.org/"
arch=(x86_64) arch=(x86_64)
license=(MPL2) license=(MPL2)
depends=(gcc-libs openssl) depends=(
makedepends=(git cmake ninja) gcc-libs
_commit=0bc3b03202b3159fc9b085b3ae6d66ec071c25d6 # tags/v1.5.1 openssl
)
makedepends=(
cmake
git
ninja
)
_commit=9448e26fcd7602098b4bf9cd7fe535136e89e10b # tags/v1.5.2
source=("git+https://github.com/Haivision/srt#commit=$_commit") source=("git+https://github.com/Haivision/srt#commit=$_commit")
b2sums=('SKIP') b2sums=('SKIP')
...@@ -23,11 +30,14 @@ prepare() { ...@@ -23,11 +30,14 @@ prepare() {
} }
build() { build() {
cmake -S srt -B build -G Ninja \ local cmake_options=(
-DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_PREFIX=/usr
-DCMAKE_BUILD_TYPE=None \ -DCMAKE_BUILD_TYPE=None
-DENABLE_STATIC=ON \ -DENABLE_STATIC=ON
-DENABLE_TESTING=ON -DENABLE_TESTING=ON
)
cmake -S srt -B build -G Ninja "${cmake_options[@]}"
cmake --build build cmake --build build
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment