1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 06:01:15 +00:00
nixpkgs/pkgs/desktops/enlightenment/rage.nix
2016-04-13 16:09:40 +03:00

36 lines
1 KiB
Nix

{ stdenv, fetchurl, elementary, efl, automake, autoconf, libtool, pkgconfig, gst_all_1
, makeWrapper, lib }:
stdenv.mkDerivation rec {
name = "rage-${version}";
version = "0.1.4";
src = fetchurl {
url = "http://download.enlightenment.org/rel/apps/rage/${name}.tar.gz";
sha256 = "10j3n8crk16jzqz2hn5djx6vms5f6x83qyiaphhqx94h9dgv2mgg";
};
buildInputs = [
elementary efl automake autoconf libtool pkgconfig
makeWrapper
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
];
configurePhase = ''
./autogen.sh --prefix=$out
'';
postInstall = ''
wrapProgram $out/bin/rage \
--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0"
'';
meta = {
description = "Video + Audio player along the lines of mplayer";
homepage = http://enlightenment.org/;
maintainers = with stdenv.lib.maintainers; [ matejc ftrvxmtrx ];
platforms = stdenv.lib.platforms.linux;
license = stdenv.lib.licenses.bsd2;
};
}