lisgd + wvkbd
This commit is contained in:
parent
adbe4541cb
commit
6d345f43d4
36 changed files with 31637 additions and 0 deletions
52
packages/wvkbd/package.nix
Normal file
52
packages/wvkbd/package.nix
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
{
|
||||
clangStdenv,
|
||||
lib,
|
||||
wayland-scanner,
|
||||
wayland,
|
||||
pango,
|
||||
glib,
|
||||
harfbuzz,
|
||||
cairo,
|
||||
pkg-config,
|
||||
libxkbcommon,
|
||||
scdoc,
|
||||
layout ? "vistath",
|
||||
}:
|
||||
|
||||
clangStdenv.mkDerivation {
|
||||
pname = "wvkbd";
|
||||
version = "0.16";
|
||||
|
||||
src = ./.;
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace Makefile \
|
||||
--replace-fail "pkg-config" "$PKG_CONFIG"
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
scdoc
|
||||
wayland-scanner
|
||||
];
|
||||
buildInputs = [
|
||||
cairo
|
||||
glib
|
||||
harfbuzz
|
||||
libxkbcommon
|
||||
pango
|
||||
wayland
|
||||
];
|
||||
installFlags = [ "PREFIX=$(out)" ];
|
||||
makeFlags = [ "LAYOUT=${layout}" ];
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/ckgxrg-salt/wvkbd";
|
||||
description = "On-screen keyboard for wlroots";
|
||||
platforms = platforms.linux;
|
||||
license = licenses.gpl3Plus;
|
||||
mainProgram = "wvkbd-vistath";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue