void-packages/srcpkgs/vapoursynth/template

29 lines
879 B
Bash

# Template file for 'vapoursynth'
pkgname=vapoursynth
version=R66
revision=2
build_style=gnu-configure
hostmakedepends="automake libtool nasm pkg-config python3-Cython"
makedepends="python3-devel zimg-devel"
short_desc="Application for video manipulation"
maintainer="lemmi <lemmi@nerd2nerd.org>"
license="LGPL-2.1-or-later, OFL-1.1"
homepage="http://www.vapoursynth.com"
changelog="https://raw.githubusercontent.com/vapoursynth/vapoursynth/master/ChangeLog"
distfiles="https://github.com/vapoursynth/vapoursynth/archive/${version}.tar.gz"
checksum=e2c82b1f583adbc33dabbe59c0dc65e6aede70dedebe79be94155cb38d418b2c
pre_configure() {
./autogen.sh
}
vapoursynth-devel_package() {
depends="python3-devel zimg-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
}
}