From 0c100b7dd2b30e75b799d806df4ef899fd98e1ea Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 16 Apr 2022 13:07:24 +0100 Subject: gentoo resync : 16.04.2022 --- media-libs/libvmaf/Manifest | 2 +- media-libs/libvmaf/libvmaf-2.3.0-r1.ebuild | 51 ++++++++++++++++++++++++++++++ media-libs/libvmaf/libvmaf-2.3.0.ebuild | 50 ----------------------------- 3 files changed, 52 insertions(+), 51 deletions(-) create mode 100644 media-libs/libvmaf/libvmaf-2.3.0-r1.ebuild delete mode 100644 media-libs/libvmaf/libvmaf-2.3.0.ebuild (limited to 'media-libs/libvmaf') diff --git a/media-libs/libvmaf/Manifest b/media-libs/libvmaf/Manifest index 3489ec9eec62..4be1bfae01ce 100644 --- a/media-libs/libvmaf/Manifest +++ b/media-libs/libvmaf/Manifest @@ -1,3 +1,3 @@ DIST libvmaf-2.3.0.tar.gz 18373659 BLAKE2B a08f18cabf99bf421c61c1fa60b946ee62027f06d5ec2a1b78c7d14ef7541a850b83216eed815f586711365ac2e31bdc6b5be811ae4fd6882717bf030d9ffc0f SHA512 10f0af2b1e868d9780a2766c6c06451ea79f4a8cd8f6c546473382587011f9a7c8c5bf80952021980ede62e2188bcb388337c8903a906d50c739be7cdbb8f61b -EBUILD libvmaf-2.3.0.ebuild 956 BLAKE2B 4eae65d0a60b7a35814eb0450fed6810f6df17a300932947fd05cde7f90d90da354526536be3497e0b3932f384f73bc0fe4ce442eb8a47aa11df779e3fd5c916 SHA512 77e59212f4604f39ced71a8cf2f6b50ba1da0fa0732388de8236dfadef08aad672f39520a23d07fe8227fee23f57fbe46f601bbaf36fc9ac1c8f784625204dd4 +EBUILD libvmaf-2.3.0-r1.ebuild 1120 BLAKE2B b618cf7ec8db20ce4114af5b5318d393d44dd33eaf8808291bd0f485fb4e86d9023f5caf0efc0d381850f205c33cd6ac1c2f395fa3e725cf0bdcc3e3ab5487ea SHA512 acf24ec08c15c15f0d9bb517e7d9a4286b55461f863af8fe2d2741a99996342951e99e40e44a97adbb9046bcf9d075ca2e94abfc6177c46bb9ca9c0592bad9cb MISC metadata.xml 721 BLAKE2B f0e82d2d6d28429c7d0a91b111b82d3a5df006f27142f063d527b73ee37ed82892c4d85db473098ca32ce09d3a1eca926666830e2d1ea3256f0598b413861c7d SHA512 741de386e11eeb0cde13121604fa60d1c22012f9e4c351ec423ce3d7cbc164006441e37d49682c0f1ab64dffc6b949a39ed971755b2f026bb6964e53acc6ff95 diff --git a/media-libs/libvmaf/libvmaf-2.3.0-r1.ebuild b/media-libs/libvmaf/libvmaf-2.3.0-r1.ebuild new file mode 100644 index 000000000000..d83062357877 --- /dev/null +++ b/media-libs/libvmaf/libvmaf-2.3.0-r1.ebuild @@ -0,0 +1,51 @@ +# 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" +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 + app-editors/vim-core +" +# The app-editors/vim-core dep is needed to embed models within the library +# could be made into a useflag if someones express the need for it +# see https://github.com/Netflix/vmaf/blob/master/libvmaf/meson_options.txt#L21 + +RDEPEND="${BDEPEND}" + +S="${WORKDIR}/vmaf-${PV}" + +multilib_src_configure() { + EMESON_SOURCE="${S}/libvmaf" + meson_src_configure +} + +multilib_src_install() { + meson_src_install + find "${D}" -name '*.la' -delete -o -name '*.a' -delete || die +} + +multilib_src_install_all() { + einstalldocs + + insinto "/usr/share/vmaf" + doins -r "${S}/model" +} diff --git a/media-libs/libvmaf/libvmaf-2.3.0.ebuild b/media-libs/libvmaf/libvmaf-2.3.0.ebuild deleted file mode 100644 index 7adc3c9eca99..000000000000 --- a/media-libs/libvmaf/libvmaf-2.3.0.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# 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" - -# upstream issue, see bug #835471 -RESTRICT="test" - -BDEPEND=" - dev-lang/nasm -" - -RDEPEND="${BDEPEND}" - -S="${WORKDIR}/vmaf-${PV}" - -multilib_src_configure() { - EMESON_SOURCE="${S}/libvmaf" - meson_src_configure -} - -multilib_src_install() { - meson_src_install - find "${D}" -name '*.la' -delete -o -name '*.a' -delete || die -} - -multilib_src_install_all() { - einstalldocs - - insinto "/usr/share/vmaf" - doins -r "${S}/model" -} -- cgit v1.2.3