Ok, not really a Star Trek Food Replicator. But close.
Step 1: Package food: meat, vegetables, in sous vide packaging with either refrigerator-readable 2d bar codes or RFID tags. These would be sold frozen. They can be purchased and loaded into specially configured freezers-cookers. Requirements: standard packaging; automation readable labeling; appliance for storage (more requirements on this to follow); supplier of said packaged foods
Step 2. Based on a selected recipe, the appliance would select the appropriate packages from the freezer section. These would be cooked sous vide for the appropriate serving time. Requirements: appliance that can catalog, select vacuum packaged food; requirement to sous-vide cook said packaged food; ability to cook several food packages potentially at different cooking times; ability to open and serve different food packages onto serving plate.
Differences from Star Trek:
* food takes a long time to cook -- you need to select in advance
* food does not get created from nothing -- you need good wholesome ingredients here
* food tastes really good :-)