# Template file for 'ortp'
pkgname=ortp
version=1.0.2
revision=1
build_style=cmake
configure_args="-DENABLE_STATIC=OFF"
makedepends="bctoolbox-devel"
short_desc="Real-Time Transport Protocol (RFC 3550) library"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="GPL-2.0-only"
homepage="https://www.linphone.org/technical-corner/ortp/overview"
distfiles="https://github.com/BelledonneCommunications/ortp/archive/${version}.tar.gz"
checksum=f8069cbb0c9679545e52d4080e07b4c2bea049f2571100332c90539490240d76

CFLAGS="-Wno-stringop-truncation"

ortp-devel_package() {
	depends="ortp-${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove usr/share/oRTP/cmake
		vmove "usr/lib/*.so"
	}
}
