plex-mpv-shim: add mpv-shim-default-shaders
This commit is contained in:
parent
c2adda6f9d
commit
ca89dec4c3
|
@ -1,5 +1,5 @@
|
||||||
{ lib, buildPythonApplication, fetchFromGitHub, mpv, requests, python-mpv-jsonipc, pystray, tkinter
|
{ lib, buildPythonApplication, fetchFromGitHub, python, mpv, requests, python-mpv-jsonipc, pystray, tkinter
|
||||||
, wrapGAppsHook, gobject-introspection }:
|
, wrapGAppsHook, gobject-introspection, mpv-shim-default-shaders }:
|
||||||
|
|
||||||
buildPythonApplication rec {
|
buildPythonApplication rec {
|
||||||
pname = "plex-mpv-shim";
|
pname = "plex-mpv-shim";
|
||||||
|
@ -25,6 +25,11 @@ buildPythonApplication rec {
|
||||||
'';
|
'';
|
||||||
dontWrapGApps = true;
|
dontWrapGApps = true;
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
# put link to shaders where upstream package expects them
|
||||||
|
ln -s ${mpv-shim-default-shaders}/share/mpv-shim-default-shaders $out/${python.sitePackages}/plex_mpv_shim/default_shader_pack
|
||||||
|
'';
|
||||||
|
|
||||||
# does not contain tests
|
# does not contain tests
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
|
@ -33,5 +38,6 @@ buildPythonApplication rec {
|
||||||
description = "Allows casting of videos to MPV via the Plex mobile and web app";
|
description = "Allows casting of videos to MPV via the Plex mobile and web app";
|
||||||
maintainers = with maintainers; [ devusb ];
|
maintainers = with maintainers; [ devusb ];
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue