42 lines
1.4 KiB
Bash
42 lines
1.4 KiB
Bash
# Template file for 'mediastreamer'
|
|
pkgname=mediastreamer
|
|
version=5.3.79
|
|
revision=2
|
|
build_style=cmake
|
|
configure_args="-DENABLE_STRICT=0 -DENABLE_UNIT_TESTS=0 -DBUILD_SHARED_LIBS=TRUE
|
|
-DENABLE_QT_GL=TRUE"
|
|
hostmakedepends="python3 qt5-qmake qt5-host-tools"
|
|
makedepends="bzrtp-devel ffmpeg-devel glew-devel libXv-devel libsrtp-devel
|
|
libupnp-devel libvpx-devel mbedtls-devel opus-devel ortp-devel pulseaudio-devel
|
|
libtheora-devel speex-devel v4l-utils-devel bcg729-devel bcmatroska2-devel libgsm-devel
|
|
zxing-cpp-devel libaom-devel qt5-devel qt5-declarative-devel"
|
|
short_desc="Powerful and lightweight streaming engine for voice/video telephony"
|
|
maintainer="John <me@johnnynator.dev>"
|
|
license="AGPL-3.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=05fbdb71f4ad309458a20a93172451f0c6c26260107f6f5d60da2481f2711cc4
|
|
|
|
post_install() {
|
|
vlicense LICENSE.txt
|
|
rm -r "${DESTDIR}/usr/include/OpenGL"
|
|
}
|
|
|
|
mediastreamer-plugin-msqogl_package() {
|
|
short_desc+=" - QT OpenGL Render Plugin"
|
|
pkg_install() {
|
|
vmove usr/lib/mediastreamer/plugins/libmsqogl.so
|
|
}
|
|
}
|
|
|
|
mediastreamer-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/bin
|
|
vmove usr/include
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/lib/cmake
|
|
}
|
|
}
|