Merge pull request #299044 from arthsmn/xwayland-run-update
xwayland-run: 0.0.2 -> 0.0.3
This commit is contained in:
commit
261c11bc2d
|
@ -1,6 +1,4 @@
|
||||||
{ cage
|
{ fetchFromGitLab
|
||||||
, fetchFromGitLab
|
|
||||||
, gnome
|
|
||||||
, lib
|
, lib
|
||||||
, meson
|
, meson
|
||||||
, ninja
|
, ninja
|
||||||
|
@ -8,25 +6,28 @@
|
||||||
, weston
|
, weston
|
||||||
, xorg
|
, xorg
|
||||||
, xwayland
|
, xwayland
|
||||||
, withMutter ? false
|
, withCage ? false , cage
|
||||||
, withCage ? false
|
, withKwin ? false , kdePackages
|
||||||
|
, withMutter ? false, gnome
|
||||||
|
, withDbus ? withMutter , dbus # Since 0.0.3, mutter compositors run with their own DBUS sessions
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
compositors = [ weston ]
|
compositors = [ weston ]
|
||||||
++ lib.optional withMutter gnome.mutter
|
|
||||||
++ lib.optional withCage cage
|
++ lib.optional withCage cage
|
||||||
|
++ lib.optional withKwin kdePackages.kwin
|
||||||
|
++ lib.optional withMutter gnome.mutter ++ lib.optional withDbus dbus
|
||||||
;
|
;
|
||||||
in
|
in
|
||||||
python3.pkgs.buildPythonApplication rec {
|
python3.pkgs.buildPythonApplication rec {
|
||||||
pname = "xwayland-run";
|
pname = "xwayland-run";
|
||||||
version = "0.0.2";
|
version = "0.0.3";
|
||||||
|
|
||||||
src = fetchFromGitLab {
|
src = fetchFromGitLab {
|
||||||
domain = "gitlab.freedesktop.org";
|
domain = "gitlab.freedesktop.org";
|
||||||
owner = "ofourdan";
|
owner = "ofourdan";
|
||||||
repo = "xwayland-run";
|
repo = "xwayland-run";
|
||||||
rev = version;
|
rev = version;
|
||||||
hash = "sha256-+HdRLIizEdtKWD8HadQQf750e2t1AWa14U/Xwu3xPK4=";
|
hash = "sha256-yYULbbcFDT1zRFn1UWS0dyuchGYnOZypDmxqc14RYF4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
pyproject = false;
|
pyproject = false;
|
||||||
|
@ -38,7 +39,6 @@ python3.pkgs.buildPythonApplication rec {
|
||||||
ninja
|
ninja
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
wrapProgram $out/bin/wlheadless-run \
|
wrapProgram $out/bin/wlheadless-run \
|
||||||
--prefix PATH : ${lib.makeBinPath compositors}
|
--prefix PATH : ${lib.makeBinPath compositors}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user