void-packages/srcpkgs/libmatroska/template

26 lines
822 B
Bash

# Template file for 'libmatroska'
pkgname=libmatroska
version=1.6.3
revision=1
wrksrc="${pkgname}-release-${version}"
build_style=cmake
configure_args="-DBUILD_SHARED_LIBS=ON"
makedepends="libebml-devel"
short_desc="Extensible open standard Audio/Video container format"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="https://www.matroska.org/downloads/libraries.html"
distfiles="https://github.com/Matroska-Org/libmatroska/archive/refs/tags/release-${version}.tar.gz"
checksum=0c8c875ae26ac69a722f7fd0f4a4fecb4fdff681f2a165f09c06a40cbf1d0de6
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
}
}