# Template file for 'bcmatroska2'
pkgname=bcmatroska2
version=5.3.100
revision=1
build_style=cmake
configure_args="-DBUILD_SHARED_LIBS=TRUE"
makedepends="bctoolbox-devel"
short_desc="C library for working with matroska files"
maintainer="John <me@johnnynator.dev>"
license="GPL-2.0-only"
homepage="https://gitlab.linphone.org/BC/public/bcmatroska2"
distfiles="https://gitlab.linphone.org/BC/public/bcmatroska2/-/archive/${version}/bcmatroska2-${version}.tar.gz"
checksum=00339ce5a81ccde6026a5bc5557f6235dd8998c39236090febc5bbb23514314e

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