ec99d9603c
The patches fix two issues: - screenshooter-client-protocol.h missing from tarball - missing flags for include paths and definitions I had to add auto* as inputs to be able to call autoreconf, as one patch modifies a Makefile.am. Both issues are already reported upstream.
32 lines
887 B
Nix
32 lines
887 B
Nix
{ stdenv, fetchurl, pkgconfig, wayland, mesa90x, libxkbcommon, pixman
|
|
, cairo, libxcb, libXcursor, x11, udev, libdrm2_4_39, mtdev
|
|
, libjpeg, pam, autoconf, automake, libtool }:
|
|
|
|
let version = "1.0.2"; in
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "weston-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "http://wayland.freedesktop.org/releases/${name}.tar.xz";
|
|
sha256 = "1496l8hmpxx7pivdpp14pv0hi30q18dmnaxz471v9jiqsnnrr11k";
|
|
};
|
|
|
|
patches = [
|
|
./screenshooter-client-protocol_h.patch
|
|
./makefile.patch
|
|
];
|
|
|
|
buildInputs = [ pkgconfig wayland mesa90x libxkbcommon pixman
|
|
cairo libxcb libXcursor x11 udev libdrm2_4_39 mtdev
|
|
libjpeg pam autoconf automake libtool ];
|
|
|
|
preConfigure = "autoreconf -vfi";
|
|
|
|
meta = {
|
|
description = "Reference implementation of a Wayland compositor";
|
|
homepage = http://wayland.freedesktop.org/;
|
|
license = stdenv.lib.licenses.mit;
|
|
};
|
|
}
|