34 lines
975 B
Bash
34 lines
975 B
Bash
# Template file for 'vapoursynth'
|
|
pkgname=vapoursynth
|
|
version=R57
|
|
revision=2
|
|
build_style=gnu-configure
|
|
hostmakedepends="automake libtool nasm pkg-config python3-Cython"
|
|
makedepends="python3-devel zimg-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=9bed2ab1823050cfcbdbb1a57414e39507fd6c73f07ee4b5986fcbf0f6cb2d07
|
|
|
|
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
|
makedepends+=" libatomic-devel"
|
|
LDFLAGS="-latomic"
|
|
fi
|
|
|
|
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"
|
|
}
|
|
}
|