2016-08-22 23:46:56 +01:00
|
|
|
{ stdenv, fetchurl, efl, automake, autoconf, libtool, pkgconfig, gst_all_1
|
2014-12-19 12:52:39 +00:00
|
|
|
, makeWrapper, lib }:
|
2016-08-22 23:46:56 +01:00
|
|
|
|
2014-12-19 12:52:39 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "rage-${version}";
|
2016-08-22 23:46:56 +01:00
|
|
|
version = "0.2.0";
|
|
|
|
|
2014-12-19 12:52:39 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "http://download.enlightenment.org/rel/apps/rage/${name}.tar.gz";
|
2016-08-22 23:46:56 +01:00
|
|
|
sha256 = "06fxhznwbd5x341r8ml3cpwmvwn0aq9i1akcgclk4vjdqiyff1d9";
|
2014-12-19 12:52:39 +00:00
|
|
|
};
|
2016-08-22 23:46:56 +01:00
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
automake autoconf libtool pkgconfig makeWrapper
|
|
|
|
];
|
|
|
|
|
|
|
|
NIX_CFLAGS_COMPILE = [
|
|
|
|
"-I${efl}/include/ecore-con-1"
|
|
|
|
"-I${efl}/include/ecore-evas-1"
|
|
|
|
"-I${efl}/include/ecore-file-1"
|
|
|
|
"-I${efl}/include/ecore-imf-1"
|
|
|
|
"-I${efl}/include/ecore-input-1"
|
|
|
|
"-I${efl}/include/eet-1"
|
|
|
|
"-I${efl}/include/efreet-1"
|
|
|
|
"-I${efl}/include/eldbus-1"
|
|
|
|
"-I${efl}/include/emile-1"
|
|
|
|
"-I${efl}/include/eo-1"
|
|
|
|
"-I${efl}/include/ethumb-1"
|
|
|
|
"-I${efl}/include/ethumb-client-1"
|
|
|
|
];
|
|
|
|
|
2016-04-13 13:37:09 +01:00
|
|
|
buildInputs = [
|
2016-08-22 23:46:56 +01:00
|
|
|
efl
|
2016-04-13 13:37:09 +01:00
|
|
|
gst_all_1.gstreamer
|
2014-12-19 12:52:39 +00:00
|
|
|
gst_all_1.gst-plugins-base
|
|
|
|
gst_all_1.gst-plugins-good
|
2015-01-13 11:03:27 +00:00
|
|
|
gst_all_1.gst-plugins-bad
|
2016-04-13 13:37:09 +01:00
|
|
|
gst_all_1.gst-libav
|
|
|
|
];
|
|
|
|
|
2014-12-19 12:52:39 +00:00
|
|
|
configurePhase = ''
|
|
|
|
./autogen.sh --prefix=$out
|
|
|
|
'';
|
2016-04-13 13:37:09 +01:00
|
|
|
|
2014-12-19 12:52:39 +00:00
|
|
|
postInstall = ''
|
|
|
|
wrapProgram $out/bin/rage \
|
2016-04-13 13:37:09 +01:00
|
|
|
--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0"
|
2014-12-19 12:52:39 +00:00
|
|
|
'';
|
2016-08-22 23:46:56 +01:00
|
|
|
|
2014-12-19 12:52:39 +00:00
|
|
|
meta = {
|
|
|
|
description = "Video + Audio player along the lines of mplayer";
|
|
|
|
homepage = http://enlightenment.org/;
|
2015-05-16 15:42:40 +01:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ matejc ftrvxmtrx ];
|
2014-12-19 12:52:39 +00:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
license = stdenv.lib.licenses.bsd2;
|
|
|
|
};
|
|
|
|
}
|