Unverified Commit 6a65627a authored by John Titor's avatar John Titor
Browse files

louvre: 2.2.0-1 -> 2.9.0-1

parent 111ed881
Loading
Loading
Loading
Loading
+10 −9
Original line number Diff line number Diff line
@@ -22,16 +22,22 @@
}:
stdenv.mkDerivation (self: {
  pname = "louvre";
  version = "2.2.0-1";
  rev = "v${self.version}";
  hash = "sha256-Ds1TTxHFq0Z88djdpAunhtKAipOCTodKIKOh5oxF568=";
  version = "2.9.0-1";

  src = fetchFromGitHub {
    inherit (self) rev hash;
    owner = "CuarzoSoftware";
    repo = "Louvre";
    rev = "v${self.version}";
    hash = "sha256-0M1Hl5kF8r4iFflkGBb9CWqwzauSZPVKSRNWZKFZC4U=";
  };

  sourceRoot = "${self.src.name}/src";

  postPatch = ''
    substituteInPlace examples/meson.build \
      --replace-fail "/usr/local/share/wayland-sessions" "${placeholder "out"}/share/wayland-sessions"
  '';

  nativeBuildInputs = [
    meson
    ninja
@@ -58,11 +64,6 @@ stdenv.mkDerivation (self: {

  outputs = [ "out" "dev" ];

  preConfigure = ''
    # The root meson.build file is in src/
    cd src
  '';

  meta = {
    description = "C++ library for building Wayland compositors";
    homepage = "https://github.com/CuarzoSoftware/Louvre";