33 lines
1.1 KiB
Bash
33 lines
1.1 KiB
Bash
# Template file for 'vapoursynth'
|
|
pkgname=vapoursynth
|
|
version=R52
|
|
revision=4
|
|
build_style=gnu-configure
|
|
# configure checks sys.version[:3] for Python versioning, so 3.10 becomes 3.1;
|
|
# until this is fixed upstream, manually define am_cv_python_version to circumvent
|
|
configure_args="am_cv_python_version=${py3_ver}"
|
|
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"
|
|
}
|
|
}
|