summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaka Hudoklin <jakahudoklin@gmail.com>2014-12-20 11:51:08 +0100
committerJaka Hudoklin <jakahudoklin@gmail.com>2014-12-20 11:51:08 +0100
commit3b78f922ba55cd2ee6e68435a6f615387781359d (patch)
tree56b9af4823b35b4dad006b4271ec977d7f8f517b
parentca850deb9ed863ea0311cf3f90e7577c70c48105 (diff)
parent6616979638b49b08ae95154024ad61f3ab965d0f (diff)
Merge pull request #5396 from matejc/rage
rage: add enlightenment's own video/audio player
-rw-r--r--pkgs/desktops/e19/default.nix1
-rw-r--r--pkgs/desktops/e19/rage.nix45
2 files changed, 46 insertions, 0 deletions
diff --git a/pkgs/desktops/e19/default.nix b/pkgs/desktops/e19/default.nix
index 5740337a11a1..9c862734dcc1 100644
--- a/pkgs/desktops/e19/default.nix
+++ b/pkgs/desktops/e19/default.nix
@@ -22,5 +22,6 @@ rec {
#### APPLICATIONS
econnman = callPackage ./econnman.nix { };
terminology = callPackage ./terminology.nix { };
+ rage = callPackage ./rage.nix { };
}
diff --git a/pkgs/desktops/e19/rage.nix b/pkgs/desktops/e19/rage.nix
new file mode 100644
index 000000000000..6cb6d3d24e83
--- /dev/null
+++ b/pkgs/desktops/e19/rage.nix
@@ -0,0 +1,45 @@
+{ stdenv, fetchurl, e19, automake, autoconf, libtool, pkgconfig, gst_all_1
+, makeWrapper, lib }:
+stdenv.mkDerivation rec {
+ name = "rage-${version}";
+ version = "0.1.0";
+ src = fetchurl {
+ url = "http://download.enlightenment.org/rel/apps/rage/${name}.tar.gz";
+ sha256 = "0d87n0rl24s7b8y3bdcg6i3yrzhil5f5vmgrmh451i4y38k84swk";
+ };
+ buildInputs = [ e19.elementary e19.efl automake autoconf libtool pkgconfig
+ makeWrapper ];
+ NIX_CFLAGS_COMPILE = [ "-I${e19.efl}/include/evas-1"
+ "-I${e19.efl}/include/ecore-1"
+ "-I${e19.efl}/include/eina-1"
+ "-I${e19.efl}/include/eina-1/eina"
+ "-I${e19.efl}/include/eet-1"
+ "-I${e19.efl}/include/eo-1"
+ "-I${e19.efl}/include/ecore-evas-1"
+ "-I${e19.efl}/include/ecore-imf-1"
+ "-I${e19.efl}/include/ecore-con-1"
+ "-I${e19.efl}/include/ecore-file-1"
+ "-I${e19.efl}/include/ecore-input-1"
+ "-I${e19.efl}/include/eldbus-1"
+ "-I${e19.efl}/include/efreet-1"
+ "-I${e19.efl}/include/ethumb-client-1"
+ "-I${e19.efl}/include/ethumb-1" ];
+ GST_PLUGIN_PATH = lib.makeSearchPath "lib/gstreamer-1.0" [
+ gst_all_1.gst-plugins-base
+ gst_all_1.gst-plugins-good
+ gst_all_1.gst-plugins-bad ];
+ 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/;
+ maintainers = with stdenv.lib.maintainers; [ matejc ];
+ platforms = stdenv.lib.platforms.linux;
+ license = stdenv.lib.licenses.bsd2;
+ };
+}