Launch ffplay on video and audio MIME types in Orbital programs

This commit is contained in:
Ribbon 2024-07-22 17:12:43 +00:00
parent 18d38bb15a
commit 34e07e31c7
2 changed files with 17 additions and 0 deletions

View File

@ -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

View File

@ -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"
"""