2016-03-12 00:54:09 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, efl, libcap, automake, autoconf, libdrm, gdbm }:
|
2014-09-15 21:54:02 +02:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "elementary-${version}";
|
2016-05-28 14:54:32 +02:00
|
|
|
version = "1.17.1";
|
2014-09-15 21:54:02 +02:00
|
|
|
src = fetchurl {
|
2016-01-23 23:04:22 +01:00
|
|
|
url = "http://download.enlightenment.org/rel/libs/elementary/${name}.tar.xz";
|
2016-05-28 14:54:32 +02:00
|
|
|
sha256 = "149xjq4z71l44w1kd8zks9b2g0wjc9656w46hzd27b58afj1dqc5";
|
2014-09-15 21:54:02 +02:00
|
|
|
};
|
2016-05-28 14:54:32 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig automake autoconf ];
|
|
|
|
buildInputs = [ efl libdrm gdbm ] ++ stdenv.lib.optionals stdenv.isLinux [ libcap ];
|
2016-04-16 19:35:45 +02:00
|
|
|
NIX_CFLAGS_COMPILE = [ "-I${libdrm.dev}/include/libdrm" ];
|
2015-05-16 16:42:40 +02:00
|
|
|
patches = [ ./elementary.patch ];
|
2014-12-28 11:40:01 +01:00
|
|
|
enableParallelBuilding = true;
|
2014-09-15 21:54:02 +02:00
|
|
|
meta = {
|
|
|
|
description = "Widget set/toolkit";
|
|
|
|
homepage = http://enlightenment.org/;
|
2015-05-16 16:42:40 +02:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ matejc tstrobel ftrvxmtrx ];
|
2014-09-15 21:54:02 +02:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
license = stdenv.lib.licenses.lgpl2;
|
|
|
|
};
|
|
|
|
}
|