makemkv: fix missing icon on Gnome
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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 = [
|
||||
|
||||
Reference in New Issue
Block a user