void-packages/srcpkgs/libmatroska/template

25 lines
768 B
Bash

# Template file for 'libmatroska'
pkgname=libmatroska
version=1.6.0
revision=1
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://dl.matroska.org/downloads/libmatroska/"
distfiles="https://dl.matroska.org/downloads/libmatroska/libmatroska-${version}.tar.xz"
checksum=fec89cebd500807f7fd14b56c14733f11045fa2a21398ff6f6c5c0e3e01b4033
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
}
}