From 3c57ec97195ef9cbced3a5a327cf8b33a4776bb3 Mon Sep 17 00:00:00 2001 From: Couleur <82747632+couleurm@users.noreply.github.com> Date: Wed, 9 Feb 2022 11:19:09 +0100 Subject: [PATCH] vapoursynth: Add version 57 (#3230) * Create vapoursynth.json * Update bucket/vapoursynth.json Co-authored-by: Rashil Gandhi <46838874+rashil2000@users.noreply.github.com> * Update bucket/vapoursynth.json Co-authored-by: Rashil Gandhi <46838874+rashil2000@users.noreply.github.com> * apply suggestions * remove arch->persist * remove trailing spaces Co-authored-by: Rashil Gandhi <46838874+rashil2000@users.noreply.github.com> Co-authored-by: Issac Lin --- bucket/vapoursynth.json | 49 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 bucket/vapoursynth.json diff --git a/bucket/vapoursynth.json b/bucket/vapoursynth.json new file mode 100644 index 0000000000..c181715555 --- /dev/null +++ b/bucket/vapoursynth.json @@ -0,0 +1,49 @@ +{ + "version": "57", + "description": "A video processing framework with simplicity in mind", + "homepage": "https://www.vapoursynth.com", + "notes": "As of now, VapourSynth is not compatible with anything newer than Python 3.9, it is available in the versions bucket as 'python39'", + "depends": "extras/vcredist2022", + "license": "LGPL-2.1-or-later", + "architecture": { + "64bit": { + "url": "https://github.com/vapoursynth/vapoursynth/releases/download/R57/VapourSynth64-Portable-R57.7z", + "hash": "04a42f2ee604eb7370df98c9c9a85d4f7854e96250ab0356be85d81489710d20" + }, + "32bit": { + "url": "https://github.com/vapoursynth/vapoursynth/releases/download/R57/VapourSynth64-Portable-R57.7z", + "hash": "04a42f2ee604eb7370df98c9c9a85d4f7854e96250ab0356be85d81489710d20" + } + }, + "pre_install": [ + "$arch = $architecture.SubString(0,2)", + "if(Test-Path \"$persist_dir\\vapoursynth$arch\") {Copy-Item \"$persist_dir\\*\" \"$dir\\\" -Force -Recurse}" + ], + "uninstaller": { + "script": [ + "$arch = $architecture.SubString(0,2)", + "ensure \"$persist_dir\" | Out-Null", + "Copy-Item \"$dir\\vapoursynth$arch\" \"$persist_dir\\\" -Force -Recurse" + ] + }, + "bin": [ + "AVFS.exe", + "VSPipe.exe", + "pfm-192-vapoursynth-win.exe", + "vsrepo.py" + ], + "checkver": { + "github": "https://github.com/vapoursynth/vapoursynth", + "regex": "tag/R(\\d+)" + }, + "autoupdate": { + "architecture": { + "64bit": { + "url": "https://github.com/vapoursynth/vapoursynth/releases/download/R$version/VapourSynth64-Portable-R$version.7z" + }, + "32bit": { + "url": "https://github.com/vapoursynth/vapoursynth/releases/download/R$version/VapourSynth64-Portable-R$version.7z" + } + } + } +}