Merge pull request #307224 from Aleksanaa/clapper

clapper: fix clappersink and remove unused wayland dependency
This commit is contained in:
Aleksana 2024-04-28 12:45:25 +08:00 committed by GitHub
commit 02d9f2551e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 8 additions and 5 deletions

View File

@ -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;
};
})