aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authorjbeich <jbeich@FreeBSD.org>2019-11-03 23:53:14 +0800
committerjbeich <jbeich@FreeBSD.org>2019-11-03 23:53:14 +0800
commit597435349c270348576eefc811ae707da195c17a (patch)
treecedd6aaa772bda0dbb05e4db8e2ae85726a8c6ba /multimedia
parentc452f989f0cac2ee0207b9611b1bced49483510b (diff)
downloadfreebsd-ports-gnome-597435349c270348576eefc811ae707da195c17a.tar.gz
freebsd-ports-gnome-597435349c270348576eefc811ae707da195c17a.tar.zst
freebsd-ports-gnome-597435349c270348576eefc811ae707da195c17a.zip
multimedia/vapoursynth-vmaf: add new port
VMAF filter for VapourSynth. VMAF is a perceptual video quality assessment algorithm developed by Netflix. https://github.com/HomeOfVapourSynthEvolution/VapourSynth-VMAF
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/Makefile1
-rw-r--r--multimedia/vapoursynth-vmaf/Makefile32
-rw-r--r--multimedia/vapoursynth-vmaf/distinfo3
-rw-r--r--multimedia/vapoursynth-vmaf/pkg-descr4
4 files changed, 40 insertions, 0 deletions
diff --git a/multimedia/Makefile b/multimedia/Makefile
index 34cf46f71f54..8317c9237b10 100644
--- a/multimedia/Makefile
+++ b/multimedia/Makefile
@@ -413,6 +413,7 @@
SUBDIR += vamps
SUBDIR += vapoursynth
SUBDIR += vapoursynth-l-smash-works
+ SUBDIR += vapoursynth-vmaf
SUBDIR += vcdgear
SUBDIR += vcdimager
SUBDIR += vcdpad
diff --git a/multimedia/vapoursynth-vmaf/Makefile b/multimedia/vapoursynth-vmaf/Makefile
new file mode 100644
index 000000000000..3d35dc1d67b8
--- /dev/null
+++ b/multimedia/vapoursynth-vmaf/Makefile
@@ -0,0 +1,32 @@
+# $FreeBSD$
+
+PORTNAME= vmaf
+DISTVERSION= r6
+CATEGORIES= multimedia
+PKGNAMEPREFIX= vapoursynth-
+
+MAINTAINER= jbeich@FreeBSD.org
+COMMENT= Video Multi-Method Assessment Fusion plugin for VapourSynth
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${LOCALBASE}/include/vapoursynth/VSHelper.h:multimedia/vapoursynth \
+ ${LOCALBASE}/lib/libvmaf.a:multimedia/vmaf
+
+USES= compiler:c++17-lang meson pkgconfig
+USE_GITHUB= yes
+GH_ACCOUNT= HomeOfVapourSynthEvolution
+GH_PROJECT= VapourSynth-${PORTNAME:tu}
+DATADIR= ${PREFIX}/lib/vapoursynth
+DOCSDIR= ${PREFIX}/share/doc/${PKGBASE}
+PORTDATA= lib${PORTNAME}.so model
+PORTDOCS= *.md
+
+OPTIONS_DEFINE= DOCS
+
+do-install-DOCS-on:
+ (cd ${WRKSRC} && ${COPYTREE_SHARE} \
+ "${PORTDOCS}" ${STAGEDIR}${DOCSDIR})
+
+.include <bsd.port.mk>
diff --git a/multimedia/vapoursynth-vmaf/distinfo b/multimedia/vapoursynth-vmaf/distinfo
new file mode 100644
index 000000000000..316a80376e98
--- /dev/null
+++ b/multimedia/vapoursynth-vmaf/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1570875289
+SHA256 (HomeOfVapourSynthEvolution-VapourSynth-VMAF-r6_GH0.tar.gz) = e6b5182ac3b0fffb3f79390fb93a8ae254b852f79e5f017cd2e09735b31534f5
+SIZE (HomeOfVapourSynthEvolution-VapourSynth-VMAF-r6_GH0.tar.gz) = 95311
diff --git a/multimedia/vapoursynth-vmaf/pkg-descr b/multimedia/vapoursynth-vmaf/pkg-descr
new file mode 100644
index 000000000000..0948857c0321
--- /dev/null
+++ b/multimedia/vapoursynth-vmaf/pkg-descr
@@ -0,0 +1,4 @@
+VMAF filter for VapourSynth. VMAF is a perceptual video quality
+assessment algorithm developed by Netflix.
+
+WWW: https://github.com/HomeOfVapourSynthEvolution/VapourSynth-VMAF