mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
Merge pull request #10003 from gebner/qutebrowser-youtube
qutebrowser: youtube support
This commit is contained in:
commit
d9b4d81a39
2 changed files with 10 additions and 3 deletions
|
@ -1,4 +1,5 @@
|
|||
{ stdenv, fetchgit, python, buildPythonPackage, qt5, pyqt5, jinja2, pygments, pyyaml, pypeg2 }:
|
||||
{ stdenv, fetchgit, python, buildPythonPackage, qt5, pyqt5, jinja2, pygments, pyyaml, pypeg2,
|
||||
gst_plugins_base, gst_plugins_good, gst_ffmpeg }:
|
||||
|
||||
let version = "0.4.0"; in
|
||||
|
||||
|
@ -19,6 +20,12 @@ buildPythonPackage {
|
|||
python pyyaml pyqt5 jinja2 pygments pypeg2
|
||||
];
|
||||
|
||||
makeWrapperArgs = ''
|
||||
--prefix GST_PLUGIN_PATH : "${stdenv.lib.makeSearchPath "lib/gstreamer-0.10"
|
||||
[ gst_plugins_base gst_plugins_good gst_ffmpeg ]}"
|
||||
--prefix QT_PLUGIN_PATH : "${qt5.multimedia}/lib/qt5/plugins"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = https://github.com/The-Compiler/qutebrowser;
|
||||
description = "Keyboard-focused browser with a minimal GUI";
|
||||
|
|
|
@ -152,7 +152,7 @@ let
|
|||
|
||||
multimedia = callPackage
|
||||
(
|
||||
{ qtSubmodule, base, declarative
|
||||
{ qtSubmodule, base, declarative, pkgconfig
|
||||
, alsaLib, gstreamer, gst_plugins_base, libpulseaudio
|
||||
}:
|
||||
|
||||
|
@ -160,7 +160,7 @@ let
|
|||
name = "qtmultimedia";
|
||||
qtInputs = [ base declarative ];
|
||||
buildInputs = [
|
||||
alsaLib gstreamer gst_plugins_base libpulseaudio
|
||||
pkgconfig alsaLib gstreamer gst_plugins_base libpulseaudio
|
||||
];
|
||||
}
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue