gst-device-monitor: wrap with required gst-plugins-base
runtime dependency
This commit is contained in:
parent
7fd527c9d6
commit
e3a20477f7
|
@ -1,9 +1,22 @@
|
|||
# gst-device-monitor: gstreamer debugging tool.
|
||||
# - `gst-device-monitor-1.0 Audio/Sink` #< show all audio sinks
|
||||
# - `gst-device-monitor-1.0 Audio/Source` #< show all audio sources (microphones)
|
||||
# - `gst-device-monitor-1.0 Video/Source` #< show all video sources (cameras)
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
sane.programs.gst-device-monitor = {
|
||||
packageUnwrapped = pkgs.linkIntoOwnPackage pkgs.gst_all_1.gst-plugins-base [
|
||||
packageUnwrapped = (pkgs.linkIntoOwnPackage pkgs.gst_all_1.gst-plugins-base [
|
||||
"bin/gst-device-monitor-1.0"
|
||||
"share/man/man1/gst-device-monitor-1.0.1.gz"
|
||||
];
|
||||
]).overrideAttrs (base: {
|
||||
# XXX the binaries need `GST_PLUGIN_SYSTEM_PATH_1_0` set to function,
|
||||
# but nixpkgs doesn't set those (TODO: upstream this!)
|
||||
nativeBuildInputs = (base.nativeBuildInputs or []) ++ [
|
||||
pkgs.wrapGAppsNoGuiHook
|
||||
];
|
||||
buildInputs = (base.buildInputs or []) ++ [
|
||||
pkgs.gst_all_1.gst-plugins-base
|
||||
];
|
||||
});
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user