Merge pull request #290070 from rafaelrc7/stremio/missing-dependencies
stremio: add ffmpeg as runtime dependency to PATH
This commit is contained in:
commit
b58ef707f5
1 changed files with 13 additions and 2 deletions
|
@ -1,5 +1,14 @@
|
|||
{ lib, stdenv, fetchurl, fetchFromGitHub, qmake, wrapQtAppsHook
|
||||
, mpv, qtwebengine, qtwebchannel, nodejs
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, fetchurl
|
||||
, ffmpeg
|
||||
, mpv
|
||||
, nodejs
|
||||
, qmake
|
||||
, qtwebchannel
|
||||
, qtwebengine
|
||||
, wrapQtAppsHook
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
@ -30,6 +39,8 @@ stdenv.mkDerivation rec {
|
|||
install -Dm 644 images/stremio_window.png $out/share/pixmaps/smartcode-stremio.png
|
||||
ln -s ${nodejs}/bin/node $out/opt/stremio/node
|
||||
ln -s $server $out/opt/stremio/server.js
|
||||
wrapProgram $out/bin/stremio \
|
||||
--suffix PATH ":" ${lib.makeBinPath [ ffmpeg ]}
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
|
Loading…
Reference in a new issue