Commit f271733d authored by aleksana's avatar aleksana
Browse files

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.
parent 2e0b0c27
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -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 = ''