void-packages/srcpkgs/libmatroska/template
2020-11-05 20:26:06 -06:00

24 lines
768 B
Bash

# Template file for 'libmatroska'
pkgname=libmatroska
version=1.6.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="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=bc4479aa8422ab07643df6a1fa5a19e4bed4badfd41ca77e081628620d1e1990
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
}
}