wayfire: 0.7.2 -> 0.7.5

This commit is contained in:
rewine 2023-03-12 02:44:48 +08:00
parent b53a03a132
commit 790f3ca188
No known key found for this signature in database
GPG Key ID: AABB329787290824
2 changed files with 67 additions and 13 deletions

View File

@ -1,33 +1,87 @@
{ lib, stdenv, fetchurl, cmake, meson, ninja, pkg-config
, cairo, doctest, libdrm, libexecinfo, libinput, libjpeg, libxkbcommon, wayland
, wayland-protocols, wf-config, wlroots, mesa
{ lib
, stdenv
, fetchFromGitHub
, cmake
, meson
, ninja
, pkg-config
, wf-config
, cairo
, doctest
, libdrm
, libexecinfo
, libinput
, libjpeg
, libxkbcommon
, wayland
, wayland-protocols
, wayland-scanner
, wlroots
, pango
, xorg
}:
stdenv.mkDerivation rec {
pname = "wayfire";
version = "0.7.2";
version = "0.7.5";
src = fetchurl {
url = "https://github.com/WayfireWM/wayfire/releases/download/v${version}/wayfire-${version}.tar.xz";
sha256 = "1gasijjyfl00zpy6j9hh6qpwv0sw42h9irycbnm693j3vw9mcy66";
src = fetchFromGitHub {
owner = "WayfireWM";
repo = pname;
rev = "v${version}";
fetchSubmodules = true;
sha256 = "sha256-Z+rR9pY244I3i/++XZ4ROIkq3vtzMgcxxHvJNxFD9is=";
};
nativeBuildInputs = [ cmake meson ninja pkg-config wayland ];
nativeBuildInputs = [
meson
ninja
pkg-config
wayland-scanner
];
buildInputs = [
cairo doctest libdrm libexecinfo libinput libjpeg libxkbcommon wayland
wayland-protocols wf-config wlroots mesa
wf-config
libdrm
libexecinfo
libinput
libjpeg
libxkbcommon
wayland-protocols
xorg.xcbutilwm
wayland
cairo
pango
];
propagatedBuildInputs = [
wlroots
];
nativeCheckInputs = [
cmake
doctest
];
# CMake is just used for finding doctest.
dontUseCmakeConfigure = true;
mesonFlags = [ "--sysconfdir" "/etc" ];
doCheck = true;
mesonFlags = [
"--sysconfdir /etc"
"-Duse_system_wlroots=enabled"
"-Duse_system_wfconfig=enabled"
];
passthru.providedSessions = [ "wayfire" ];
meta = with lib; {
homepage = "https://wayfire.org/";
description = "3D Wayland compositor";
license = licenses.mit;
maintainers = with maintainers; [ qyliss wucke13 ];
maintainers = with maintainers; [ qyliss wucke13 rewine ];
platforms = platforms.unix;
};
}

View File

@ -34440,7 +34440,7 @@ with pkgs;
inherit (wayfireApplications) wayfire wcm;
wayfireApplications-unwrapped = recurseIntoAttrs (
(callPackage ../applications/window-managers/wayfire/applications.nix { }).
extend (_: _: { wlroots = wlroots_0_14; })
extend (_: _: { wlroots = wlroots_0_16; })
);
wayfirePlugins = recurseIntoAttrs (
callPackage ../applications/window-managers/wayfire/plugins.nix {