2012-12-02 11:42:55 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, wayland, mesa90x, libxkbcommon, pixman
|
|
|
|
, cairo, libxcb, libXcursor, x11, udev, libdrm2_4_39, mtdev
|
2012-12-07 11:10:14 +00:00
|
|
|
, libjpeg, pam, autoconf, automake, libtool }:
|
2012-12-02 11:42:55 +00:00
|
|
|
|
|
|
|
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";
|
|
|
|
};
|
|
|
|
|
2012-12-07 11:10:14 +00:00
|
|
|
patches = [
|
|
|
|
./screenshooter-client-protocol_h.patch
|
|
|
|
./makefile.patch
|
|
|
|
];
|
|
|
|
|
2012-12-02 11:42:55 +00:00
|
|
|
buildInputs = [ pkgconfig wayland mesa90x libxkbcommon pixman
|
|
|
|
cairo libxcb libXcursor x11 udev libdrm2_4_39 mtdev
|
2012-12-07 11:10:14 +00:00
|
|
|
libjpeg pam autoconf automake libtool ];
|
|
|
|
|
|
|
|
preConfigure = "autoreconf -vfi";
|
2012-12-02 11:42:55 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Reference implementation of a Wayland compositor";
|
|
|
|
homepage = http://wayland.freedesktop.org/;
|
|
|
|
license = stdenv.lib.licenses.mit;
|
|
|
|
};
|
|
|
|
}
|