2014-12-19 12:52:39 +00:00
|
|
|
{ stdenv, fetchurl, e19, automake, autoconf, libtool, pkgconfig, gst_all_1
|
|
|
|
, makeWrapper, lib }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "rage-${version}";
|
2015-05-16 15:42:40 +01:00
|
|
|
version = "0.1.4";
|
2014-12-19 12:52:39 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "http://download.enlightenment.org/rel/apps/rage/${name}.tar.gz";
|
2015-05-16 15:42:40 +01:00
|
|
|
sha256 = "10j3n8crk16jzqz2hn5djx6vms5f6x83qyiaphhqx94h9dgv2mgg";
|
2014-12-19 12:52:39 +00:00
|
|
|
};
|
|
|
|
buildInputs = [ e19.elementary e19.efl automake autoconf libtool pkgconfig
|
|
|
|
makeWrapper ];
|
|
|
|
GST_PLUGIN_PATH = lib.makeSearchPath "lib/gstreamer-1.0" [
|
|
|
|
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
|
|
|
|
gst_all_1.gst-libav ];
|
2014-12-19 12:52:39 +00: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/;
|
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;
|
|
|
|
};
|
|
|
|
}
|