From 65b9c07c998a11348dd67064fc821d0cc8062639 Mon Sep 17 00:00:00 2001 From: Jeremy Soller <jackpot51@gmail.com> Date: Thu, 7 Mar 2024 19:10:45 -0700 Subject: [PATCH] Add WIP cosmic-player --- recipes/wip/tools/cosmic-player/manifest | 10 ++++++++++ recipes/wip/tools/cosmic-player/recipe.toml | 20 ++++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 recipes/wip/tools/cosmic-player/manifest create mode 100644 recipes/wip/tools/cosmic-player/recipe.toml diff --git a/recipes/wip/tools/cosmic-player/manifest b/recipes/wip/tools/cosmic-player/manifest new file mode 100644 index 00000000..7b4df7ce --- /dev/null +++ b/recipes/wip/tools/cosmic-player/manifest @@ -0,0 +1,10 @@ +name=COSMIC Media Player +binary=/usr/bin/cosmic-player +icon=/ui/icons/apps/multimedia-photo-viewer.png +author=Jeremy Soller +description=COSMIC Media Player +accept=*.avi +accept=*.mkv +accept=*.mov +accept=*.mp4 +accept=*.ogv diff --git a/recipes/wip/tools/cosmic-player/recipe.toml b/recipes/wip/tools/cosmic-player/recipe.toml new file mode 100644 index 00000000..bd26691a --- /dev/null +++ b/recipes/wip/tools/cosmic-player/recipe.toml @@ -0,0 +1,20 @@ +[source] +git = "https://github.com/pop-os/cosmic-player.git" +branch = "master" + +[build] +dependencies = [ + "ffmpeg6", + "liborbital", + "llvm", + "mesa", + "sdl2", + "zlib", +] +template = "custom" +script = """ +unset CC +cookbook_cargo --no-default-features --features static --verbose +mkdir -pv "${COOKBOOK_STAGE}/ui/apps" +cp -v "${COOKBOOK_RECIPE}/manifest" "${COOKBOOK_STAGE}/ui/apps/cosmic-player" +""" -- GitLab