void-packages/srcpkgs/mediastreamer/template

29 lines
1.0 KiB
Bash

# Template file for 'mediastreamer'
pkgname=mediastreamer
version=2.16.1
revision=1
build_style="cmake"
configure_args="-DENABLE_STRICT=0 -DENABLE_UNIT_TESTS=0"
hostmakedepends="python"
makedepends="bzrtp-devel ffmpeg-devel glew-devel libXv-devel libsrtp-devel
libupnp-devel libvpx-devel mbedtls-devel opus-devel ortp-devel pulseaudio-devel
speex-devel v4l-utils-devel"
short_desc="Powerful and lightweight streaming engine for voice/video telephony"
maintainer="John <johnz@posteo.net>"
license="GPL-2.0-or-later"
homepage="https://www.linphone.org/technical-corner/mediastreamer2/overview"
distfiles="https://www.linphone.org/releases/sources/mediastreamer/mediastreamer-${version}.tar.gz"
checksum=33351f9409e229a00aaf831930916e1934d8e972773e95f7b7177c9e4cc61772
mediastreamer-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/bin
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/share/Mediastreamer2/cmake
}
}