30 lines
1.0 KiB
Bash
30 lines
1.0 KiB
Bash
# Template file for 'mediastreamer'
|
|
pkgname=mediastreamer
|
|
version=4.4.0
|
|
revision=2
|
|
build_style=cmake
|
|
wrksrc="mediastreamer2-${version}"
|
|
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=f986fba8bb23db60441707c958e8d8cb41d56939b42ef4e47de1eeed62522eee
|
|
|
|
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
|
|
}
|
|
}
|