From 5be8f45d5bd55e7573298d34fe5e2af725e88185 Mon Sep 17 00:00:00 2001 From: lemmi Date: Thu, 7 Apr 2016 17:40:57 +0200 Subject: [PATCH] New package: vapoursynth-R32 --- common/shlibs | 5 +++++ srcpkgs/vapoursynth-devel | 1 + srcpkgs/vapoursynth/template | 36 ++++++++++++++++++++++++++++++++++++ 3 files changed, 42 insertions(+) create mode 120000 srcpkgs/vapoursynth-devel create mode 100644 srcpkgs/vapoursynth/template diff --git a/common/shlibs b/common/shlibs index 196a33153a..70d76cbb6e 100644 --- a/common/shlibs +++ b/common/shlibs @@ -2434,3 +2434,8 @@ libobs.so.0 obs-0.14.1_2 libobsglad.so.0 obs-0.14.1_2 libobs-opengl.so.0 obs-0.14.1_2 libzimg.so.2 zimg-2.0.4_1 +libvapoursynth.so vapoursynth-R31_1 +libvapoursynth-script.so.0 vapoursynth-R31_1 +libvapoursynth.so vapoursynth-devel-R32_1 +libvapoursynth-script.so.0 vapoursynth-R32_1 +libmvtools.so vapoursynth-mvtools-12_1 diff --git a/srcpkgs/vapoursynth-devel b/srcpkgs/vapoursynth-devel new file mode 120000 index 0000000000..96aaf06b47 --- /dev/null +++ b/srcpkgs/vapoursynth-devel @@ -0,0 +1 @@ +vapoursynth \ No newline at end of file diff --git a/srcpkgs/vapoursynth/template b/srcpkgs/vapoursynth/template new file mode 100644 index 0000000000..8d0e6faf4b --- /dev/null +++ b/srcpkgs/vapoursynth/template @@ -0,0 +1,36 @@ +# Template file for 'vapoursynth' +pkgname=vapoursynth +version=R32 +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 " +license="LGPL-2" +homepage="http://www.vapoursynth.com" +distfiles="https://github.com/vapoursynth/vapoursynth/archive/$version.tar.gz" +checksum=e9560f64ba298c2ef9e6e3d88f63ea0ab88e14bbd0e9feee9c621b9224e408c8 + +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="${sourcepkg}>=${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.a" + vmove "usr/lib/*.so" + } +}