2011-12-10 18:11:37 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, lua, expat, zlib, libjpeg, eina, eet, evas
|
|
|
|
, ecore, embryo }:
|
2011-09-26 23:28:35 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "edje-${version}";
|
2013-02-10 17:23:45 +00:00
|
|
|
version = "1.7.5";
|
2011-09-26 23:28:35 +01:00
|
|
|
src = fetchurl {
|
2012-03-25 14:50:39 +01:00
|
|
|
url = "http://download.enlightenment.org/releases/${name}.tar.bz2";
|
2013-02-10 17:23:45 +00:00
|
|
|
sha256 = "1hsyj46bk94yd9ymf9425pf4ygy36h5gdkg9fhf8qds8cnn2kcy7";
|
2011-09-26 23:28:35 +01:00
|
|
|
};
|
2011-12-10 18:11:37 +00:00
|
|
|
buildInputs = [ pkgconfig expat zlib libjpeg lua eina eet evas ecore embryo ];
|
2013-02-10 17:23:45 +00:00
|
|
|
patchPhase = ''
|
|
|
|
substituteInPlace src/bin/edje_cc_out.c --replace '%s/embryo_cc' '${embryo}/bin/embryo_cc'
|
|
|
|
substituteInPlace src/bin/edje_cc_out.c --replace 'eina_prefix_bin_get(pfx),' ""
|
|
|
|
'';
|
2011-09-26 23:28:35 +01:00
|
|
|
meta = {
|
|
|
|
description = "Enlightenment's abstract GUI layout and animation object library";
|
|
|
|
longDescription = ''
|
|
|
|
Enlightenment's Edje is a complex graphical design & layout
|
|
|
|
library based on Evas that provides an abstraction layer between
|
|
|
|
the application code and the interface, while allowing extremely
|
|
|
|
flexible dynamic layouts and animations.
|
|
|
|
|
|
|
|
In more popular terms, Edje makes every application that uses it
|
|
|
|
"skinable".
|
|
|
|
'';
|
|
|
|
homepage = http://enlightenment.org/;
|
|
|
|
license = stdenv.lib.licenses.bsd2; # not sure
|
|
|
|
};
|
|
|
|
}
|