mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-22 15:25:58 +01:00
flake & meson: 0.7.0 -> 0.8.1
nix: add legacyRenderer option
This commit is contained in:
parent
427bc35b6b
commit
b2627c05c4
3 changed files with 9 additions and 5 deletions
|
@ -33,7 +33,7 @@
|
||||||
});
|
});
|
||||||
hyprland = prev.callPackage ./nix/default.nix {
|
hyprland = prev.callPackage ./nix/default.nix {
|
||||||
stdenv = prev.gcc12Stdenv;
|
stdenv = prev.gcc12Stdenv;
|
||||||
version = "0.7.0beta" + "+date=" + (mkDate (self.lastModifiedDate or "19700101"));
|
version = "0.8.1beta" + "+date=" + (mkDate (self.lastModifiedDate or "19700101"));
|
||||||
wlroots = wlroots-hyprland;
|
wlroots = wlroots-hyprland;
|
||||||
};
|
};
|
||||||
hyprland-debug = hyprland.override {debug = true;};
|
hyprland-debug = hyprland.override {debug = true;};
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
project('Hyprland', 'cpp', 'c',
|
project('Hyprland', 'cpp', 'c',
|
||||||
version : '0.7.0beta',
|
version : '0.8.1beta',
|
||||||
default_options : ['warning_level=2', 'default_library=static', 'optimization=3'])
|
default_options : ['warning_level=2', 'default_library=static', 'optimization=3'])
|
||||||
|
|
||||||
add_global_arguments('-std=c++23', language: 'cpp')
|
add_global_arguments('-std=c++23', language: 'cpp')
|
||||||
|
|
|
@ -18,9 +18,10 @@
|
||||||
wlroots,
|
wlroots,
|
||||||
xcbutilwm,
|
xcbutilwm,
|
||||||
xwayland,
|
xwayland,
|
||||||
enableXWayland ? true,
|
|
||||||
version ? "git",
|
|
||||||
debug ? false,
|
debug ? false,
|
||||||
|
enableXWayland ? true,
|
||||||
|
legacyRenderer ? false,
|
||||||
|
version ? "git",
|
||||||
}:
|
}:
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
pname = "hyprland" + lib.optionalString debug "-debug";
|
pname = "hyprland" + lib.optionalString debug "-debug";
|
||||||
|
@ -54,7 +55,10 @@ stdenv.mkDerivation {
|
||||||
then "debug"
|
then "debug"
|
||||||
else "release";
|
else "release";
|
||||||
|
|
||||||
mesonFlags = lib.optional (!enableXWayland) "-DNO_XWAYLAND=true";
|
mesonFlags = builtins.concatLists [
|
||||||
|
(lib.optional (!enableXWayland) "-DNO_XWAYLAND=true")
|
||||||
|
(lib.optional (legacyRenderer) "-DLEGACY_RENDERER:STRING=true")
|
||||||
|
];
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
# make meson use the provided wlroots instead of the git submodule
|
# make meson use the provided wlroots instead of the git submodule
|
||||||
|
|
Loading…
Reference in a new issue