[tracker-oci-images/sam/faad] Add 'faad' codec to test images



commit 23b959e6ba16634a298e26933afdcab8a98de9dc
Author: Sam Thursfield <sam afuera me uk>
Date:   Wed Jul 10 14:12:07 2019 +0100

    Add 'faad' codec to test images
    
    This is required to test our support for .m4a/.mp4 audio files.

 fedora/prepare.sh | 11 +++++++++++
 1 file changed, 11 insertions(+)
---
diff --git a/fedora/prepare.sh b/fedora/prepare.sh
index 5d75b64..a4997e5 100644
--- a/fedora/prepare.sh
+++ b/fedora/prepare.sh
@@ -16,6 +16,17 @@ dnf install -y libseccomp-devel
 dnf builddep -y tracker-miners
 dnf install -y gstreamer1-plugins-good
 
+# We need to test our support for .m4a/mp4. This requires the 'faad' codec,
+# which is distrubuted via rpmfusion as Red Hat considers it nonfree.
+#
+# Fedora 30 contains the fdk-aac-free codec, which would also suffice, but
+# the 'fdkaacdec' GStreamer plugin is not available in any of the packages
+# so it's not available for use by Tracker.
+#
+# 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-plugins-bad-nonfree
+
 # 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]