makemkv: fix missing icon on Gnome

This commit is contained in:
Maddy Guthridge
2026-06-14 16:48:08 -04:00
committed by Michael Daniels
parent 588f70263b
commit 656e11ac2d
2 changed files with 20 additions and 1 deletions
+14
View File
@@ -0,0 +1,14 @@
diff --git a/makemkvgui/src/main.cpp b/makemkvgui/src/main.cpp
index 73ce457..71f822c 100644
--- a/makemkvgui/src/main.cpp
+++ b/makemkvgui/src/main.cpp
@@ -65,6 +65,9 @@ int qMain(int argc, char **argv)
#if (QT_VERSION > 0x050000)
QCoreApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
#endif
+ // Ensure the app-id ('makemkv') is set, so that GNOME can show
+ // the correct icon in the dash.
+ QGuiApplication::setDesktopFileName("makemkv");
CApClient::ITransport* p_trans = NULL;
+6 -1
View File
@@ -43,7 +43,12 @@ stdenv.mkDerivation (
srcs = lib.attrValues finalAttrs.passthru.srcs;
sourceRoot = "makemkv-oss-${version}";
patches = [ ./r13y.patch ];
patches = [
./r13y.patch
# This patch is sourced from NonGuix, licensed GPLv3:
# https://gitlab.com/nonguix/nonguix/-/blob/2d1f3691546f007c7cd96ae87e4e970fed789182/nongnu/packages/patches/makemkv-app-id.patch
./app-id.patch
];
enableParallelBuilding = true;
nativeBuildInputs = [