diff options
author | Aleksana <me@aleksana.moe> | 2024-04-28 12:45:25 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-28 12:45:25 +0800 |
commit | 02d9f2551ec0f42b28238c6c0ae81700f9e4a3d7 (patch) | |
tree | 1cc443eb5d6c00f73a99be0d0991eeadadc8490f | |
parent | 91376bd301d53d0946a5dfb8fb235cfbb7104382 (diff) | |
parent | e89f066f019405f2c9ba378480b79b8a8e1282cc (diff) |
Merge pull request #307224 from Aleksanaa/clapper
clapper: fix clappersink and remove unused wayland dependency
-rw-r--r-- | pkgs/applications/video/clapper/default.nix | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/pkgs/applications/video/clapper/default.nix b/pkgs/applications/video/clapper/default.nix index 97285e6e14159..b638bc3afd7df 100644 --- a/pkgs/applications/video/clapper/default.nix +++ b/pkgs/applications/video/clapper/default.nix @@ -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; }; }) |