void-packages/srcpkgs/libde265/template

28 lines
731 B
Bash

# Template file for 'libde265'
pkgname=libde265
version=1.0.5
revision=1
build_style=gnu-configure
hostmakedepends="automake autoconf pkg-config libtool"
short_desc="Open h.265 video codec implementation"
maintainer="Kyle Nusbaum <knusbaum+void@sdf.org>"
license="LGPL-3.0-or-later"
homepage="https://www.libde265.org"
distfiles="https://github.com/strukturag/libde265/archive/v${version}.tar.gz"
checksum=dd11ca91d828103476aa2317d97dddb4ed52d210bb324f4ac6d1d7ff1f19e0f9
pre_configure() {
./autogen.sh
}
libde265-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}