void-packages/srcpkgs/libmatroska/template

25 lines
768 B
Bash

# Template file for 'libmatroska'
pkgname=libmatroska
version=1.4.9
revision=2
build_style=cmake
configure_args="-DBUILD_SHARED_LIBS=ON"
makedepends="libebml-devel"
short_desc="Extensible open standard Audio/Video container format"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="https://dl.matroska.org/downloads/libmatroska/"
distfiles="https://dl.matroska.org/downloads/libmatroska/libmatroska-${version}.tar.xz"
checksum=38a61dd5d87c070928b5deb3922b63b2b83c09e2e4a10f9393eecb6afa9795c8
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
}
}