Skip to content

Commit

Permalink
lxqt.lxqt-wayland-session: init at 0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
romildo committed Nov 8, 2024
1 parent 5fff027 commit 081c639
Show file tree
Hide file tree
Showing 2 changed files with 72 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkgs/desktops/lxqt/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ let
lxqt-session = callPackage ./lxqt-session {};
lxqt-sudo = callPackage ./lxqt-sudo {};
lxqt-themes = callPackage ./lxqt-themes {};
lxqt-wayland-session = callPackage ./lxqt-wayland-session {};
pavucontrol-qt = callPackage ./pavucontrol-qt {};
qtermwidget = callPackage ./qtermwidget {};

Expand Down Expand Up @@ -114,6 +115,7 @@ let
lxqt-session
lxqt-sudo
lxqt-themes
lxqt-wayland-session
pavucontrol-qt

### CORE 2
Expand Down
70 changes: 70 additions & 0 deletions pkgs/desktops/lxqt/lxqt-wayland-session/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
{
lib,
stdenv,
fetchFromGitHub,
cmake,
kwindowsystem,
liblxqt,
libqtxdg,
lxqt-build-tools,
pkg-config,
qtsvg,
qttools,
xdg-user-dirs,
xkeyboard_config,
gitUpdater,
}:

stdenv.mkDerivation rec {
pname = "lxqt-wayland-session";
version = "0.1.0";

src = fetchFromGitHub {
owner = "lxqt";
repo = "lxqt-wayland-session";
rev = version;
hash = "sha256-5WdfwJ89HWlXL6y9Lpgs7H3mbN/wbf+9VbP9ERPasBM=";
};

nativeBuildInputs = [
cmake
lxqt-build-tools
pkg-config
qttools
];

buildInputs = [
kwindowsystem
liblxqt
libqtxdg
qtsvg
xdg-user-dirs
];

postPatch = ''
substituteInPlace startlxqtwayland.in \
--replace-fail /usr/share/X11/xkb/rules ${xkeyboard_config}/share/X11/xkb/rules
substituteInPlace configurations/{labwc/autostart,lxqt-hyprland.conf,lxqt-wayfire.ini} \
--replace-fail /usr/share/lxqt/wallpapers $out/share/lxqt/wallpapers
'';

dontWrapQtApps = true;

passthru.updateScript = gitUpdater { };

meta = {
homepage = "https://github.com/lxqt/lxqt-wayland-session";
description = "Files needed for the LXQt Wayland Session";
license = with lib.licenses; [
bsd3
cc-by-sa-40
gpl2Only
gpl3Only
lgpl21Only
mit
];
platforms = lib.platforms.linux;
maintainers = lib.teams.lxqt.members;
};
}

0 comments on commit 081c639

Please sign in to comment.