[tracker-oci-images/sam/libav: 3/3] Add libav to test environment



commit 7cf10d0c56f3535aa6b5799de156fb640573a027
Author: Sam Thursfield <sam afuera me uk>
Date:   Wed Jul 10 14:04:08 2019 +0100

    Add libav to test environment
    
    We use the package provided by https://rpmfusion.org/.
    
    This is required for https://gitlab.gnome.org/GNOME/tracker-miners/issues/54
    (test the libav codepaths).
    
    It also allows us to test support for .m4a/.mp4 files, which is not yet
    possible in stock Fedora images.

 fedora/prepare.sh | 7 +++++++
 1 file changed, 7 insertions(+)
---
diff --git a/fedora/prepare.sh b/fedora/prepare.sh
index 5d75b64..94a40c7 100644
--- a/fedora/prepare.sh
+++ b/fedora/prepare.sh
@@ -16,6 +16,13 @@ dnf install -y libseccomp-devel
 dnf builddep -y tracker-miners
 dnf install -y gstreamer1-plugins-good
 
+# We need libav so we can test the libav-based mediafile extractor, and so
+# we can test our support for .m4a/mp4 files.
+#
+# RPM Fusion install commands from https://rpmfusion.org/Configuration
+dnf install -y https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E 
%fedora).noarch.rpm https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E 
%fedora).noarch.rpm
+dnf install -y gstreamer1-libav
+
 # Git is needed to clone tracker as a subproject when building tracker-miners.
 dnf install -y git
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]