2022-05-29 20:03:11 +02:00
|
|
|
# Template file for 'srt'
|
|
|
|
pkgname=srt
|
2022-06-15 13:41:31 +02:00
|
|
|
version=1.5.0
|
2022-05-29 20:03:11 +02:00
|
|
|
revision=1
|
|
|
|
build_style=cmake
|
|
|
|
configure_args="
|
|
|
|
-DCMAKE_INSTALL_BINDIR=bin
|
|
|
|
-DCMAKE_INSTALL_INCLUDEDIR=include"
|
|
|
|
hostmakedepends="pkg-config"
|
|
|
|
makedepends="openssl-devel"
|
|
|
|
short_desc="Secure, Reliable, Transport"
|
|
|
|
maintainer="Duncaen <duncaen@voidlinux.org>"
|
|
|
|
license="MPL-2.0"
|
|
|
|
homepage="https://github.com/Haivision/srt"
|
|
|
|
distfiles="https://github.com/Haivision/srt/archive/refs/tags/v${version}.tar.gz"
|
2022-06-15 13:41:31 +02:00
|
|
|
checksum=99e3625a6285b3b429af26abb1ec0a4bd0072db144bc4d617a83154d99a5dd1e
|
2022-05-29 20:03:11 +02:00
|
|
|
|
2022-05-29 20:24:17 +02:00
|
|
|
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
|
|
|
makedepends+=" libatomic-devel"
|
|
|
|
fi
|
|
|
|
|
2022-05-29 20:03:11 +02:00
|
|
|
libsrt_package() {
|
|
|
|
depends="libsrt>=${version}_${revision}"
|
|
|
|
short_desc+=" - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/lib/*.so.*"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
srt-devel_package() {
|
|
|
|
depends="libsrt>=${version}_${revision}"
|
|
|
|
short_desc+=" - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove "usr/lib/*.a"
|
|
|
|
vmove "usr/lib/*.so"
|
|
|
|
}
|
|
|
|
}
|