summaryrefslogtreecommitdiff
path: root/media-libs/libvmaf
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-03-20 00:40:44 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-03-20 00:40:44 +0000
commit4cbcc855382a06088e2f016f62cafdbcb7e40665 (patch)
tree356496503d52354aa6d9f2d36126302fed5f3a73 /media-libs/libvmaf
parentfcc5224904648a8e6eb528d7603154160a20022f (diff)
gentoo resync : 20.03.2022
Diffstat (limited to 'media-libs/libvmaf')
-rw-r--r--media-libs/libvmaf/Manifest3
-rw-r--r--media-libs/libvmaf/libvmaf-2.3.0.ebuild42
-rw-r--r--media-libs/libvmaf/metadata.xml19
3 files changed, 64 insertions, 0 deletions
diff --git a/media-libs/libvmaf/Manifest b/media-libs/libvmaf/Manifest
new file mode 100644
index 000000000000..9e51fb46f5b4
--- /dev/null
+++ b/media-libs/libvmaf/Manifest
@@ -0,0 +1,3 @@
+DIST libvmaf-2.3.0.tar.gz 18373659 BLAKE2B a08f18cabf99bf421c61c1fa60b946ee62027f06d5ec2a1b78c7d14ef7541a850b83216eed815f586711365ac2e31bdc6b5be811ae4fd6882717bf030d9ffc0f SHA512 10f0af2b1e868d9780a2766c6c06451ea79f4a8cd8f6c546473382587011f9a7c8c5bf80952021980ede62e2188bcb388337c8903a906d50c739be7cdbb8f61b
+EBUILD libvmaf-2.3.0.ebuild 794 BLAKE2B db1e216260c6df43833d887d50916be281da55b2d8c7a4db95383814554dd72d50e34fec9bc047db8674f26b8ef69da2f1d5d483942476ccf55185ed113c5b18 SHA512 2af72ad89522043161115ad9d1090ea5b940f4b6594ae37fddcca58afcc961ff74d05e652e5b68009ea2439854e46aa30e20ff8c83b9ed87ccaf146f85c422ed
+MISC metadata.xml 721 BLAKE2B f0e82d2d6d28429c7d0a91b111b82d3a5df006f27142f063d527b73ee37ed82892c4d85db473098ca32ce09d3a1eca926666830e2d1ea3256f0598b413861c7d SHA512 741de386e11eeb0cde13121604fa60d1c22012f9e4c351ec423ce3d7cbc164006441e37d49682c0f1ab64dffc6b949a39ed971755b2f026bb6964e53acc6ff95
diff --git a/media-libs/libvmaf/libvmaf-2.3.0.ebuild b/media-libs/libvmaf/libvmaf-2.3.0.ebuild
new file mode 100644
index 000000000000..33cbad2ec7f4
--- /dev/null
+++ b/media-libs/libvmaf/libvmaf-2.3.0.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson-multilib
+
+DESCRIPTION="C libary for Netflix's Perceptual video quality assessment based on multi-method fusion."
+HOMEPAGE="https://github.com/Netflix/vmaf"
+
+if [[ ${PV} == "9999" ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/Netflix/vmaf.git"
+else
+ SRC_URI="
+ https://github.com/Netflix/vmaf/archive/v${PV}.tar.gz -> ${P}.tar.gz
+ "
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="BSD-2-with-patent"
+SLOT="0"
+
+BDEPEND="
+ dev-lang/nasm
+"
+
+RDEPEND="${BDEPEND}"
+
+S="${WORKDIR}/vmaf-${PV}"
+
+multilib_src_configure() {
+ EMESON_SOURCE="${S}/libvmaf"
+ meson_src_configure
+}
+
+multilib_src_install_all() {
+ einstalldocs
+
+ insinto "/usr/share/vmaf"
+ doins -r "${S}/model"
+}
diff --git a/media-libs/libvmaf/metadata.xml b/media-libs/libvmaf/metadata.xml
new file mode 100644
index 000000000000..fe7546eb5ac1
--- /dev/null
+++ b/media-libs/libvmaf/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person" proxied="yes">
+ <email>adel.ks@zegrapher.com</email>
+ <name>Adel KARA SLIMANE</name>
+ </maintainer>
+ <maintainer type="project" proxied="proxy">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <longdescription>
+ VMAF is a perceptual video quality assessment algorithm developed by Netflix. This software package includes a stand-alone C library libvmaf.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">Netflix/vmaf</remote-id>
+ <bugs-to>https://github.com/Netflix/vmaf/issues</bugs-to>
+ </upstream>
+</pkgmetadata>