clapper: add clappersink to gstreamer plugin path

This fixes
https://github.com/NixOS/nixpkgs/pull/306548#issuecomment-2080680392.
The gstreamer plugin provided in this package is also used by itself.
This commit is contained in:
aleksana 2024-04-27 22:20:18 +08:00
parent 2e0b0c2707
commit f271733dc4

View file

@ -65,6 +65,13 @@ stdenv.mkDerivation (finalAttrs: {
patchShebangs --build build-aux/meson/postinstall.py
'';
# The package uses "clappersink" provided by itself
preFixup = ''
gappsWrapperArgs+=(
--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : $out/lib/gstreamer-1.0
)
'';
meta = with lib; {
description = "A GNOME media player built using GTK4 toolkit and powered by GStreamer with OpenGL rendering";
longDescription = ''