void-packages/srcpkgs/vapoursynth/template

30 lines
934 B
Bash

# Template file for 'vapoursynth'
pkgname=vapoursynth
version=R50
revision=3
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=b9dc7ce904c6a3432df7491b7052bc4cf09ccf1e7a703053f8079a2267522f97
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"
}
}