Merge pull request #259755 from wineee/wayfire

wayfire-with-plugins: 0.7.5 -> 0.8.0
This commit is contained in:
Weijia Wang 2023-10-17 09:56:00 +02:00 committed by GitHub
commit 4231696a9d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 33 additions and 10 deletions

View file

@ -10,6 +10,7 @@
, doctest
, libdrm
, libexecinfo
, libevdev
, libinput
, libjpeg
, libxkbcommon
@ -18,19 +19,20 @@
, wayland-scanner
, wlroots
, pango
, nlohmann_json
, xorg
}:
stdenv.mkDerivation (finalAttrs: {
pname = "wayfire";
version = "0.7.5";
version = "0.8.0";
src = fetchFromGitHub {
owner = "WayfireWM";
repo = "wayfire";
rev = "v${finalAttrs.version}";
fetchSubmodules = true;
hash = "sha256-Z+rR9pY244I3i/++XZ4ROIkq3vtzMgcxxHvJNxFD9is=";
hash = "sha256-YI8N1rY71b2ulv7tAdah7sibG4qq3kY0/hyS0cls5to=";
};
nativeBuildInputs = [
@ -44,6 +46,7 @@ stdenv.mkDerivation (finalAttrs: {
wf-config
libdrm
libexecinfo
libevdev
libinput
libjpeg
libxkbcommon
@ -52,6 +55,7 @@ stdenv.mkDerivation (finalAttrs: {
wayland
cairo
pango
nlohmann_json
];
propagatedBuildInputs = [

View file

@ -1,6 +1,7 @@
{ stdenv
, lib
, fetchFromGitHub
, fetchpatch
, meson
, ninja
, pkg-config
@ -8,22 +9,32 @@
, wf-config
, gtkmm3
, gtk-layer-shell
, libevdev
, libinput
, libxkbcommon
, xcbutilwm
}:
stdenv.mkDerivation (finalAttrs: {
pname = "wayfire-plugins-extra";
version = "0.7.5";
version = "0.8.0";
src = fetchFromGitHub {
owner = "WayfireWM";
repo = "wayfire-plugins-extra";
rev = "v${finalAttrs.version}";
fetchSubmodules = true;
hash = "sha256-hnsRwIrl0+pRKhRlrF/Wdlu6HkzLfYukGk4Hzx3wNeo=";
hash = "sha256-OVyP1AgZ1d9DXFkbHnROwtSQIquEX5ccVIkcmCdDZtA=";
};
patches = [
(fetchpatch {
name = "check-dependency-libevdev.patch";
url = "https://github.com/WayfireWM/wayfire-plugins-extra/commit/f3bbf1fcbafd28016e36be7a5043bd82574ac9e4.patch";
hash = "sha256-8X1lpf8H8NuA845cIslahKDQKW/IA/KiMExU4Snk72o=";
})
];
postPatch = ''
substituteInPlace metadata/meson.build \
--replace "wayfire.get_variable(pkgconfig: 'metadatadir')" "join_paths(get_option('prefix'), 'share/wayfire/metadata')"
@ -38,6 +49,8 @@ stdenv.mkDerivation (finalAttrs: {
buildInputs = [
wayfire
wf-config
libevdev
libinput
libxkbcommon
xcbutilwm
gtkmm3

View file

@ -12,20 +12,22 @@
, wayland-scanner
, wayland-protocols
, gtk3
, gtkmm3
, libevdev
, libxml2
, libxkbcommon
}:
stdenv.mkDerivation (finalAttrs: {
pname = "wcm";
version = "0.7.5";
version = "0.8.0";
src = fetchFromGitHub {
owner = "WayfireWM";
repo = "wcm";
rev = "v${finalAttrs.version}";
fetchSubmodules = true;
hash = "sha256-LJR9JGl49o4O6LARofz3jOeAqseGcmzVhMnhk/aobUU=";
hash = "sha256-UwHJ4Wi83ATnA1CQKNSt8Qga7ooLnAY7QARz2FXvUIo=";
};
nativeBuildInputs = [
@ -43,8 +45,10 @@ stdenv.mkDerivation (finalAttrs: {
wayland
wayland-protocols
gtk3
gtkmm3
libevdev
libxml2
libxkbcommon
];
mesonFlags = [

View file

@ -13,13 +13,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "wf-config";
version = "0.7.1";
version = "0.8.0";
src = fetchFromGitHub {
owner = "WayfireWM";
repo = "wf-config";
rev = "v${finalAttrs.version}";
hash = "sha256-ADUBvDJcPYEB9ZvaFIgTfemo1WYwiWgCWX/z2yrEPtA=";
hash = "sha256-4QszCGlJqehnavTOdR2vZ95XuHKiNUIsA893sa9qph8=";
};
nativeBuildInputs = [

View file

@ -11,18 +11,19 @@
, gtkmm3
, gtk-layer-shell
, pulseaudio
, libdbusmenu-gtk3
}:
stdenv.mkDerivation (finalAttrs: {
pname = "wf-shell";
version = "0.7.0";
version = "0.8.0";
src = fetchFromGitHub {
owner = "WayfireWM";
repo = "wf-shell";
rev = "v${finalAttrs.version}";
fetchSubmodules = true;
hash = "sha256-iQUBuNjbZuf51A69RC6NsMHFZCFRv+d9XZ0HtP6OpOA=";
hash = "sha256-K5g9DfFlqZyPHDUswx3vtzh0D9ogOQ1p87ZrqyH35vs=";
};
nativeBuildInputs = [
@ -39,6 +40,7 @@ stdenv.mkDerivation (finalAttrs: {
gtkmm3
gtk-layer-shell
pulseaudio
libdbusmenu-gtk3
];
mesonFlags = [ "--sysconfdir /etc" ];