Unverified Commit 02d9f255 authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

Merge pull request #307224 from Aleksanaa/clapper

clapper: fix clappersink and remove unused wayland dependency
parents 91376bd3 e89f066f
Loading
Loading
Loading
Loading
+8 −5
Original line number Diff line number Diff line
@@ -5,8 +5,6 @@
, gobject-introspection
, pkg-config
, ninja
, wayland
, wayland-protocols
, desktop-file-utils
, makeWrapper
, shared-mime-info
@@ -56,8 +54,6 @@ stdenv.mkDerivation (finalAttrs: {
    libGL
    libadwaita
    libsoup_3
    wayland
    wayland-protocols
    libmicrodns
  ];

@@ -65,6 +61,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 = ''
@@ -73,7 +76,7 @@ stdenv.mkDerivation (finalAttrs: {
    '';
    homepage = "https://github.com/Rafostar/clapper";
    license = licenses.gpl3Plus;
    maintainers = with maintainers; [ ];
    maintainers = with maintainers; [ aleksana ];
    platforms = platforms.linux;
  };
})