void-packages/srcpkgs/vapoursynth/template

30 lines
936 B
Bash

# Template file for 'vapoursynth'
pkgname=vapoursynth
version=R52
revision=2
build_style=gnu-configure
hostmakedepends="automake libtool nasm pkg-config python3-Cython"
makedepends="ffmpeg-devel python3-devel zimg-devel libass-devel libmagick-devel
libxml2-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=4d5dc7950f4357da695d29708bc98013bc3e0bd72fc5d697f8c91ce3c4a4b2ac
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"
}
}