* [gentoo-commits] repo/gentoo:master commit in: media-libs/libvmaf/
@ 2022-03-20 13:13 Joonas Niilola
0 siblings, 0 replies; 11+ messages in thread
From: Joonas Niilola @ 2022-03-20 13:13 UTC (permalink / raw
To: gentoo-commits
commit: e1a384d7fbc363763d919d7b6a6e9ff92ee991e2
Author: Adel KARA SLIMANE <adel.ks <AT> zegrapher <DOT> com>
AuthorDate: Thu Mar 17 10:05:42 2022 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sun Mar 20 13:13:10 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1a384d7
media-libs/libvmaf: prevent installation of static libs
Closes: https://bugs.gentoo.org/835458
Signed-off-by: Adel KARA SLIMANE <adel.ks <AT> zegrapher.com>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
media-libs/libvmaf/libvmaf-2.3.0.ebuild | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/media-libs/libvmaf/libvmaf-2.3.0.ebuild b/media-libs/libvmaf/libvmaf-2.3.0.ebuild
index 33cbad2ec7f4..289a427e83d2 100644
--- a/media-libs/libvmaf/libvmaf-2.3.0.ebuild
+++ b/media-libs/libvmaf/libvmaf-2.3.0.ebuild
@@ -34,6 +34,11 @@ multilib_src_configure() {
meson_src_configure
}
+multilib_src_install() {
+ meson_src_install
+ find "${D}" -name '*.la' -delete -o -name '*.a' -delete || die
+}
+
multilib_src_install_all() {
einstalldocs
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/libvmaf/
@ 2022-03-20 13:13 Joonas Niilola
0 siblings, 0 replies; 11+ messages in thread
From: Joonas Niilola @ 2022-03-20 13:13 UTC (permalink / raw
To: gentoo-commits
commit: 39f3b86fff8b739e1afd463223087215498e5944
Author: Adel KARA SLIMANE <adel.ks <AT> zegrapher <DOT> com>
AuthorDate: Thu Mar 17 12:24:28 2022 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sun Mar 20 13:13:10 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39f3b86f
media-libs/libvmaf: restrict TEST phase
The hardcoded paths are buggy for some tests,
the library works otherwise
The testing code could be patched otherwise
Closes: https://bugs.gentoo.org/835471
Signed-off-by: Adel KARA SLIMANE <adel.ks <AT> zegrapher.com>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
media-libs/libvmaf/libvmaf-2.3.0.ebuild | 3 +++
1 file changed, 3 insertions(+)
diff --git a/media-libs/libvmaf/libvmaf-2.3.0.ebuild b/media-libs/libvmaf/libvmaf-2.3.0.ebuild
index 289a427e83d2..7adc3c9eca99 100644
--- a/media-libs/libvmaf/libvmaf-2.3.0.ebuild
+++ b/media-libs/libvmaf/libvmaf-2.3.0.ebuild
@@ -21,6 +21,9 @@ fi
LICENSE="BSD-2-with-patent"
SLOT="0"
+# upstream issue, see bug #835471
+RESTRICT="test"
+
BDEPEND="
dev-lang/nasm
"
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/libvmaf/
@ 2022-04-07 20:00 Sam James
0 siblings, 0 replies; 11+ messages in thread
From: Sam James @ 2022-04-07 20:00 UTC (permalink / raw
To: gentoo-commits
commit: de5f605d3886ad9d076de0f0e777a5b4869b6af3
Author: Adel KARA SLIMANE <adel.ks <AT> zegrapher <DOT> com>
AuthorDate: Mon Mar 28 19:09:25 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Apr 7 20:00:35 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de5f605d
media-libs/libvmaf: add bdep to embed models within the shared libs
Correct fix for Bug https://bugs.gentoo.org/835471
Signed-off-by: Adel KARA SLIMANE <adel.ks <AT> zegrapher.com>
Closes: https://github.com/gentoo/gentoo/pull/24796
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../libvmaf/{libvmaf-2.3.0.ebuild => libvmaf-2.3.0-r1.ebuild} | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/media-libs/libvmaf/libvmaf-2.3.0.ebuild b/media-libs/libvmaf/libvmaf-2.3.0-r1.ebuild
similarity index 78%
rename from media-libs/libvmaf/libvmaf-2.3.0.ebuild
rename to media-libs/libvmaf/libvmaf-2.3.0-r1.ebuild
index 7adc3c9eca99..63d25edd6015 100644
--- a/media-libs/libvmaf/libvmaf-2.3.0.ebuild
+++ b/media-libs/libvmaf/libvmaf-2.3.0-r1.ebuild
@@ -21,12 +21,13 @@ fi
LICENSE="BSD-2-with-patent"
SLOT="0"
-# upstream issue, see bug #835471
-RESTRICT="test"
-
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}"
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/libvmaf/
@ 2022-04-14 3:47 Joonas Niilola
0 siblings, 0 replies; 11+ messages in thread
From: Joonas Niilola @ 2022-04-14 3:47 UTC (permalink / raw
To: gentoo-commits
commit: edbe914eec1e4e87f38d5d58160d242370e024af
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 13 14:11:53 2022 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Apr 14 03:46:04 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=edbe914e
media-libs/libvmaf: update DESCRIPTION
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
media-libs/libvmaf/libvmaf-2.3.0-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/libvmaf/libvmaf-2.3.0-r1.ebuild b/media-libs/libvmaf/libvmaf-2.3.0-r1.ebuild
index 63d25edd6015..d83062357877 100644
--- a/media-libs/libvmaf/libvmaf-2.3.0-r1.ebuild
+++ b/media-libs/libvmaf/libvmaf-2.3.0-r1.ebuild
@@ -5,7 +5,7 @@ EAPI=8
inherit meson-multilib
-DESCRIPTION="C libary for Netflix's Perceptual video quality assessment based on multi-method fusion."
+DESCRIPTION="C libary for Netflix's Perceptual video quality assessment"
HOMEPAGE="https://github.com/Netflix/vmaf"
if [[ ${PV} == "9999" ]]; then
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/libvmaf/
@ 2022-04-18 6:43 Joonas Niilola
0 siblings, 0 replies; 11+ messages in thread
From: Joonas Niilola @ 2022-04-18 6:43 UTC (permalink / raw
To: gentoo-commits
commit: 888a5176d519cbe68d1647f5af9c9180f17f2683
Author: Adel KARA SLIMANE <adel.ks <AT> zegrapher <DOT> com>
AuthorDate: Sun Apr 10 22:37:13 2022 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Mon Apr 18 06:43:02 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=888a5176
media-libs/libvmaf: fix tests and add embed-models useflag
Closes: https://bugs.gentoo.org/837221
Closes: https://bugs.gentoo.org/837488
Signed-off-by: Adel KARA SLIMANE <adel.ks <AT> zegrapher.com>
Closes: https://github.com/gentoo/gentoo/pull/24982
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
...vmaf-2.3.0-r1.ebuild => libvmaf-2.3.0-r2.ebuild} | 21 +++++++++++++++++----
media-libs/libvmaf/metadata.xml | 3 +++
2 files changed, 20 insertions(+), 4 deletions(-)
diff --git a/media-libs/libvmaf/libvmaf-2.3.0-r1.ebuild b/media-libs/libvmaf/libvmaf-2.3.0-r2.ebuild
similarity index 66%
rename from media-libs/libvmaf/libvmaf-2.3.0-r1.ebuild
rename to media-libs/libvmaf/libvmaf-2.3.0-r2.ebuild
index d83062357877..9276f49b516c 100644
--- a/media-libs/libvmaf/libvmaf-2.3.0-r1.ebuild
+++ b/media-libs/libvmaf/libvmaf-2.3.0-r2.ebuild
@@ -20,20 +20,33 @@ fi
LICENSE="BSD-2-with-patent"
SLOT="0"
+IUSE="+embed-models test"
+
+RESTRICT="!test? ( test )"
BDEPEND="
dev-lang/nasm
- app-editors/vim-core
+ embed-models? ( 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}"
+src_prepare() {
+ default
+
+ # Workaround for https://bugs.gentoo.org/837221
+ # The paths in the tests are hard coded to look for the model folder as "../../model"
+ sed -i "s|\"../../model|\"../vmaf-${PV}/model|g" ${S}/libvmaf/test/* || die
+}
+
multilib_src_configure() {
+ local emesonargs=(
+ $(meson_use embed-models built_in_models)
+ $(meson_use test enable_tests)
+ )
+
EMESON_SOURCE="${S}/libvmaf"
meson_src_configure
}
diff --git a/media-libs/libvmaf/metadata.xml b/media-libs/libvmaf/metadata.xml
index 765ae6466607..01039a20cb19 100644
--- a/media-libs/libvmaf/metadata.xml
+++ b/media-libs/libvmaf/metadata.xml
@@ -16,4 +16,7 @@
<remote-id type="github">Netflix/vmaf</remote-id>
<bugs-to>https://github.com/Netflix/vmaf/issues</bugs-to>
</upstream>
+ <use>
+ <flag name="embed-models">Compile default vmaf models into the library (needs <pkg>app-editors/vim-core</pkg>)</flag>
+ </use>
</pkgmetadata>
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/libvmaf/
@ 2022-05-22 7:42 Jakov Smolić
0 siblings, 0 replies; 11+ messages in thread
From: Jakov Smolić @ 2022-05-22 7:42 UTC (permalink / raw
To: gentoo-commits
commit: d1527ff6f48d6c536f90e07f30cee5eed63b8156
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Sun May 22 07:40:43 2022 +0000
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Sun May 22 07:40:43 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1527ff6
media-libs/libvmaf: keyword 2.3.0-r2 for ~riscv
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
media-libs/libvmaf/libvmaf-2.3.0-r2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/libvmaf/libvmaf-2.3.0-r2.ebuild b/media-libs/libvmaf/libvmaf-2.3.0-r2.ebuild
index 9276f49b516c..02175276a196 100644
--- a/media-libs/libvmaf/libvmaf-2.3.0-r2.ebuild
+++ b/media-libs/libvmaf/libvmaf-2.3.0-r2.ebuild
@@ -15,7 +15,7 @@ else
SRC_URI="
https://github.com/Netflix/vmaf/archive/v${PV}.tar.gz -> ${P}.tar.gz
"
- KEYWORDS="~amd64 ~x86"
+ KEYWORDS="~amd64 ~riscv ~x86"
fi
LICENSE="BSD-2-with-patent"
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/libvmaf/
@ 2022-06-16 16:30 Sam James
0 siblings, 0 replies; 11+ messages in thread
From: Sam James @ 2022-06-16 16:30 UTC (permalink / raw
To: gentoo-commits
commit: 6743717e1daf6e915cc41d65639866b04abe7feb
Author: Thomas Bracht Laumann Jespersen <t <AT> laumann <DOT> xyz>
AuthorDate: Wed Jun 8 20:05:13 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jun 16 16:30:36 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6743717e
media-libs/libvmaf: fix unquoted variable S
Signed-off-by: Thomas Bracht Laumann Jespersen <t <AT> laumann.xyz>
Signed-off-by: Sam James <sam <AT> gentoo.org>
media-libs/libvmaf/libvmaf-2.3.0-r2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/libvmaf/libvmaf-2.3.0-r2.ebuild b/media-libs/libvmaf/libvmaf-2.3.0-r2.ebuild
index 02175276a196..587000084144 100644
--- a/media-libs/libvmaf/libvmaf-2.3.0-r2.ebuild
+++ b/media-libs/libvmaf/libvmaf-2.3.0-r2.ebuild
@@ -38,7 +38,7 @@ src_prepare() {
# Workaround for https://bugs.gentoo.org/837221
# The paths in the tests are hard coded to look for the model folder as "../../model"
- sed -i "s|\"../../model|\"../vmaf-${PV}/model|g" ${S}/libvmaf/test/* || die
+ sed -i "s|\"../../model|\"../vmaf-${PV}/model|g" "${S}"/libvmaf/test/* || die
}
multilib_src_configure() {
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/libvmaf/
@ 2022-12-02 18:44 WANG Xuerui
0 siblings, 0 replies; 11+ messages in thread
From: WANG Xuerui @ 2022-12-02 18:44 UTC (permalink / raw
To: gentoo-commits
commit: 56dd8ff14b87f62cb05a206b972aeac190900ca7
Author: WANG Xuerui <xen0n <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 2 18:31:22 2022 +0000
Commit: WANG Xuerui <xen0n <AT> gentoo <DOT> org>
CommitDate: Fri Dec 2 18:44:19 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56dd8ff1
media-libs/libvmaf: keyword 2.3.0-r2 for ~loong
Signed-off-by: WANG Xuerui <xen0n <AT> gentoo.org>
media-libs/libvmaf/libvmaf-2.3.0-r2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/libvmaf/libvmaf-2.3.0-r2.ebuild b/media-libs/libvmaf/libvmaf-2.3.0-r2.ebuild
index 587000084144..4b8559100337 100644
--- a/media-libs/libvmaf/libvmaf-2.3.0-r2.ebuild
+++ b/media-libs/libvmaf/libvmaf-2.3.0-r2.ebuild
@@ -15,7 +15,7 @@ else
SRC_URI="
https://github.com/Netflix/vmaf/archive/v${PV}.tar.gz -> ${P}.tar.gz
"
- KEYWORDS="~amd64 ~riscv ~x86"
+ KEYWORDS="~amd64 ~loong ~riscv ~x86"
fi
LICENSE="BSD-2-with-patent"
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/libvmaf/
@ 2023-10-06 12:46 Joonas Niilola
0 siblings, 0 replies; 11+ messages in thread
From: Joonas Niilola @ 2023-10-06 12:46 UTC (permalink / raw
To: gentoo-commits
commit: a60f5c7ddca19d3168420ec4370b760408906ae5
Author: Adel KARA SLIMANE <adel.ks <AT> zegrapher <DOT> com>
AuthorDate: Tue Aug 22 16:06:15 2023 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri Oct 6 12:46:49 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a60f5c7d
media-libs/libvmaf: add 9999
Signed-off-by: Adel KARA SLIMANE <adel.ks <AT> zegrapher.com>
Closes: https://github.com/gentoo/gentoo/pull/32412
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
media-libs/libvmaf/libvmaf-2.3.1.ebuild | 2 +-
media-libs/libvmaf/{libvmaf-2.3.1.ebuild => libvmaf-9999.ebuild} | 8 ++++++--
2 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/media-libs/libvmaf/libvmaf-2.3.1.ebuild b/media-libs/libvmaf/libvmaf-2.3.1.ebuild
index c1900850a167..751393e00c9f 100644
--- a/media-libs/libvmaf/libvmaf-2.3.1.ebuild
+++ b/media-libs/libvmaf/libvmaf-2.3.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
diff --git a/media-libs/libvmaf/libvmaf-2.3.1.ebuild b/media-libs/libvmaf/libvmaf-9999.ebuild
similarity index 90%
copy from media-libs/libvmaf/libvmaf-2.3.1.ebuild
copy to media-libs/libvmaf/libvmaf-9999.ebuild
index c1900850a167..a5fc3721b828 100644
--- a/media-libs/libvmaf/libvmaf-2.3.1.ebuild
+++ b/media-libs/libvmaf/libvmaf-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -31,7 +31,11 @@ BDEPEND="
RDEPEND="${BDEPEND}"
-S="${WORKDIR}/vmaf-${PV}"
+if [[ ${PV} == "9999" ]]; then
+ S="${WORKDIR}/libvmaf-${PV}"
+else
+ S="${WORKDIR}/vmaf-${PV}"
+fi
src_prepare() {
default
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/libvmaf/
@ 2023-10-06 12:46 Joonas Niilola
0 siblings, 0 replies; 11+ messages in thread
From: Joonas Niilola @ 2023-10-06 12:46 UTC (permalink / raw
To: gentoo-commits
commit: a819064cbb3eab9678311c2b992b3db9eefb3a5d
Author: Adel KARA SLIMANE <adel.ks <AT> zegrapher <DOT> com>
AuthorDate: Sat Aug 19 23:19:24 2023 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri Oct 6 12:46:49 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a819064c
media-libs/libvmaf: add 2.3.1, drop 2.3.0-r2
Closes: https://bugs.gentoo.org/859925
Signed-off-by: Adel KARA SLIMANE <adel.ks <AT> zegrapher.com>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
media-libs/libvmaf/Manifest | 2 +-
media-libs/libvmaf/{libvmaf-2.3.0-r2.ebuild => libvmaf-2.3.1.ebuild} | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/media-libs/libvmaf/Manifest b/media-libs/libvmaf/Manifest
index 1dc0a2fdcdb4..0a9637b681e0 100644
--- a/media-libs/libvmaf/Manifest
+++ b/media-libs/libvmaf/Manifest
@@ -1 +1 @@
-DIST libvmaf-2.3.0.tar.gz 18373659 BLAKE2B a08f18cabf99bf421c61c1fa60b946ee62027f06d5ec2a1b78c7d14ef7541a850b83216eed815f586711365ac2e31bdc6b5be811ae4fd6882717bf030d9ffc0f SHA512 10f0af2b1e868d9780a2766c6c06451ea79f4a8cd8f6c546473382587011f9a7c8c5bf80952021980ede62e2188bcb388337c8903a906d50c739be7cdbb8f61b
+DIST libvmaf-2.3.1.tar.gz 18388094 BLAKE2B df5af307382eeb215a5f47ea7f78d8d6d8087f238c3f68c2614c0588415dc948cadce5ce2da9b37f6e05a1c695e5437cfb9ca3917fc8346bab6312f0859e90a2 SHA512 4854247bba4b323d08fa9ef4a082a08ed9ab1763dffbe0a1af2b594205e908f47dfb919d03a32e0bce77a40e33e4b2a2594e5d1e8e081379640d6abf279a129b
diff --git a/media-libs/libvmaf/libvmaf-2.3.0-r2.ebuild b/media-libs/libvmaf/libvmaf-2.3.1.ebuild
similarity index 96%
rename from media-libs/libvmaf/libvmaf-2.3.0-r2.ebuild
rename to media-libs/libvmaf/libvmaf-2.3.1.ebuild
index 4b8559100337..c1900850a167 100644
--- a/media-libs/libvmaf/libvmaf-2.3.0-r2.ebuild
+++ b/media-libs/libvmaf/libvmaf-2.3.1.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit meson-multilib
+inherit meson-multilib flag-o-matic
DESCRIPTION="C libary for Netflix's Perceptual video quality assessment"
HOMEPAGE="https://github.com/Netflix/vmaf"
@@ -48,6 +48,7 @@ multilib_src_configure() {
)
EMESON_SOURCE="${S}/libvmaf"
+ filter-lto
meson_src_configure
}
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/libvmaf/
@ 2024-03-16 8:38 Joonas Niilola
0 siblings, 0 replies; 11+ messages in thread
From: Joonas Niilola @ 2024-03-16 8:38 UTC (permalink / raw
To: gentoo-commits
commit: 7614305cbdebeb9838f26026da5d270d90de7f3b
Author: Adel KARA SLIMANE <adel.ks <AT> zegrapher <DOT> com>
AuthorDate: Thu Dec 21 22:17:37 2023 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sat Mar 16 08:38:28 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7614305c
media-libs/libvmaf: add slotted 3.0.0, update ffmpeg ebuilds
Rebuild ffmpeg on libvmaf SLOT change
Signed-off-by: Adel KARA SLIMANE <adel.ks <AT> zegrapher.com>
Closes: https://github.com/gentoo/gentoo/pull/34403
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
media-libs/libvmaf/Manifest | 1 +
media-libs/libvmaf/libvmaf-3.0.0.ebuild | 65 +++++++++++++++++++++++++++++++++
2 files changed, 66 insertions(+)
diff --git a/media-libs/libvmaf/Manifest b/media-libs/libvmaf/Manifest
index 0a9637b681e0..e63cdcb4e1fa 100644
--- a/media-libs/libvmaf/Manifest
+++ b/media-libs/libvmaf/Manifest
@@ -1 +1,2 @@
DIST libvmaf-2.3.1.tar.gz 18388094 BLAKE2B df5af307382eeb215a5f47ea7f78d8d6d8087f238c3f68c2614c0588415dc948cadce5ce2da9b37f6e05a1c695e5437cfb9ca3917fc8346bab6312f0859e90a2 SHA512 4854247bba4b323d08fa9ef4a082a08ed9ab1763dffbe0a1af2b594205e908f47dfb919d03a32e0bce77a40e33e4b2a2594e5d1e8e081379640d6abf279a129b
+DIST libvmaf-3.0.0.tar.gz 18111853 BLAKE2B 8cb53dc2400d34f618ba76588dc77854f695dbd9225c2939e5d266afca1e969b467ee4f55290d87b38d5a144bf30ab695ab7b16633a18f435fd7f36399af2518 SHA512 9e356bb274ce7d5d85a64d2a1a122ea9d267809edd83bb6e663fb348a1a46355882eb9044982bf679f03df7f93c6f66c9b0d9a94661979b2c722db30b21c4f32
diff --git a/media-libs/libvmaf/libvmaf-3.0.0.ebuild b/media-libs/libvmaf/libvmaf-3.0.0.ebuild
new file mode 100644
index 000000000000..62a0526f3947
--- /dev/null
+++ b/media-libs/libvmaf/libvmaf-3.0.0.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson-multilib flag-o-matic
+
+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 ~loong ~riscv ~x86"
+fi
+
+LICENSE="BSD-2-with-patent"
+SLOT="0/3"
+IUSE="+embed-models test"
+
+RESTRICT="!test? ( test )"
+
+BDEPEND="
+ dev-lang/nasm
+ embed-models? ( app-editors/vim-core )
+"
+
+RDEPEND="${BDEPEND}"
+
+S="${WORKDIR}/vmaf-${PV}"
+
+src_prepare() {
+ default
+
+ # Workaround for https://bugs.gentoo.org/837221
+ # The paths in the tests are hard coded to look for the model folder as "../../model"
+ sed -i "s|\"../../model|\"../vmaf-${PV}/model|g" "${S}"/libvmaf/test/* || die
+}
+
+multilib_src_configure() {
+ local emesonargs=(
+ $(meson_use embed-models built_in_models)
+ $(meson_use test enable_tests)
+ )
+
+ EMESON_SOURCE="${S}/libvmaf"
+ filter-lto
+ 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"
+}
^ permalink raw reply related [flat|nested] 11+ messages in thread
end of thread, other threads:[~2024-03-16 8:38 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-16 8:38 [gentoo-commits] repo/gentoo:master commit in: media-libs/libvmaf/ Joonas Niilola
-- strict thread matches above, loose matches on Subject: below --
2023-10-06 12:46 Joonas Niilola
2023-10-06 12:46 Joonas Niilola
2022-12-02 18:44 WANG Xuerui
2022-06-16 16:30 Sam James
2022-05-22 7:42 Jakov Smolić
2022-04-18 6:43 Joonas Niilola
2022-04-14 3:47 Joonas Niilola
2022-04-07 20:00 Sam James
2022-03-20 13:13 Joonas Niilola
2022-03-20 13:13 Joonas Niilola
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox