void-packages/srcpkgs/libde265/template

30 lines
842 B
Bash

# Template file for 'libde265'
pkgname=libde265
version=1.0.12
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
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"
changelog="https://github.com/strukturag/libde265/releases"
distfiles="https://github.com/strukturag/libde265/releases/download/v${version}/libde265-${version}.tar.gz"
checksum=62185ea2182e68cf68bba20cc6eb4c287407b509cf0a827d7ddb75614db77b5c
post_install() {
# Why is this installed anyway?
rm -f ${DESTDIR}/bin/tests
}
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
}
}