# Template file for 'libmatroska'
pkgname=libmatroska
version=1.7.2
revision=1
build_style=cmake
configure_args="-DBUILD_SHARED_LIBS=ON"
makedepends="libebml-devel"
short_desc="Extensible open standard Audio/Video container format"
maintainer="Matthias von Faber <mvf@gmx.eu>"
license="LGPL-2.1-or-later"
homepage="https://www.matroska.org/downloads/libraries.html"
changelog="https://raw.githubusercontent.com/Matroska-Org/libmatroska/master/NEWS.md"
distfiles="https://github.com/Matroska-Org/libmatroska/archive/refs/tags/release-${version}.tar.gz"
checksum=ef1104f1d77971ac95a33ae6184656fc5ddb51232ca542c31c31daaa493fe204

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