cosmic-player: wrap with GST_PLUGIN_SYSTEM_PATH_1_0

gst_all_1.gstreamer populates GST_PLUGIN_SYSTEM_PATH_1_0, but
it is not automatically wrapped with the binary of the package
This commit is contained in:
Heitor Augusto
2025-02-26 16:44:42 -03:00
parent f622612445
commit 1b3898d06e
@@ -66,6 +66,10 @@ rustPlatform.buildRustPackage rec {
"target/${stdenv.hostPlatform.rust.cargoShortTarget}/release/cosmic-player"
];
postInstall = ''
libcosmicAppWrapperArgs+=(--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0")
'';
meta = {
homepage = "https://github.com/pop-os/cosmic-player";
description = "Media player for the COSMIC Desktop Environment";