2017-12-30 08:58:05 +00:00
|
|
|
{ stdenv, fetchurl, meson, ninja, pkgconfig, efl, gst_all_1, pcre, curl, wrapGAppsHook }:
|
2016-08-22 23:46:56 +01:00
|
|
|
|
2014-12-19 12:52:39 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "rage-${version}";
|
2017-12-30 08:58:05 +00:00
|
|
|
version = "0.3.0";
|
2016-08-22 23:46:56 +01:00
|
|
|
|
2014-12-19 12:52:39 +00:00
|
|
|
src = fetchurl {
|
2017-12-30 08:58:05 +00:00
|
|
|
url = "http://download.enlightenment.org/rel/apps/rage/${name}.tar.xz";
|
|
|
|
sha256 = "0gfzdd4jg78bkmj61yg49w7bzspl5m1nh6agqgs8k7qrq9q26xqy";
|
2014-12-19 12:52:39 +00:00
|
|
|
};
|
2016-08-22 23:46:56 +01:00
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2017-12-30 08:58:05 +00:00
|
|
|
meson
|
|
|
|
ninja
|
2017-08-22 19:54:56 +01:00
|
|
|
(pkgconfig.override { vanilla = true; })
|
2016-09-04 11:25:21 +01:00
|
|
|
wrapGAppsHook
|
2016-08-22 23:46:56 +01:00
|
|
|
];
|
|
|
|
|
2016-09-04 11:25:21 +01: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 19:54:56 +01:00
|
|
|
pcre
|
2017-05-01 22:35:34 +01:00
|
|
|
curl
|
2016-09-04 11:25:21 +01:00
|
|
|
];
|
|
|
|
|
2017-05-01 22:35:34 +01: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 11:25:21 +01: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;
|
|
|
|
};
|
|
|
|
}
|