diff options
author | Adel KARA SLIMANE <adel.ks@zegrapher.com> | 2022-03-14 10:42:02 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-03-16 22:33:28 +0000 |
commit | 7045573738a58c8edd143fd3b3e6ee00ec6d4378 (patch) | |
tree | 1d4ea61ee58fd105da37291f8bc780a48b08b3b3 /media-libs/libvmaf | |
parent | dev-libs/imath: add header for f16c instructions on x86 (diff) | |
download | gentoo-7045573738a58c8edd143fd3b3e6ee00ec6d4378.tar.gz gentoo-7045573738a58c8edd143fd3b3e6ee00ec6d4378.tar.bz2 gentoo-7045573738a58c8edd143fd3b3e6ee00ec6d4378.zip |
media-libs/libvmaf: new package
Needed to be able to use Netflix's quality of encoding
scoring algorithm with ffmpeg
Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-libs/libvmaf')
-rw-r--r-- | media-libs/libvmaf/Manifest | 1 | ||||
-rw-r--r-- | media-libs/libvmaf/libvmaf-2.3.0.ebuild | 42 | ||||
-rw-r--r-- | media-libs/libvmaf/metadata.xml | 19 |
3 files changed, 62 insertions, 0 deletions
diff --git a/media-libs/libvmaf/Manifest b/media-libs/libvmaf/Manifest new file mode 100644 index 000000000000..1dc0a2fdcdb4 --- /dev/null +++ b/media-libs/libvmaf/Manifest @@ -0,0 +1 @@ +DIST libvmaf-2.3.0.tar.gz 18373659 BLAKE2B a08f18cabf99bf421c61c1fa60b946ee62027f06d5ec2a1b78c7d14ef7541a850b83216eed815f586711365ac2e31bdc6b5be811ae4fd6882717bf030d9ffc0f SHA512 10f0af2b1e868d9780a2766c6c06451ea79f4a8cd8f6c546473382587011f9a7c8c5bf80952021980ede62e2188bcb388337c8903a906d50c739be7cdbb8f61b 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> |