lxqt.lxqt-wayland-session: init at 0.1.0

This commit is contained in:
José Romildo 2024-11-07 08:01:56 -03:00
parent 5fff027e31
commit 081c63905b
2 changed files with 72 additions and 0 deletions

View File

@ -29,6 +29,7 @@ let
lxqt-session = callPackage ./lxqt-session {}; lxqt-session = callPackage ./lxqt-session {};
lxqt-sudo = callPackage ./lxqt-sudo {}; lxqt-sudo = callPackage ./lxqt-sudo {};
lxqt-themes = callPackage ./lxqt-themes {}; lxqt-themes = callPackage ./lxqt-themes {};
lxqt-wayland-session = callPackage ./lxqt-wayland-session {};
pavucontrol-qt = callPackage ./pavucontrol-qt {}; pavucontrol-qt = callPackage ./pavucontrol-qt {};
qtermwidget = callPackage ./qtermwidget {}; qtermwidget = callPackage ./qtermwidget {};
@ -114,6 +115,7 @@ let
lxqt-session lxqt-session
lxqt-sudo lxqt-sudo
lxqt-themes lxqt-themes
lxqt-wayland-session
pavucontrol-qt pavucontrol-qt
### CORE 2 ### CORE 2

View File

@ -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;
};
}