Compare commits
No commits in common. "8f646f91615843a4623eb7b397655900c5958c6e" and "4f848d384c52044d3c45af44a45d8e80f470faaf" have entirely different histories.
8f646f9161
...
4f848d384c
@ -56,7 +56,8 @@
|
||||
];
|
||||
};
|
||||
in {
|
||||
inherit (pkgs) gamescope;
|
||||
# key-mapper only runs on linux
|
||||
inherit (pkgs) key-mapper;
|
||||
};
|
||||
});
|
||||
}
|
||||
|
@ -162,6 +162,7 @@ in {
|
||||
yakuake
|
||||
] ++ lib.optionals cfg.mobile.enable plasmaMobilePackages;
|
||||
packages = with pkgs; [
|
||||
kde-rounded-corners
|
||||
index-fm
|
||||
rsibreak
|
||||
kalendar
|
||||
|
@ -22,7 +22,8 @@ in {
|
||||
|
||||
steam-wrapped # Custom package
|
||||
|
||||
gamescope
|
||||
# Broken
|
||||
# gamescope
|
||||
|
||||
corectrl
|
||||
];
|
||||
|
@ -88,6 +88,4 @@ in {
|
||||
};
|
||||
|
||||
sddm-sugar-dark = prev.callPackage themes/sddm/sugar-dark {};
|
||||
|
||||
gamescope = prev.callPackage temp/gamescope.nix {};
|
||||
}
|
||||
|
@ -1,96 +0,0 @@
|
||||
# From https://github.com/Jovian-Experiments/Jovian-NixOS/blob/d27526e7917671ad3a64f823f4b95b761f96807d/pkgs/gamescope/default.nix
|
||||
{ stdenv
|
||||
, fetchFromGitHub
|
||||
|
||||
, meson
|
||||
, pkg-config
|
||||
, cmake
|
||||
, ninja
|
||||
|
||||
, xorg
|
||||
, libdrm
|
||||
, vulkan-loader
|
||||
, wayland
|
||||
, wayland-protocols
|
||||
, libxkbcommon
|
||||
, libcap
|
||||
, SDL2
|
||||
, pipewire
|
||||
, mesa
|
||||
, udev
|
||||
, pixman
|
||||
, libinput
|
||||
, libseat
|
||||
, xwayland
|
||||
, glslang
|
||||
|
||||
, stb
|
||||
, wlroots
|
||||
, libliftoff
|
||||
}:
|
||||
|
||||
let
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
pname = "gamescope";
|
||||
version = "3.11.28-beta4";
|
||||
src = fetchFromGitHub {
|
||||
owner = "Plagman";
|
||||
repo = "gamescope";
|
||||
rev = "refs/tags/3.11.28-beta4";
|
||||
hash = "sha256-3L3bQIPPfScvtN1dduh10dQu/AuTmD4dHNp3JjBIBLA=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
xorg.libX11
|
||||
xorg.libXdamage
|
||||
xorg.libXcomposite
|
||||
xorg.libXrender
|
||||
xorg.libXext
|
||||
xorg.libXxf86vm
|
||||
xorg.libXtst
|
||||
xorg.libXres
|
||||
libdrm
|
||||
vulkan-loader
|
||||
wayland
|
||||
wayland-protocols
|
||||
libxkbcommon
|
||||
libcap
|
||||
SDL2
|
||||
pipewire
|
||||
mesa
|
||||
udev
|
||||
pixman
|
||||
libinput
|
||||
libseat
|
||||
xwayland
|
||||
xorg.xcbutilwm
|
||||
xorg.xcbutilerrors
|
||||
glslang
|
||||
xorg.libXi
|
||||
];
|
||||
|
||||
prePatch = ''
|
||||
echo ":: Copying stb"
|
||||
cp -vr "${stb.src}" subprojects/stb
|
||||
chmod -R +w subprojects/stb
|
||||
cp "subprojects/packagefiles/stb/meson.build" "subprojects/stb/"
|
||||
echo ":: Copying wlroots"
|
||||
rmdir subprojects/wlroots
|
||||
cp -vr "${wlroots.src}" subprojects/wlroots
|
||||
chmod -R +w subprojects/wlroots
|
||||
echo ":: Copying libliftoff"
|
||||
rmdir subprojects/libliftoff
|
||||
cp -vr "${libliftoff.src}" subprojects/libliftoff
|
||||
chmod -R +w subprojects/libliftoff
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
meson
|
||||
pkg-config
|
||||
ninja
|
||||
];
|
||||
|
||||
dontUseCmakeConfigure = true;
|
||||
}
|
Loading…
Reference in New Issue
Block a user