void-packages/srcpkgs/mediastreamer/template
Đoàn Trần Công Danh 9978e00086 srcpkgs: remove patch_args=-Np1 en-mass
git grep -l '^patch_args=.*p1' 'srcpkgs/*/template'  |
	xargs -r sed -i '/^patch_args=/d'
2021-06-20 13:17:29 +07:00

29 lines
1 KiB
Bash

# Template file for 'mediastreamer'
pkgname=mediastreamer
version=4.4.17
revision=1
wrksrc="mediastreamer2-${version}"
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 <me@johnnynator.dev>"
license="GPL-2.0-or-later"
homepage="https://www.linphone.org/technical-corner/mediastreamer2"
distfiles="https://gitlab.linphone.org/BC/public/mediastreamer2/-/archive/${version}/mediastreamer2-${version}.tar.gz"
checksum=4f67262621a93349651cfb0b51a2157623bf7758126d070e1c122bff58c7d5b4
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
}
}