diff --git a/pkgs/soundux/default.nix b/pkgs/soundux/default.nix index cb20ce6..120ea9d 100644 --- a/pkgs/soundux/default.nix +++ b/pkgs/soundux/default.nix @@ -1,5 +1,5 @@ { - lib, stdenv, fetchFromGitHub, cmake, ninja, pkg-config, makeWrapper, wrapGAppsHook, + lib, stdenv, fetchFromGitHub, cmake, ninja, pkg-config, makeWrapper, wrapGAppsHook, makeDesktopItem, copyDesktopItems, libappindicator-gtk3, openssl, pipewire, pulseaudio, webkitgtk, xorg, libpulseaudio, libwnck3, downloaderSupport ? true, ffmpeg, youtube-dl @@ -37,7 +37,8 @@ stdenv.mkDerivation rec { ${lib.optionalString downloaderSupport "--prefix PATH \":\" " + downloaderPath} ''; - nativeBuildInputs = [ cmake ninja pkg-config makeWrapper wrapGAppsHook ]; + nativeBuildInputs = [ cmake ninja pkg-config makeWrapper wrapGAppsHook copyDesktopItems ]; + buildInputs = [ libappindicator-gtk3 openssl @@ -48,6 +49,15 @@ stdenv.mkDerivation rec { xorg.libXtst ]; + desktopItems = makeDesktopItem { + name = "Soundux"; + exec = pname; + desktopName = "Soundux"; + genericName = "Soundboard"; + categories = "Audio;Music;Player;AudioVideo;"; + comment = "A universal soundboard that uses PulseAudio modules or PipeWire linking"; + }; + meta = with lib; { homepage = "https://soundux.rocks/"; description = "cross-platform soundboard";