void-packages/srcpkgs/vapoursynth/template

30 lines
934 B
Bash

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