mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
davinci-resolve: add icon to desktop item
This commit is contained in:
parent
51e585c476
commit
5ff3569dc8
@ -169,7 +169,7 @@ let
|
||||
desktopName = "Davinci Resolve${lib.optionalString studioVariant " Studio"}";
|
||||
genericName = "Video Editor";
|
||||
exec = "davinci-resolve${lib.optionalString studioVariant "-studio"}";
|
||||
# icon = "DV_Resolve";
|
||||
icon = "davinci-resolve${lib.optionalString studioVariant "-studio"}";
|
||||
comment = "Professional video editing, color, effects and audio post-processing";
|
||||
categories = [
|
||||
"AudioVideo"
|
||||
@ -255,8 +255,9 @@ buildFHSEnv {
|
||||
}";
|
||||
|
||||
extraInstallCommands = ''
|
||||
mkdir -p $out/share/applications
|
||||
mkdir -p $out/share/applications $out/share/icons/hicolor/128x128/apps
|
||||
ln -s ${davinci}/share/applications/*.desktop $out/share/applications/
|
||||
ln -s ${davinci}/graphics/DV_Resolve.png $out/share/icons/hicolor/128x128/apps/davinci-resolve${lib.optionalString studioVariant "-studio"}.png
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
|
Loading…
Reference in New Issue
Block a user