nixpkgs/pkgs/desktops/enlightenment/rage.nix

42 lines
1.0 KiB
Nix
Raw Normal View History

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
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
src = fetchurl {
2017-12-30 08:58:05 +00:00
url = "http://download.enlightenment.org/rel/apps/rage/${name}.tar.xz";
sha256 = "0gfzdd4jg78bkmj61yg49w7bzspl5m1nh6agqgs8k7qrq9q26xqy";
};
2016-08-22 23:46:56 +01:00
nativeBuildInputs = [
2017-12-30 08:58:05 +00:00
meson
ninja
(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
pcre
curl
2016-09-04 11:25:21 +01:00
];
postInstall = ''
wrapProgram $out/bin/rage --prefix LD_LIBRARY_PATH : ${curl.out}/lib
'';
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 ];
platforms = stdenv.lib.platforms.linux;
license = stdenv.lib.licenses.bsd2;
};
}