add looking-glass package with client formulae
This commit is contained in:
@@ -0,0 +1,59 @@
|
||||
{
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
cmake,
|
||||
pkg-config,
|
||||
wayland-scanner,
|
||||
fontconfig,
|
||||
expat,
|
||||
wayland,
|
||||
libxkbcommon,
|
||||
libGL,
|
||||
pipewire,
|
||||
libsamplerate,
|
||||
spice-protocol,
|
||||
nettle,
|
||||
libffi,
|
||||
libx11,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "looking-glass";
|
||||
version = "4bb2c58fb6d0df9e863ad45924dd4decc7e9cf4e";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "gnif";
|
||||
repo = "LookingGlass";
|
||||
rev = "4bb2c58fb6d0df9e863ad45924dd4decc7e9cf4e";
|
||||
hash = "sha256-Dc0sFnJVM0xJ0FfIQqGQKxFUj6mhp3qgB772h3Dgowc";
|
||||
fetchSubmodules = true;
|
||||
leaveDotGit = false;
|
||||
};
|
||||
|
||||
|
||||
nativeBuildInputs = [ cmake pkg-config wayland-scanner ];
|
||||
buildInputs = [
|
||||
fontconfig
|
||||
expat
|
||||
wayland
|
||||
libxkbcommon
|
||||
libGL
|
||||
pipewire
|
||||
libsamplerate
|
||||
spice-protocol
|
||||
nettle
|
||||
libffi
|
||||
libx11
|
||||
];
|
||||
|
||||
cmakeDir = "../client";
|
||||
|
||||
cmakeFlags = [
|
||||
"-DENABLE_BACKTRACE=no"
|
||||
"-DENABLE_WAYLAND=yes"
|
||||
"-DENABLE_PIPEWIRE=yes"
|
||||
"-DENABLE_PULSEAUDIO=no"
|
||||
"-DENABLE_X11=no"
|
||||
"-DOPTIMIZE_FOR_NATIVE=x86-64-v3"
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user