a53a7bc0e4
I also removed the screenshooter-client-protocol patch as this was fixed upstream.
36 lines
969 B
Nix
36 lines
969 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.3"; in
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "weston-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "http://wayland.freedesktop.org/releases/${name}.tar.xz";
|
|
sha256 = "0ls8w1l8k9fx0hjlw7qzjb98l911agigf5s2dna3xsjlyv9afdii";
|
|
};
|
|
|
|
patches = [
|
|
./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";
|
|
|
|
# prevent install target to chown root weston-launch, which fails
|
|
configureFlags = ''
|
|
--disable-setuid-install
|
|
'';
|
|
|
|
meta = {
|
|
description = "Reference implementation of a Wayland compositor";
|
|
homepage = http://wayland.freedesktop.org/;
|
|
license = stdenv.lib.licenses.mit;
|
|
};
|
|
}
|