void-packages/srcpkgs/libmatroska/template

26 lines
869 B
Bash

# Template file for 'libmatroska'
pkgname=libmatroska
version=1.7.1
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=64763443947833e6c17f1f555f4bb0df6c9f91881810d9d5e0f0bad3622d308b
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
}
}