From 34e07e31c747de7993d015df5abefe363bb4d352 Mon Sep 17 00:00:00 2001 From: Ribbon <ribbon_45@proton.me> Date: Mon, 22 Jul 2024 17:12:43 +0000 Subject: [PATCH] Launch ffplay on video and audio MIME types in Orbital programs --- recipes/libs/ffmpeg6/manifest | 15 +++++++++++++++ recipes/libs/ffmpeg6/recipe.toml | 2 ++ 2 files changed, 17 insertions(+) create mode 100644 recipes/libs/ffmpeg6/manifest diff --git a/recipes/libs/ffmpeg6/manifest b/recipes/libs/ffmpeg6/manifest new file mode 100644 index 000000000..eba3e599e --- /dev/null +++ b/recipes/libs/ffmpeg6/manifest @@ -0,0 +1,15 @@ +name=ffplay +binary=/usr/bin/ffplay +accept=*.mp3 +accept=*.ogg +accept=*.opus +accept=*.m4a +accept=*.flac +accept=*.wav +accept=*.mp4 +accept=*.mkv +accept=*.webm +accept=*.3gp +accept=*.mov +author=FFMPEG Developers +description=FFMPEG Media Player diff --git a/recipes/libs/ffmpeg6/recipe.toml b/recipes/libs/ffmpeg6/recipe.toml index c31a11c29..587426bf6 100644 --- a/recipes/libs/ffmpeg6/recipe.toml +++ b/recipes/libs/ffmpeg6/recipe.toml @@ -30,4 +30,6 @@ COOKBOOK_CONFIGURE_FLAGS=( --enable-decoder=png ) cookbook_configure +mkdir -pv "${COOKBOOK_STAGE}/ui/apps" +cp -v "${COOKBOOK_RECIPE}/manifest" "${COOKBOOK_STAGE}/ui/apps/ffplay" """ -- GitLab