2012-12-02 11:42:55 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, wayland, mesa90x, libxkbcommon, pixman
|
2013-01-28 18:45:07 +00:00
|
|
|
, cairo, libxcb, libXcursor, x11, udev, libdrm2_4_40, mtdev
|
2012-12-07 11:10:14 +00:00
|
|
|
, libjpeg, pam, autoconf, automake, libtool }:
|
2012-12-02 11:42:55 +00:00
|
|
|
|
2013-02-18 18:57:27 +00:00
|
|
|
let version = "1.0.5"; in
|
2012-12-02 11:42:55 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "weston-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://wayland.freedesktop.org/releases/${name}.tar.xz";
|
2013-02-18 18:57:27 +00:00
|
|
|
sha256 = "0g2k82pnlxl8b70ykazj7kn8xffjfsmgcgx427qdrm4083z2hgm0";
|
2012-12-02 11:42:55 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ pkgconfig wayland mesa90x libxkbcommon pixman
|
2013-01-28 18:45:07 +00:00
|
|
|
cairo libxcb libXcursor x11 udev libdrm2_4_40 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
|
|
|
|
2012-12-07 11:28:35 +00:00
|
|
|
# prevent install target to chown root weston-launch, which fails
|
|
|
|
configureFlags = ''
|
|
|
|
--disable-setuid-install
|
|
|
|
'';
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|