# Template file for 'vapoursynth' pkgname=vapoursynth version=R39 revision=1 build_style=gnu-configure hostmakedepends="automake pkg-config libtool nasm python3-Cython" makedepends="python3-devel zimg-devel libmagick-devel libass-devel" short_desc="Application for video manipulation" maintainer="lemmi " license="LGPL-2" homepage="http://www.vapoursynth.com" distfiles="https://github.com/vapoursynth/vapoursynth/archive/$version.tar.gz" checksum=792a0002c71a7fc9d1d366df8d463f0b9918df4f871e4ab9a87120163a44c5c7 case $XBPS_TARGET_MACHINE in aarch64*) broken="no upstream support" ;; esac pre_configure() { ./autogen.sh case $XBPS_TARGET_MACHINE in arm*musl) sed -i '/#include /a #include ' src/core/cpufeatures.c sed -i -e 's/HWCAP_ARM_/HWCAP_/' src/core/cpufeatures.c ;; *) ;; esac } 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" } }