Unverified Commit 1c522428 authored by Peder Bergebakken Sundt's avatar Peder Bergebakken Sundt Committed by GitHub
Browse files

treewide: fix `desktopItems` (#345778)

parents 35b34008 94ceb855
Loading
Loading
Loading
Loading
+13 −11
Original line number Diff line number Diff line
@@ -44,7 +44,8 @@ buildDotnetModule rec {
    gm convert $src/GalaxyBudsClient/Resources/icon_white.ico $out/share/icons/hicolor/256x256/apps/${meta.mainProgram}.png
  '';

  desktopItems = makeDesktopItem {
  desktopItems = [
    (makeDesktopItem {
      name = meta.mainProgram;
      exec = meta.mainProgram;
      icon = meta.mainProgram;
@@ -54,7 +55,8 @@ buildDotnetModule rec {
      type = "Application";
      categories = [ "Settings" ];
      startupNotify = true;
  };
    })
  ];

  meta = with lib; {
    mainProgram = "GalaxyBudsClient";
+14 −12
Original line number Diff line number Diff line
@@ -11,7 +11,8 @@ stdenv.mkDerivation rec {

  nativeBuildInputs = [ makeWrapper copyDesktopItems ];

  desktopItems = makeDesktopItem {
  desktopItems = [
    (makeDesktopItem {
      type = "Application";
      name = pname;
      desktopName = "Conduktor";
@@ -22,7 +23,8 @@ stdenv.mkDerivation rec {
        sha256 = "0s7p74qclvac8xj2m22gfxx5m2c7cf0nqpk5sb049p2wvryhn2j4";
      };
      comment = "A beautiful and fully-featured desktop client for Apache Kafka";
  };
    })
  ];

  dontConfigure = true;
  dontBuild = true;
+10 −8
Original line number Diff line number Diff line
@@ -33,14 +33,16 @@ stdenv.mkDerivation rec {
    runHook postInstall
  '';

  desktopItems = makeDesktopItem {
  desktopItems = [
    (makeDesktopItem {
      name = pname;
      exec = pname;
      icon = pname;
      comment = "iNavFlight configuration tool";
      desktopName = "iNav Configurator";
      genericName = "Flight controller configuration tool";
  };
    })
  ];

  meta = with lib; {
    description = "INav flight control system configuration tool";
+17 −15
Original line number Diff line number Diff line
@@ -59,7 +59,8 @@ flutter324.buildFlutterApplication rec {

  # Based on https://github.com/ente-io/ente/blob/main/auth/linux/packaging/rpm/make_config.yaml
  # and https://github.com/ente-io/ente/blob/main/auth/linux/packaging/ente_auth.appdata.xml
  desktopItems = makeDesktopItem {
  desktopItems = [
    (makeDesktopItem {
      name = "ente_auth";
      exec = "ente_auth";
      icon = "ente-auth";
@@ -73,7 +74,8 @@ flutter324.buildFlutterApplication rec {
      ];
      mimeTypes = [ "x-scheme-handler/enteauth" ];
      startupNotify = false;
  };
    })
  ];

  postInstall = ''
    FAV=$out/app/data/flutter_assets/assets/icons/auth-icon.png
+10 −8
Original line number Diff line number Diff line
@@ -43,14 +43,16 @@ mkCoqDerivation rec {
    runHook postInstall
  '';

  desktopItems = makeDesktopItem {
  desktopItems = [
    (makeDesktopItem {
      name = "coqide";
      exec = "coqide";
      icon = "coq";
      desktopName = "CoqIDE";
      comment = "Graphical interface for the Coq proof assistant";
      categories = [ "Development" "Science" "Math" "IDE" "GTK" ];
  };
    })
  ];

  meta = with lib; {
    homepage = "https://coq.inria.fr";
Loading