2014-12-19 13:52:39 +01:00
|
|
|
{ stdenv, fetchurl, e19, automake, autoconf, libtool, pkgconfig, gst_all_1
|
|
|
|
, makeWrapper, lib }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "rage-${version}";
|
2015-04-09 17:24:41 +02:00
|
|
|
version = "0.1.1";
|
2014-12-19 13:52:39 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "http://download.enlightenment.org/rel/apps/rage/${name}.tar.gz";
|
2015-04-09 17:40:07 +02:00
|
|
|
sha256 = "0jdhbzmnvl0i2zzmjs1wgvxmnv0lm76k7h5llbb8ai34xh4yp3fi";
|
2014-12-19 13:52:39 +01:00
|
|
|
};
|
|
|
|
buildInputs = [ e19.elementary e19.efl automake autoconf libtool pkgconfig
|
|
|
|
makeWrapper ];
|
|
|
|
NIX_CFLAGS_COMPILE = [ "-I${e19.efl}/include/evas-1"
|
|
|
|
"-I${e19.efl}/include/ecore-1"
|
|
|
|
"-I${e19.efl}/include/eina-1"
|
|
|
|
"-I${e19.efl}/include/eina-1/eina"
|
|
|
|
"-I${e19.efl}/include/eet-1"
|
|
|
|
"-I${e19.efl}/include/eo-1"
|
|
|
|
"-I${e19.efl}/include/ecore-evas-1"
|
|
|
|
"-I${e19.efl}/include/ecore-imf-1"
|
|
|
|
"-I${e19.efl}/include/ecore-con-1"
|
|
|
|
"-I${e19.efl}/include/ecore-file-1"
|
|
|
|
"-I${e19.efl}/include/ecore-input-1"
|
|
|
|
"-I${e19.efl}/include/eldbus-1"
|
|
|
|
"-I${e19.efl}/include/efreet-1"
|
|
|
|
"-I${e19.efl}/include/ethumb-client-1"
|
|
|
|
"-I${e19.efl}/include/ethumb-1" ];
|
|
|
|
GST_PLUGIN_PATH = lib.makeSearchPath "lib/gstreamer-1.0" [
|
|
|
|
gst_all_1.gst-plugins-base
|
|
|
|
gst_all_1.gst-plugins-good
|
2015-01-13 12:03:27 +01:00
|
|
|
gst_all_1.gst-plugins-bad
|
|
|
|
gst_all_1.gst-libav ];
|
2014-12-19 13:52:39 +01:00
|
|
|
configurePhase = ''
|
|
|
|
./autogen.sh --prefix=$out
|
|
|
|
'';
|
|
|
|
postInstall = ''
|
|
|
|
wrapProgram $out/bin/rage \
|
|
|
|
--prefix GST_PLUGIN_PATH : "$GST_PLUGIN_PATH"
|
|
|
|
'';
|
|
|
|
meta = {
|
|
|
|
description = "Video + Audio player along the lines of mplayer";
|
|
|
|
homepage = http://enlightenment.org/;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ matejc ];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
license = stdenv.lib.licenses.bsd2;
|
|
|
|
};
|
|
|
|
}
|