swayfx-unwrapped 0.4 -> 0.5; scenefx 0.1 -> 0.2.1 (#385660)

This commit is contained in:
Masum Reza
2025-03-02 14:04:20 +05:30
committed by GitHub
2 changed files with 8 additions and 16 deletions
+4 -4
View File
@@ -4,7 +4,7 @@
fetchFromGitHub,
meson,
ninja,
wlroots_0_17,
wlroots_0_18,
scdoc,
pkg-config,
wayland,
@@ -21,13 +21,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "scenefx";
version = "0.1";
version = "0.2.1";
src = fetchFromGitHub {
owner = "wlrfx";
repo = "scenefx";
tag = finalAttrs.version;
hash = "sha256-vBmunqXwGbMNiGRd372TdMU4siWhIVYn5RVYne9C7uQ=";
hash = "sha256-BLIADMQwPJUtl6hFBhh5/xyYwLFDnNQz0RtgWO/Ua8s=";
};
strictDeps = true;
@@ -51,7 +51,7 @@ stdenv.mkDerivation (finalAttrs: {
pixman
wayland
wayland-protocols
wlroots_0_17
wlroots_0_18
];
passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
+4 -12
View File
@@ -25,7 +25,7 @@
scenefx,
wayland-scanner,
xcbutilwm,
wlroots_0_17,
wlroots_0_18,
testers,
nixosTests,
# Used by the NixOS module:
@@ -33,7 +33,6 @@
enableXWayland ? true,
systemdSupport ? lib.meta.availableOn stdenv.hostPlatform systemd,
trayEnabled ? systemdSupport,
fetchpatch2,
}:
stdenv.mkDerivation (finalAttrs: {
@@ -45,25 +44,19 @@ stdenv.mkDerivation (finalAttrs: {
;
pname = "swayfx-unwrapped";
version = "0.4";
version = "0.5";
src = fetchFromGitHub {
owner = "WillPower3309";
repo = "swayfx";
tag = finalAttrs.version;
hash = "sha256-VT+JjQPqCIdtaLeSnRiZ3rES0KgDJR7j5Byxr+d6oRg=";
hash = "sha256-gdab7zkjp/S7YVCP1t/OfOdUXZRwNvNSuRFGWEJScF8=";
};
patches =
[
./load-configuration-from-etc.patch
(fetchpatch2 {
# fix missing switch statement for newer libinput
url = "https://github.com/swaywm/sway/pull/8470.patch?full_index=1";
hash = "sha256-UTZ2DNEsGi5RYrgZThHkYz3AnnIl/KxieinA1WUZRq4=";
})
(replaceVars ./fix-paths.patch {
inherit swaybg;
})
@@ -105,7 +98,7 @@ stdenv.mkDerivation (finalAttrs: {
scenefx
wayland
wayland-protocols
(wlroots_0_17.override { inherit (finalAttrs) enableXWayland; })
(wlroots_0_18.override { inherit (finalAttrs) enableXWayland; })
] ++ lib.optionals finalAttrs.enableXWayland [ xcbutilwm ];
mesonFlags =
@@ -122,7 +115,6 @@ stdenv.mkDerivation (finalAttrs: {
in
[
(mesonOption "sd-bus-provider" sd-bus-provider)
(mesonEnable "xwayland" finalAttrs.enableXWayland)
(mesonEnable "tray" finalAttrs.trayEnabled)
];