summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Torokhov <torokhov-s-a@yandex.ru>2020-05-25 03:02:17 +0300
committerJoonas Niilola <juippis@gentoo.org>2020-06-25 11:07:41 +0300
commit794418cf941905fc957501a1e7a3bd9e954f86a6 (patch)
tree66fa07ae4c63b46294206375b924ec9ecf1ba5b6 /media-libs
parentmedia-libs/gegl: 0.3.34 migrate to EAPI-7 (diff)
downloadgentoo-794418cf941905fc957501a1e7a3bd9e954f86a6.tar.gz
gentoo-794418cf941905fc957501a1e7a3bd9e954f86a6.tar.bz2
gentoo-794418cf941905fc957501a1e7a3bd9e954f86a6.zip
media-libs/gegl: 0.3.34, drop failed tests using gegl-video, vp8
1. The 'gegl-video' executable is built only 'with-gexiv2' option enabled. Enabling of 'gexiv2' option on test phase allows to built 'gegl-video' executable and then this part passed. As mentioned in gegl-0.3.34.ebuild (as mentioned by previous maintainer): "mrg is not in tree and gexiv2 support only has effect when mrg support is enabled". But as this option is disabled for build without USE="test" (or FEATURES="test") and therefore isn't used in provided package I see no reason to fix compilation instead of disabling this part of test. 2. The second error seems due to hardware doesn't support vp8 hardware encoding. AFAIK the vp8 hardware support is presented for intel since Broadwell (2014 year) and I didn't find if it's support by AMD CPUs or for other ARCHs. So this part of test is disabled here too. Closes: https://bugs.gentoo.org/631930 Bug: https://bugs.gentoo.org/686202 Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/gegl/files/gegl-0.3.34-failing-tests.patch27
-rw-r--r--media-libs/gegl/gegl-0.3.34-r1.ebuild1
2 files changed, 28 insertions, 0 deletions
diff --git a/media-libs/gegl/files/gegl-0.3.34-failing-tests.patch b/media-libs/gegl/files/gegl-0.3.34-failing-tests.patch
new file mode 100644
index 000000000000..c388ac556e9b
--- /dev/null
+++ b/media-libs/gegl/files/gegl-0.3.34-failing-tests.patch
@@ -0,0 +1,27 @@
+diff -Naur a/tests/ff-load-save/Makefile.am b/tests/ff-load-save/Makefile.am
+--- a/tests/ff-load-save/Makefile.am 2017-09-21 22:11:00.000000000 +0300
++++ b/tests/ff-load-save/Makefile.am 2020-03-07 16:33:21.000000000 +0300
+@@ -6,13 +6,7 @@
+
+ EXTRA_DIST = $(TESTS)
+
+-check: vids images
+-
+-images:
+- for a in *.avi *.mp4 *.ogv ;do \
+- GEGL_PATH=$(top_builddir)/operations $(top_builddir)/examples/gegl-video \
+- $$a -s 74 -e 74 -of $$a- ;\
+- done
++check: vids
+
+ vids: $(TESTS) $(top_builddir)/examples/frame-counter
+ GEGL_PATH=$(top_builddir)/operations $(top_builddir)/examples/frame-counter \
+@@ -27,8 +21,6 @@
+ --video-codec mpeg4 --fps 12 --video-bit-rate 128 128kb-12fps.mp4
+ GEGL_PATH=$(top_builddir)/operations $(top_builddir)/examples/frame-counter \
+ --video-codec mpeg4 --fps 100 --video-bit-rate 128 128kb-100fps.mp4
+- GEGL_PATH=$(top_builddir)/operations $(top_builddir)/examples/frame-counter \
+- --fps 28 --video-bit-rate 512 512kb-28fps.ogv
+
+ clean-local:
+ rm -f *.png *.avi *.ogv *.mp4 *.webm
diff --git a/media-libs/gegl/gegl-0.3.34-r1.ebuild b/media-libs/gegl/gegl-0.3.34-r1.ebuild
index 9a69225a627b..bd05c114d0d4 100644
--- a/media-libs/gegl/gegl-0.3.34-r1.ebuild
+++ b/media-libs/gegl/gegl-0.3.34-r1.ebuild
@@ -74,6 +74,7 @@ pkg_setup() {
PATCHES=(
"${FILESDIR}"/${PN}-0.3.12-failing-tests.patch
+ "${FILESDIR}"/${PN}-0.3.34-failing-tests.patch # bug 631930, 686202
"${FILESDIR}"/${PN}-0.4.0-ffmpeg-4-0-compat-1.patch # bug 654172
"${FILESDIR}"/${PN}-0.4.0-ffmpeg-4-0-compat-2.patch # bug 654172
)