mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-11-15 13:22:19 +01:00
nix/recorder holds the native packages and checks of macOS and Linux (the recorder and the sources it indexes are the "recorder" platform of nix/workspace-src.nix), the Windows build has it as one of its members, and the dev shell gets ffmpeg, resvg and GStreamer. The flake inputs komorebi-mac and komorebi-windows are gone: the sources are in the tree.
32 lines
902 B
Nix
32 lines
902 B
Nix
# What komorebi-recorder needs of the system on Linux: the packages and libraries, for its build, its
|
|
# wrapper and the dev shell.
|
|
{ pkgs }:
|
|
rec {
|
|
# what GStreamer needs: the libraries to link, and the plugins that decode (libav, for H.264 and
|
|
# HEVC) and encode (x264, in ugly) the recorded video
|
|
gstreamerPackages = with pkgs.gst_all_1; [
|
|
gstreamer
|
|
gst-plugins-base
|
|
gst-plugins-good
|
|
gst-plugins-bad
|
|
gst-plugins-ugly
|
|
gst-libav
|
|
pkgs.pipewire
|
|
];
|
|
|
|
gstreamerPluginPath = pkgs.lib.makeSearchPathOutput "lib" "lib/gstreamer-1.0" gstreamerPackages;
|
|
|
|
# the libraries the program opens when it needs them: Wayland, for the compositor and the window,
|
|
# and what the window draws through
|
|
linuxRuntimeLibraries = [
|
|
pkgs.wayland
|
|
pkgs.libxkbcommon
|
|
pkgs.libGL
|
|
pkgs.vulkan-loader
|
|
pkgs.libx11
|
|
pkgs.libxcursor
|
|
pkgs.libxi
|
|
pkgs.libxrandr
|
|
];
|
|
}
|