title: Is it possible to import the Gvc typelib outside of the Gnome Shell environment?
body: <p>I'd like to use Gvc (<a href="https://github.com/GNOME/libgnome-volume-control" rel="nofollow noreferrer">libgnome-volume-control</a>) <a href="https://github.com/GNOME/gnome-shell/blob/master/js/ui/status/volume.js" rel="nofollow noreferrer">as used in Gnome Shell</a> GIR in GJS, but can't find a way to access it except within the Gnome Shell environment (eg. a Gnome Shell extension). Actually, I can't even figure out where it is. Is this possible?</p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>In line with Philip Withnall's comment (about a hacky workaround), I have found it's possible to import like so:</p>
  
  <pre><code>const GIRepository = imports.gi.GIRepository;
  GIRepository.Repository.prepend_search_path("/usr/lib/gnome-shell");
  GIRepository.Repository.prepend_library_path("/usr/lib/gnome-shell");
  const Gvc = imports.gi.Gvc;
  </code></pre>