# Template file for 'bento4'
pkgname=bento4
version=1.6.0+641
revision=1
build_style=cmake
short_desc="Full-featured MP4 format, MPEG DASH, HLS, CMAF SDK and tools"
maintainer="hazen2215 <haz@disroot.org>"
license="GPL-2.0-only"
homepage="https://www.bento4.com/"
distfiles="https://github.com/axiomatic-systems/Bento4/archive/v${version/+/-}.tar.gz"
checksum=e6575877708526e399cff752b4ee23cb1e2ac32fb251e2ca0a1e8d691fd172a7
conflicts="mpeg4ip>=0"

bento4-devel_package() {
	short_desc+=" - development files"
	depends="${makedepends} ${sourcepkg}-${version}_${revision}"
	pkg_install() {
		vmove usr/include
		vmove "usr/lib/*.a"
		vmove usr/lib/cmake
	}
}
