From c2e2100b3a67224aac29e21fa2501426d57775c9 Mon Sep 17 00:00:00 2001 From: 4fury-c3440d8 Date: Sat, 11 Dec 2021 17:27:49 +0300 Subject: [PATCH] add vapoursynth. --- multimedia/editor/vapoursynth/actions.py | 24 ++++++++ multimedia/editor/vapoursynth/pspec.xml | 75 ++++++++++++++++++++++++ 2 files changed, 99 insertions(+) create mode 100644 multimedia/editor/vapoursynth/actions.py create mode 100644 multimedia/editor/vapoursynth/pspec.xml diff --git a/multimedia/editor/vapoursynth/actions.py b/multimedia/editor/vapoursynth/actions.py new file mode 100644 index 0000000000..204cc154e8 --- /dev/null +++ b/multimedia/editor/vapoursynth/actions.py @@ -0,0 +1,24 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file https://www.gnu.org/licenses/gpl-3.0.txt + +from pisi.actionsapi import shelltools, autotools, pisitools, get + +def setup(): + autotools.autoreconf("-vif") + autotools.configure("--disable-static") + +def build(): + autotools.make() + # doc compilation. + shelltools.cd("doc") + autotools.make("html man") + +def install(): + autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + + # doc installation. + pisitools.doman("doc/_build/man/*") + shelltools.copytree("doc/_build/html", "%s/usr/share/vapoursynth/html" % get.installDIR()) diff --git a/multimedia/editor/vapoursynth/pspec.xml b/multimedia/editor/vapoursynth/pspec.xml new file mode 100644 index 0000000000..ac7cda911e --- /dev/null +++ b/multimedia/editor/vapoursynth/pspec.xml @@ -0,0 +1,75 @@ + + + + + vapoursynth + https://vapoursynth.com/doc/ + + fury + uglyside@yandex.ru + + LGPL-2.1 + app:console + multimedia.editor + A video processing framework with simplicity in mind. + VapourSynth is an application for video manipulation. It has a core library written in C++ and a Python module to allow video scripts to be created. + + https://github.com/vapoursynth/vapoursynth/archive/refs/tags/R57.tar.gz + + + nasm + cython3 + python3-devel + libzimg-devel + python3-sphinx + + + + + vapoursynth + + ffmpeg + python3 + libzimg + + + /usr/bin + /usr/lib + /usr/lib/python3.9/site-packages/ + /usr/share/man + + + + + vapoursynth-doc + + + + + /usr/share/vapoursynth/html + + + + + vapoursynth-devel + + vapoursynth + libzimg-devel + python3-devel + + + /usr/lib/pkgconfig + /usr/include/vapoursynth + + + + + + 2021-12-11 + 57 + First build. + fury + uglyside@yandex.ru + + +