1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00

lxqt.lxqt-wayland-session: 0.1.0 -> 0.1.1

Diff: https://github.com/lxqt/lxqt-wayland-session/compare/0.1.0...0.1.1
This commit is contained in:
José Romildo 2024-11-26 07:44:37 -03:00
parent af51545ec9
commit f2a0dc5399

View file

@ -4,12 +4,15 @@
fetchFromGitHub,
cmake,
kwindowsystem,
layer-shell-qt,
liblxqt,
libqtxdg,
lxqt-build-tools,
lxqt-session,
pkg-config,
qtsvg,
qttools,
qtxdg-tools,
xdg-user-dirs,
xkeyboard_config,
gitUpdater,
@ -17,13 +20,13 @@
stdenv.mkDerivation rec {
pname = "lxqt-wayland-session";
version = "0.1.0";
version = "0.1.1";
src = fetchFromGitHub {
owner = "lxqt";
repo = "lxqt-wayland-session";
rev = version;
hash = "sha256-5WdfwJ89HWlXL6y9Lpgs7H3mbN/wbf+9VbP9ERPasBM=";
hash = "sha256-UMlV8LqUXM2+3ZSLj30FFgC+ZVPmt2W8uE2RrZKqCJE=";
};
nativeBuildInputs = [
@ -35,15 +38,19 @@ stdenv.mkDerivation rec {
buildInputs = [
kwindowsystem
layer-shell-qt # for applications that need layer-shell-qt (ex: lxqt-panel)
liblxqt
libqtxdg
lxqt-session
qtsvg
xdg-user-dirs
qtxdg-tools # allow to use xdg-utils under LXQt, similar to https://github.com/lxqt/lxqt-session/blob/2.0.0/CHANGELOG#L27
xdg-user-dirs # startlxqtwayland sets XDG_CURRENT_DESKTOP
];
postPatch = ''
substituteInPlace startlxqtwayland.in \
--replace-fail /usr/share/X11/xkb/rules ${xkeyboard_config}/share/X11/xkb/rules
--replace-fail /usr/share/X11/xkb/rules ${xkeyboard_config}/share/X11/xkb/rules \
--replace-fail "cp -av " "cp -av --no-preserve=mode "
substituteInPlace configurations/{labwc/autostart,lxqt-hyprland.conf,lxqt-wayfire.ini} \
--replace-fail /usr/share/lxqt/wallpapers $out/share/lxqt/wallpapers