void-packages/srcpkgs/vapoursynth/template
2016-09-15 09:55:08 +02:00

36 lines
1,010 B
Bash

# Template file for 'vapoursynth'
pkgname=vapoursynth
version=R33.1
revision=1
build_style=gnu-configure
hostmakedepends="automake pkg-config libtool yasm python3 python-Cython python3.4-Cython"
makedepends="python3.4-devel zimg-devel libmagick-devel libass-devel"
short_desc="Application for video manipulation"
maintainer="lemmi <lemmi@nerd2nerd.org>"
license="LGPL-2"
homepage="http://www.vapoursynth.com"
distfiles="https://github.com/vapoursynth/vapoursynth/archive/$version.tar.gz"
checksum=8c448e67bccbb56af96ed0e6ba65f0ec60bc33482efd0534f5b4614fb8920494
pre_configure() {
./autogen.sh
case $XBPS_TARGET_MACHINE in
arm*musl)
sed -i '/#include <sys\/auxv.h>/a #include <asm/hwcap.h>' src/core/cpufeatures.c
sed -i -e 's/HWCAP_ARM_/HWCAP_/' src/core/cpufeatures.c
;;
*)
;;
esac
}
vapoursynth-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
}
}