2016-03-12 02:43:40 +03:00
|
|
|
{ stdenv, fetchurl, elementary, efl, automake, autoconf, libtool, pkgconfig, gst_all_1
|
2014-12-19 15:52:39 +03:00
|
|
|
, makeWrapper, lib }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "rage-${version}";
|
2015-05-16 17:42:40 +03:00
|
|
|
version = "0.1.4";
|
2014-12-19 15:52:39 +03:00
|
|
|
src = fetchurl {
|
|
|
|
url = "http://download.enlightenment.org/rel/apps/rage/${name}.tar.gz";
|
2015-05-16 17:42:40 +03:00
|
|
|
sha256 = "10j3n8crk16jzqz2hn5djx6vms5f6x83qyiaphhqx94h9dgv2mgg";
|
2014-12-19 15:52:39 +03:00
|
|
|
};
|
2016-04-13 15:37:09 +03:00
|
|
|
buildInputs = [
|
|
|
|
elementary efl automake autoconf libtool pkgconfig
|
|
|
|
makeWrapper
|
|
|
|
gst_all_1.gstreamer
|
2014-12-19 15:52:39 +03:00
|
|
|
gst_all_1.gst-plugins-base
|
|
|
|
gst_all_1.gst-plugins-good
|
2015-01-13 14:03:27 +03:00
|
|
|
gst_all_1.gst-plugins-bad
|
2016-04-13 15:37:09 +03:00
|
|
|
gst_all_1.gst-libav
|
|
|
|
];
|
|
|
|
|
2014-12-19 15:52:39 +03:00
|
|
|
configurePhase = ''
|
|
|
|
./autogen.sh --prefix=$out
|
|
|
|
'';
|
2016-04-13 15:37:09 +03:00
|
|
|
|
2014-12-19 15:52:39 +03:00
|
|
|
postInstall = ''
|
|
|
|
wrapProgram $out/bin/rage \
|
2016-04-13 15:37:09 +03:00
|
|
|
--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0"
|
2014-12-19 15:52:39 +03:00
|
|
|
'';
|
|
|
|
meta = {
|
|
|
|
description = "Video + Audio player along the lines of mplayer";
|
|
|
|
homepage = http://enlightenment.org/;
|
2015-05-16 17:42:40 +03:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ matejc ftrvxmtrx ];
|
2014-12-19 15:52:39 +03:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
license = stdenv.lib.licenses.bsd2;
|
|
|
|
};
|
|
|
|
}
|