2017-08-22 18:54:56 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, efl, gst_all_1, pcre, curl, wrapGAppsHook }:
|
2016-08-22 22:46:56 +00:00
|
|
|
|
2014-12-19 12:52:39 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "rage-${version}";
|
2016-09-04 10:25:21 +00:00
|
|
|
version = "0.2.1";
|
2016-08-22 22:46:56 +00:00
|
|
|
|
2014-12-19 12:52:39 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "http://download.enlightenment.org/rel/apps/rage/${name}.tar.gz";
|
2016-09-04 10:25:21 +00:00
|
|
|
sha256 = "0xlxb1hmbnqcy088cqpj2i87hsd5h3da7d2f9afiavz0ssw4ll94";
|
2014-12-19 12:52:39 +00:00
|
|
|
};
|
2016-08-22 22:46:56 +00:00
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2017-08-22 18:54:56 +00:00
|
|
|
(pkgconfig.override { vanilla = true; })
|
2016-09-04 10:25:21 +00:00
|
|
|
wrapGAppsHook
|
2016-08-22 22:46:56 +00:00
|
|
|
];
|
|
|
|
|
2016-09-04 10:25:21 +00:00
|
|
|
buildInputs = [
|
|
|
|
efl
|
|
|
|
gst_all_1.gstreamer
|
|
|
|
gst_all_1.gst-plugins-base
|
|
|
|
gst_all_1.gst-plugins-good
|
|
|
|
gst_all_1.gst-plugins-bad
|
|
|
|
gst_all_1.gst-libav
|
2017-08-22 18:54:56 +00:00
|
|
|
pcre
|
2017-05-01 21:35:34 +00:00
|
|
|
curl
|
2016-09-04 10:25:21 +00:00
|
|
|
];
|
|
|
|
|
2017-05-01 21:35:34 +00:00
|
|
|
postInstall = ''
|
|
|
|
wrapProgram $out/bin/rage --prefix LD_LIBRARY_PATH : ${curl.out}/lib
|
|
|
|
'';
|
|
|
|
|
2014-12-19 12:52:39 +00:00
|
|
|
meta = {
|
|
|
|
description = "Video + Audio player along the lines of mplayer";
|
|
|
|
homepage = http://enlightenment.org/;
|
2016-09-04 10:25:21 +00:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ matejc ftrvxmtrx romildo ];
|
2014-12-19 12:52:39 +00:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
license = stdenv.lib.licenses.bsd2;
|
|
|
|
};
|
|
|
|
}
|